HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Facing different rendering issues after upgrading PD4ML lib › Re: Re: Facing different rendering issues after upgrading PD4ML lib
In the actual version the fallback font list is like that:
[language=java:t1ohf8oy]private static String[] serifFallback = new String[] {
“Times New Roman”,
“MS Mincho”,
“MingLiU”,
“SimSun”,
“Mangal”,
“David”,
“Batang”,
“Lucida Sans Regular”,
“MS Gothic”,
“Gulim”,
“GulimChe”,
“Arial Unicode MS”,
};
private static String[] sansFallback = new String[] {
“Arial”,
“MS Gothic”,
“Yu Gothic”,
“MingLiU”,
“SimSun”,
“Mangal”,
“David”,
“Gulim”,
“Lucida Sans Regular”,
“MS Mincho”,
“Batang”,
“GulimChe”,
“Arial Unicode MS”,
};
private static String[] monoFallback = new String[] {
“Courier New”,
“MS Gothic”,
“MingLiU”,
“MingLiU-ExtB”,
“MingLiU_HKSCS”,
“MingLiU_HKSCS-ExtB”,
“SimSun”,
“Mangal”,
“David”,
“GulimChe”,
“Lucida Sans Regular”,
“MS Mincho”,
“Batang”,
“Gulim”,
“Arial Unicode MS”,
};[/language:t1ohf8oy]
In the most recent PD4ML version “Arial Unicode MS” is added as the “last resort” font.