RE: [xep-support] Configuring of font sizes?

From: Chen, Cindy (C)(STP) (Cindy.Chen@guidant.com)
Date: Mon Apr 12 2004 - 07:09:46 PDT

  • Next message: Joy MacNeilly: "[xep-support] recto page with a blank back"

    Hi Alexander,

    Thanks. It helps. I have planned to build the simple table as you described below. But before doing that, We would just like to make sure that we are not missing any functionality XEP provided.

    Thanks,
    Cindy

    -----Original Message-----
    From: Alexander Peshkov [mailto:peshkov@renderx.com]
    Sent: Monday, April 12, 2004 8:21 AM
    To: Chen, Cindy (C)(STP)
    Subject: Re: [xep-support] Configuring of font sizes?

    Hello Cindy,

    XEP does not provide any means to change font sizes associated with
    absolute-size keywords. We calculate them strictly according to
    specification using 12pt as 'medium' and factor of 1.2 to compute
    other values. Therefore XEP table of font sizes looks like this:

    ("xx-small", "6.94pt");
    ("x-small", "8.33pt");
    ("small", "10pt");
    ("medium", "12pt");
    ("large", "14.4pt");
    ("x-large", "17.28pt");
    ("xx-large", "20.74pt");
    ("smaller", "83.3%");
    ("larger", "120%");

    Hope this helps.

    Best regards,
    Alexander Peshkov mailto:peshkov@renderx.com
    RenderX

    CCCS> Hi,

    CCCS> In our product, we are currently use absolute font sizes to maintain the consistensy across different components. I was wondering if there is a way to configure the XEP font table that is used
    CCCS> when converting the absolute font sizes? According to XSL-FO specifications for absolute-size attribute as below, the font table could be computed according to the font family or font quality
    CCCS> and availability. We have a requirement to have a minimum font size for our project which I believe is different than the default xx-small value in the XEP font table. So is there a way just to
    CCCS> set the xx-small size in the font table and let XEP compute the rest of the value in table? If not, we are thinking to have font table of our own and convert the font size to a <length> value
    CCCS> when generating FO. We are thinking to compute the font table in a similar fashion as XEP does. Would you mind sharing some knowledge as how font table is computed in XEP? Is XEP using a
    CCCS> different table or different sc!
    CCCS> aling factors for different font family?
    CCCS> "<absolute-size>
    CCCS> An <absolute-size> keyword refers to an entry in a table of font sizes computed and kept by the user agent. Possible values are:
    CCCS> [ xx-small | x-small | small | medium | large | x-large | xx-large ]
    CCCS> On a computer screen a scaling factor of 1.2 is suggested between adjacent indexes; if the "medium" font is 12pt, the "large" font could be 14.4pt. Different media may
    CCCS> need different scaling factors. Also, the user agent should take the quality and availability of fonts into account when computing the table. The table may be different from one font family to
    CCCS> another. "

    CCCS> Thanks,
    CCCS> Cindy(Jinqiu) Chen
    CCCS> Software Engineer
    CCCS> Tel 651.582.7576

    CCCS> -------------------
    CCCS> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    CCCS> in the body of the message to majordomo@renderx.com from the address
    CCCS> you are subscribed from.
    CCCS> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

    -------------------
    (*) 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

    -------------------
    (*) 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 Apr 12 2004 - 07:20:02 PDT