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

Gaetan Nadon memsize at videotron.ca
Thu Dec 16 09:16:51 PST 2010


On Wed, 2010-12-15 at 15:59 -0800, Alan Coopersmith wrote:

> Since a number of documents, especially the credits section in the
> Release
> Notes, use characters not found in the fop default base PostScript
> fonts,
> add a stylesheet for the fop generated documents to use the free
> DejaVu and
> GNU Unifont fonts which cover a much wider range of characters.
> 

It does not work for me. Without the patch, I notice in the credits
section the first name, which is composed of oriental characters, is
represented with # character. With the patch almost all characters are
repesented with #. I suspect I don't have those fonts installed. I have
some DejaVu fonts installed. There is unifont package which is not
currently installed stating:


         This package is a convenient way to install both the PCF bitmap version and the
         scalable TrueType outline version of GNU Unifont. It also installs a copy of
         unifont.hex and related files in /usr/share/unifont. 
         
         GNU Unifont was designed to render something besides an empty box for each
         visible Unicode character in the Basic Multilingual Plane (Plane 0).  Plane 0
         contains most of the world's modern writing scripts. This font looks best at
         12pt. 
         
         Complex fonts (such as Indic or Semitic scripts, where letters change shape
         depending on their position in a word, or such as Mongolian, which is written
         vertically) will not render perfectly. The philosophy behind this font, though,
         is that anything meaningful is better than an empty box for a unknown glyph.
        Homepage: http://unifoundry.com

Assuming these fonts will correct the situation, we will be facing a
situation where the pdf is totally unreadable if the fonts are not
installed and there is probably no way for the average user to find out
why.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101216/b98ac600/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/b98ac600/attachment.pgp>


More information about the xorg-devel mailing list