Re: [xep-support] Can specific code points be re-directed to a specific font family?

From: Alexander Peshkov (peshkov@renderx.com)
Date: Mon Aug 02 2004 - 02:34:27 PDT

  • Next message: Alexander Peshkov: "Re: [xep-support] Table causing an out of memory exception."

    Hello Jacques,

    I suppose you mean ≤ (less then or equal) since ≆ is
    quite a different mathematical symbol that has no respective glyph in
    Symbol font.
    You can specify comma-separated list of font names inside font-family
    attribute. In such a case font selection will be governed by
    "font-selection-strategy" property. You can force formatter to
    re-evaluate font selection for every character by setting
    font-selection-strategy="character-by-character". Your example will
    looks like:
      <fo:inline font-family="Courier, Symbol"
                 font-size="10pt"
                 font-selection-strategy="character-by-character">a &#x2264; b</fo:inline>

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX
                 
    DJ> I may be missing something, but if I want to render a portion of text such as:
     
    DJ> <code>a &#x2246; b</code>
     
    DJ> then I am not helped by producing things like:
     
    DJ> <fo:inline font-family="Courier" font-size="10pt">a &#x2246; b</fo:inline>
     
    DJ> as Unicode character 0x2246 (less than or equal to) has to be rendered using the Symbol font (I presume, as only this AFM has a
    DJ> glyph 'lessequal').
     
    DJ> Do I have to take additional measures such as:
     
    DJ> <fo:inline font-family="Courier" font-size="10pt">a <fo:inline font-family="Symbol">&#x2246;</fo:inline> b</fo:inline>
     
    DJ> (which means scanning your character data for specific code points)?
     
    DJ> Or is there a way to impose Symbol (or ZapfDingbats etc.) for _specific_ code points, whatever the current font family happens to
    DJ> be? The etc/fonts.xml file seems to offer no way to do this.
     
    DJ> Best regards,
     
    DJ> --
    DJ> Jacques Deseyne
    DJ> User Documentation Dept.
    DJ> S.W.I.F.T. - Society for Worldwide Interbank Financial Telecommunication
    DJ> Avenue Adèle, 1
    DJ> B-1310 La Hulpe
    DJ> Belgium
    DJ> +32 2 655 3111
    DJ> http://www.swift.com
     
    DJ> This e-mail and any attachments thereto may contain information which is confidential and/or proprietary and are intended for the
    DJ> sole use of the recipient(s) named above. It is not intended to create or affect any contractual arrangements between the parties.
    DJ> If you have received this e-mail in error, please immediately notify the sender and delete the mail. Thank you for your
    DJ> co-operation.

    -------------------
    (*) 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 02 2004 - 02:55:11 PDT