[Pkg-fonts-devel] Fonts from package misbehave in exported PDF

Norbert Preining preining at logic.at
Sat Sep 15 05:05:08 UTC 2012


Hi Fabian,

thanks for your work on that, I finally had time to look into
it, I was rather busy recently due to a conference I organized.


On Mi, 12 Sep 2012, Fabian Greffrath wrote:
> the attached fontconfig file fixes this issue for good. It tells  
> fontconfig to look for the OpenType fonts in the right directory and  
> rejects all the Type 1 variants (just to play safe, the rejects are  
> based on both font names without spaces and fontformat being "Type 1"). 

THere is one thing I am pondering about for the upload 
after the release of Debian.

We are currently shipping the type1 fonts with family names without
strings in the fonts.scale file (/etc/X11/fonts/Type1/tex-gyre.scale)
qzcmi.pfb -unregistered-TeXGyreChorus-medium-i-normal--0-0-0-0-p-0-iso8859-1
qzcmi.pfb -unregistered-TeXGyreChorus-medium-i-normal--0-0-0-0-p-0-iso8859-15
qagr.pfb -unregistered-TeXGyreAdventor-medium-r-normal--0-0-0-0-p-0-iso8859-1
qagr.pfb -unregistered-TeXGyreAdventor-medium-r-normal--0-0-0-0-p-0-iso8859-15
...

Now I am not convinced what we actually should do:
1* drop type1 fonts completely from X support and only ship OTF fonts
2* keep type1 fonts shipped, but change names to match TeX Gyre Chorus etc
3* only add your fontconfig file and keep the type 1 fonts as they are
4* (just for completeness) do nothing at all ;-)

Since you have currently the deepest insight into the mixture of
fonts etc, do you have a suggestion?



>   <rejectfont>
>    <pattern>
>      <patelt name="family"><string>TeXGyreAdventor</string></patelt>
>      <patelt name="fontformat"><string>Type 1</string></patelt>
>    </pattern>

Is there a way to tell fontconfig to reject all TeX Gyre fonts
with format Type 1 without listing *every font*

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
LIFF (n.)
A book, the contents of which are totally belied by its cover. For
instance, any book the dust jacket of which bears the words. 'This
book will change your life'.
			--- Douglas Adams, The Meaning of Liff



More information about the Pkg-fonts-devel mailing list