Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27149

    Hi,

    We are currently using Arialuni.ttf for rendering chinese characters however from time to time we are getting rendering issues for the chinese and is defaulting to (?) question mark.

    I suspect that as the Arialuni.ttf is 20MB it is taking some overhead on the rendering and causing failures.

    is there a way to optimize this approach?

    here is our properties file which we use to embed the TTF:
    Arial=arialuni.ttf
    Serif=arialuni.ttf
    Times New Roman=arialuni.ttf
    SimSun=arialuni.ttf

    Any advise would be much appreciated

    #30060

    Take a look to the TTF fallback tables on the page:
    http://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htm

    In principle you may use the font names (ignoring their original meanings) to define a chain of CJK TTF fonts, to be used to find a particular glyph, missing in the main font:

    [language=java:1nn401ks]MS Gothic=cjk_font_option1.ttf
    MingLiU=cjk_font_option2.ttf
    SimSun=cjk_font_option3.ttf
    Mangal=cjk_font_option4.ttf
    David=cjk_font_option5.ttf
    Gulim=cjk_font_option6.ttf  [/language:1nn401ks]

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.