[PATCH:xorg-docs] Add fop.xsl stylesheet to set fonts in ps & pdf output

Gaetan Nadon memsize at videotron.ca
Thu Dec 16 14:22:19 PST 2010

On Thu, 2010-12-16 at 11:27 -0800, Alan Coopersmith wrote:

> Hmm, I thought from reading the docs that the fallback to Times was
> automatic,
> but it appears it needs to be explicit, and has to be done in the
> Symbol entry
> (fop uses the list of fonts in "symbol" for characters not found in
> the single
> font listed in "body).    Does changing the symbol line to this help
> you?
>   <xsl:param name="symbol.font.family">Times,Symbol,GNU
> Unifont</xsl:param>
> I think that should make things for people without DejaVu or Unifont
> no worse
> than the current defaults, unless their distro's fop packages have
> customized
> defaults already

Confirmed. This new param line makes it no worse than it was without
fop.xsl. After that, I installed the unifont package. No change, as
expected, as I have not done the configuration you suggested yet. But at
least it did not break anything.

Any reason not to add those 2 params in xorg.xsl? They would be
available to all docs at a lesser makefile complexity. I was surprised
xmlto would accept more than one -m option.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101216/e9eccf41/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101216/e9eccf41/attachment.pgp>

More information about the xorg-devel mailing list