[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Hello Mirosław,

thanks for your detailed analysis!

Am 11.09.2012 14:19, schrieb Mirosław Zalewski:
Comment: On Arch, only font shown with spaces in name in LibreOffice is
TexGyreBonum. Others are shown without spaces in name. But in KDE System
Settings all are displayed without spaces in names.

The only tex-gyre package that I could find for Arch linux is the following:

http://aur.archlinux.org/packages.php?ID=40619

which obviously only contains the Opentype flavours. No wonder that the fonts do not show up duplicated. ;)

I am out of ideas what can be wrong :( . But I strongly believe that this is
LO fault and we should not provide hacks for this on fontconfig level.

I am not sure about this. Things seem to be wrong in the fonts themselves as well. All the fonts I have checked have different strings for Font Family and Fullname and in addition these differ between Mac and Windows strings, e.g.:

$ fontlint tex-gyre-2.004.1/fonts/opentype/public/tex-gyre/texgyretermes-regular.otf
Copyright (c) 2000-2011 by George Williams.
 Executable based on sources from 23:14 GMT 25-Feb-2011-ML.
 Library based on sources from 13:48 GMT 22-Feb-2011.
Warning: Mac and Windows entries in the 'name' table differ for the
  Family string in the language English (US)
  Mac String: TeX Gyre Termes
  Windows String: TeXGyreTermes
Warning: Mac and Windows entries in the 'name' table differ for the
  Fullname string in the language English (US)
  Mac String: TeX Gyre Termes
  Windows String: TeXGyreTermes-Regular
[...]

No wonder that applications like LO or KDE get confused about this and show the fonts randomly with or without spaces.

 - Fabian


Reply to: