This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] want to add extra fonts to docbook -> fo processing


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]