Re: [xep-support] line-through with different fonts

From: Alexander Peshkov (peshkov@renderx.com)
Date: Tue Jan 20 2004 - 03:24:01 PST

  • Next message: Oliver Becker: "[xep-support] outside float besides before float"

    Hello Oliver,

    OB> Hello,

    OB> I'm using <fo:inline text-decoration="line-through"> ... </fo:inline>
    OB> to create text that is marked as cancelled.
    OB> Unfortunately if the contents uses different fonts (Courier, Helvetica
    OB> and Times), the result is not a straight line but rather a line that
    OB> has breaks (the parts appear in slightly different vertical positions).
    OB> I suspect this is because each font has its own metric (though the
    OB> font-size is the same).

    Yes, you are right. Line-through cross glyphs at the half X-height.

    OB> Is there anything I can do to produce a straight line?

    Not in this version of XEP.

    OB> (Extended task: the fo:inline above is part of a table cell. Can I strike
    OB> out a whole table row?)

    I don't think it is possible.

    OB> Thanks a lot,
    OB> Oliver

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

    OB> /-------------------------------------------------------------------\
    OB> | ob|do Dipl.Inf. Oliver Becker |
    OB> | --+-- E-Mail: obecker@informatik.hu-berlin.de |
    OB> | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
    OB> \-------------------------------------------------------------------/

    -------------------
    (*) 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 : Tue Jan 20 2004 - 03:29:52 PST