[xep-support] line-through with different fonts

Alexander Peshkov peshkov at renderx.com
Tue Jan 20 03:24:01 PST 2004


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 at renderx.com
RenderX


OB> /-------------------------------------------------------------------\
OB> |  ob|do        Dipl.Inf. Oliver Becker                             |
OB> |  --+--        E-Mail: obecker at 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 at 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



More information about the Xep-support mailing list