Hello, I have install different windows fonts and I''m experiencing the following issue: In mandriva 2005 I have fontconfig 2.3.2 $ fc-list : family file | grep Arial ... /usr/X11R6/lib/X11/fonts/drakfont/ttf/ariblk.ttf: Arial Black ... In fedora 10 I have fontconfig 2.6.0 $ fc-list : family file | grep Arial ... /usr/share/fonts/drakfont/ttf/ariblk.ttf: Arial,Arial Black ... In fedora in open office arial black font is substituted with arial while in mandriva it is substituted with arial black. My question is, why version 2.3.2 sees ariblk.ttf as Arial Black and 2.6.0 as Arial, Arial Black. In a way the Arial Black is being shadowed by Arial. Is there a way to this this ? Thank You !
Le Mer 4 f?vrier 2009 10:13, Nicolae Ghimbovschi a ?crit :> My question is, why version 2.3.2 sees ariblk.ttf as Arial Black and > 2.6.0 as Arial, Arial Black. > In a way the Arial Black is being shadowed by Arial. > Is there a way to this this ?Arial Black is the "Black" weight in the Arial family. So modern fontconfig is right to file it under Arial. The change you see is that in the past, fontconfig only exposed legacy metadata (as in, the only valid faces are regular/bold/bold italic/italic) while now it has been updated to show modern metadata (where many more font faces can exist and you don''t need to kludge them in the font name). This is just keeping up with OpenType standards. -- Nicolas Mailhot
Nicolae Ghimbovschi wrote:> In mandriva 2005 I have fontconfig 2.3.2 > > $ fc-list : family file | grep Arial > ... > /usr/X11R6/lib/X11/fonts/drakfont/ttf/ariblk.ttf: Arial Black > ... > > In fedora 10 I have fontconfig 2.6.0 > > $ fc-list : family file | grep Arial > ... > /usr/share/fonts/drakfont/ttf/ariblk.ttf: Arial,Arial Black > ... > > In fedora in open office arial black font is substituted with arial > while in mandriva it is substituted with arial black. > > My question is, why version 2.3.2 sees ariblk.ttf as Arial Black and > 2.6.0 as Arial, Arial Black.In addition to what Nicolas Mailhot said, older versions of ariblk.ttf (including the version at http://corefonts.sourceforge.net/ I think) do not have the preferred family name "Arial". (I don''t know where the fedora10 version of ariblk.ttf comes from.) "ftdump -n /usr/X11R6/lib/X11/fonts/drakfont/ttf/ariblk.ttf" will list the names in the OpenType name table. There are also some quirks with the order of the family names when there are more than one: % LC_ALL=en fc-list : family file | grep Arial\ Black /usr/local/share/fonts/ariblk.ttf: Arial Black,Arial % LC_ALL=en_US fc-list : family file | grep Arial\ Black /usr/local/share/fonts/ariblk.ttf: Arial,Arial Black
Le jeudi 05 f?vrier 2009 ? 11:27 +1300, Karl Tomlinson a ?crit :> In addition to what Nicolas Mailhot said, older versions of > ariblk.ttf (including the version at > http://corefonts.sourceforge.net/ I think) do not have the > preferred family name "Arial". (I don''t know where the fedora10 > version of ariblk.ttf comes from.)Obviously, we don''t have one, for licensing reasons, that''s something the poster installed on his system separately. -- Nicolas Mailhot -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20090205/5cf48feb/attachment.pgp