https://bugzilla.novell.com/show_bug.cgi?id=367188
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=367188#c23
--- Comment #23 from Mike Fabian 2008-03-07 08:09:53 MST ---
Felix Miata>
http://lists.freedesktop.org/archives/fontconfig/2008-March/002887.html
Felix Miata> claims a fontconfig solution that seems like it could be
Felix Miata> simpler than patching pfb files, and a template for
Felix Miata> solutions for latent condensed or expanded styles.
Yes, that’s what I ment in comment #5.
It achieves about the same as editing the font files.
Something like this is necessary if fonts are concerned
which cannot be changed because of license reasons.
In the case of the URW fonts, the license permits editing,
i.e. we have both options.
In this case, I think it is slightly better to edit the font files.
I don’t like the fontconfig hack much because:
Using the above hack in fontconfig:
mfabian@magellan:~$ fc-list : family style width | grep Nimbus.*Condensed
Nimbus Sans L Condensed:style=Bold Condensed Italic:width=75
Nimbus Sans L Condensed:style=Regular Condensed Italic:width=75
Nimbus Sans L Condensed:style=Regular Condensed:width=75
Nimbus Sans L Condensed:style=Bold Condensed:width=75
mfabian@magellan:~$
Editing the fonts like Mandriva does:
fabian@magellan:~$ fc-list : family style width | grep Nimbus.*Condensed
Nimbus Sans L Condensed:style=Regular:width=100
Nimbus Sans L Condensed:style=Regular Italic:width=100
Nimbus Sans L Condensed:style=Bold:width=100
Nimbus Sans L Condensed:style=Bold Italic:width=100
mfabian@magellan:~$
Notice the difference in the style names, the above fontconfig hack
doesn’t yet remove the “Condensed” from the style names. Of course
this can be done as well by using 4 fontconfig hacks as above one for
each of the 4 fonts. But where shall this end? I agree
with Nicolas Mailhot here:
http://lists.freedesktop.org/archives/fontconfig/2008-March/002878.html
Nicolas Mailhot> And then change wide narrow ultra-condensed
Nicolas Mailhot> extra-condensed semi-condensed semi-expanded expanded
Nicolas Mailhot> extra-expanded ultra-expanded fonts too to cater for
Nicolas Mailhot> web designers that want the corresponding stretch
Nicolas Mailhot> variants.
I don’t think it is a good idea to pile up such hacks without
limits in the fontconfig setup and maintain this forever.
Changing the fonts seems to make some sense to me because:
The "Nimbus Sans L" font is *intended* to be a replacement for
"Helvetica" (and "Helvetica" clones like "Arial"). Therefore, it
seems reasonable to me that the condensed version of "Nimbus Sans L"
is intended to be a replacement for the condensed version of
"Helvetica". The condensed version is called "Helvetica Narrow" in the
family name and the condensed version of "Arial" is called "Arial
Narrow" in the family name. I.e. look at the "Arial Narrow" which
comes with Windows Vista:
ARIALNBI.TTF: Arial Narrow:style=Bold Italic
ARIALNI.TTF: Arial Narrow:style=Italic
ARIALN.TTF: Arial Narrow:style=Regular
ARIALNB.TTF: Arial Narrow:style=Bold
If "Nimbus Sans L Condensed" is intended to be a replacement for these
fonts, I think it is more reasonable to have the Condensed in the
family name and not in the style name because it is closer to what
"Helvetica Narrow" and "Arial Narrow" do. I.e. original naming scheme
of the condensed version of "Nimbus Sans L" seems like an
unintentional bug to me which is really "fixed" the way Mandriva does
it.
By the way, I agree with most of what Nicolas Mailhot wrote on the
fontconfig list on the above thread.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.