[XeTeX] Problem with Deja Vu Sans fonts
Khaled Hosny
khaledhosny at eglug.org
Mon Mar 8 22:35:46 CET 2010
On Mon, Mar 08, 2010 at 09:35:52PM +0100, Peter Dyballa wrote:
>
> Am 08.03.2010 um 17:50 schrieb maxwell:
>
> >The DejaVu fonts all sit in a separate directory, which fc-list
> >and XeTeX do find; but in a sister directory to the directory
> >containing
> >the .ttf files are a bunch of font config (*.config) files. That is:
> > fonts/
> > dejavu-fonts-ttf-2.30/
> > ttf/
> > (*.ttf here)
> > config/
> > (*.config here)
> >Is it possible this is preventing FcInit (or fontconfig?) and
> >XeTeX from
> >finding the .config files? How could I tell? (this would not however
> >explain why Word has the same problem)
>
>
> Firstly, your test cases are wrong! The alltt environment changes
> some behaviour significantly. The "minimal" class is better suited
> for proving that a font file or such is faulty.
>
> Libfontconfig does not read any ".config" files. You can prove this
> by running on the command line
>
> fc-list : file | grep config
fc-list lists font files only, not config files. Fontconfig reads
/etc/fonts/fonts.conf (the patch depends on your installation) and any
other files need to be included from it (recursively).
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the XeTeX
mailing list