Re: [xep-support] Mixing Chinese and English fonts

From: Chris Lilley (chris@w3.org)
Date: Sun Aug 29 2004 - 23:46:53 PDT

  • Next message: Jirka Kosek: "[xep-support] Multiline text in SVG doesn't work"

    On Friday, August 6, 2004, 11:19:51 PM, Bob wrote:

    BS> I have XML documents that are primarily Chinese but with occasional English
    BS> words or phrases. The current font we use to render these documents contains
    BS> both Chinese and Latin letters, but the Latin letters are of poor quality.
    BS> We would like to substitute a better font for the English characters.

    BS> I understand that with XSL-FO 1.0 you can provide a comma-separated list of
    BS> font names in the font-family property. However, one cannot designate
    BS> specific characters or ranges to be rendered in the secondary fonts. In
    BS> other words, if a character is found in the primary font, that font will be
    BS> used.

    So, put your preferred Latin font first in the list. That is why it is a
    list. Put your Chinese font second.

    BS> I would like to avoid having to put all the English words within fo:inlines
    BS> to switch fonts. So we are considering using something like Fontographer to
    BS> edit the (open source) Chinese font to remove the Latin characters. I
    BS> believe this will then force XEP to switch to the secondary font-family when
    BS> a Latin character is encountered in the input. Is this a sound strategy?

    No.

    Do your preferred Latin fonts have any Chinese glyphs in them?

    BS> Has anyone attempted this?

    It should not be necessary.

    -- 
     Chris Lilley                    mailto:chris@w3.org
     Chair, W3C SVG Working Group
     Member, W3C Technical Architecture Group
    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
    


    This archive was generated by hypermail 2.1.5 : Mon Aug 30 2004 - 00:02:33 PDT