Re: [xep-support] Line-through alignment with embedded TTF

From: David Tolpin (dvd@renderx.com)
Date: Mon Mar 03 2003 - 10:13:27 PST

  • Next message: Sachdeva, Shipra: "[xep-support] problem creating pdf file"

    >
    > When I embed Garamond or BookmanOldStyle fonts then
    > specify line-through in text-decoration, the
    > line-through is above the lowercase letters and
    > slightly above middle on the uppercase letters. Is
    > there a solution to this problem?
    >

    line-through is drawn at the distance of 2/3 of XHeight above
    the baseline. If XHeight is not specified, then XHeight is equal
    to CapHeight. If CapHeight is not specified then CapHeight is
    equal to Ascender.

    There is probably a better approach; I'll check it. To solve the
    problem, modify the font metrics and set XHeight to something meaningful.

    David

    -------------------
    (*) 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 Mar 03 2003 - 10:06:18 PST