This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] want to add extra fonts to docbook -> fo processing
- From: Alexander Peshkov <peshkov at renderx dot com>
- To: "Robert P. J. Day" <rpjday at mindspring dot com>
- Cc: "Robert P. J. Day" <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 28 Jul 2003 12:04:24 +0400
- Subject: Re: [docbook-apps] want to add extra fonts to docbook -> fo processing
- Organization: RenderX
- References: <Pine.LNX.4.53.0307271753240.11933@localhost.localdomain>
- Reply-to: Alex Peshkov <peshkov at renderx dot com>
Hello Robert,
RPJD> at the moment, the default monospace courier just looks too wide and
RPJD> takes up too much space, so i'd like to replace it with the monospace font
RPJD> that o'reilly is using in their newer books -- they list it as
RPJD> "LucasFont's TheSans Mono Condensed." although it appears that that's a
RPJD> commercial font, so i'll take anything resaonably close i don't have to
RPJD> pay for. :-) i just want a monospace font that's noticeably narrower,
RPJD> that's all. so how to go about this?
As a quick workaround you can add following attribute-set in your
customization layer:
<xsl:attribute-set name="monospace.properties">
<xsl:attribute name="font-stretch">semi-condensed</xsl:attribute>
</xsl:attribute-set>
It should make a trick. (It works for XEP, but I don't know if current
version of FOP supports 'font-stretch').
Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org