We have removed .ttc from the Fonts Jar and introduced .ttf Files instead.
Now the conversion works perfectly fine for the first few conversions, after which the converted PDF shows the following inconsistency for the HTML Given below:
Code:
Simplified - Chinese - <font face="KaiTi">人人生而自由,在尊严和权利上一律平等。</font>
Traditional - Chinese - <font face="MingLiU">人人生而自由,在尊嚴和權利上一律平等。</font>
Converted pdf shows KaiTi font being used for Traditional Chinese although the Font face says MaingliU.
Note: Both font mapping are present in .properties file and the Jar has the .ttf files.
It works fine for the first few conversions after which the issue starts to come up although
no code changes are made to the HTML file or CSS.
If I take a restart for the server, things start to work fine again until the inconsistency is again observed. Is there is any incorrect caching or wrong indexing of font file going on ?