[XeTeX] font selection debugging

Vladimir Volovich vvv at vsu.ru
Thu Jul 17 15:24:02 CEST 2008


Hi!

i noticed strange difference with font selection in xetex on two
different PCs having seemingly the same fonts installed.

the test file is:

\font\xxa="ArTarumianGrqiNor_U BoldItalic/I/ICU" at 10pt
\edef\xxb{\fontname\xxa}
\show\xxb

when run on the first PC, i get:

> \xxb=macro:
->"ArTarumianGrqiNor_U BoldItalic/ICU".
l.3 \show\xxb

when run on the secong PC, i get:

> \xxb=macro:
->"ArTarumianGrqiNor_U Bold/ICU".
l.3 \show\xxb

and i don't understand why xetex picks up different fonts on these two
PCs.

on both PCs i get the same output for the "fc-list | grep ArTar" command:

$ fc-list | grep ArTar
ArTarumianGrqiNor_U:style=Regular
ArTarumianGrqiNor_U:style=Italic
ArTarumianGrqiBardzr_U:style=Regular
ArTarumianGrqiNor_U:style=Bold
ArTarumianGrqiNor_U:style=BoldItalic
ArTarumianHeghnar_U:style=Regular

differences between the PCs are:

1) running xetex 0.999.1 (from current texlive Master tree) and fontconfig 2.6.0 on debian sid

2) running xetex 0.997 (compiled on 2008-04-24) and fontconfig-2.4.1-3.fc6

what is the reason for different font pickup? how can it be debugged?
fc-match seems to show the same results for various queries i tried,
e.g.

$ fc-match 'ArTarumianGrqiNor_U:style=BoldItalic'
ArTar_Grqi_bi_U.ttf: "ArTarumianGrqiNor_U" "BoldItalic"

Best,
v.


More information about the XeTeX mailing list