[Pkg-fonts-bugs] Bug#402387: ttf-freefont: FreeMono uses Negreta and Cursiva instead of Bold and Italic/Oblique

Alex Roitman shura at gramps-project.org
Sun Dec 10 09:29:42 CET 2006


On Sun, 2006-12-10 at 08:42 +0100, Christian Perrier wrote:
> These names are localized names. From the SFD file:
> 
> SplineFontDB: 1.0
> FontName: FreeMonoOblique
> FullName: Free Monospaced Oblique
> FamilyName: FreeMono
> Weight: Medium
[snip]
> LangName: 1027 "" "" "Cursiva" "" "Free Mono Cursiva" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1029 "" "" "kurz+AO0A-va" "" "Free Mono kurz+AO0A-va" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1030 "" "" "kursiv" "" "Free Mono kursiv" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1031 "" "" "Kursiv" "" "Free Mono Kursiv" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1032 "" "" "+A6ADuwOsA7MDuQOx" "" "Free Mono +A6ADuwOsA7MDuQOx" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1033 "" "" "" "" "" "" "" "" "" "" "" "" "" "The use of this font is granted subject to GNU General Public License." "http://www.gnu.org/copyleft/gpl.html" "" "" "" "" "The quick brown fox jumps over the lazy dog." 
> LangName: 1034 "" "" "Cursiva" "" "Free Mono Cursiva" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1035 "" "" "Kursivoitu" "" "Free Mono Kursivoitu" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1036 "" "" "Italique" "" "Free Mono Italique" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1038 "" "" "D+AVEA-lt" "" "Free Mono D+AVEA-lt" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1040 "" "" "Corsivo" "" "Free Mono Corsivo" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1043 "" "" "Cursief" "" "Free Mono Cursief" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1044 "" "" "Kursiv" "" "Free Mono Kursiv" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1045 "" "" "Kursywa" "" "Free Mono Kursywa" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1046 "" "" "It+AOEA-lico" "" "Free Mono It+AOEA-lico" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1049 "" "" "+BBoEQwRABEEEOAQy" "" "Free Mono +BBoEQwRABEEEOAQy" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1051 "" "" "Kurz+AO0A-va" "" "Free Mono Kurz+AO0A-va" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1053 "" "" "Kursiv" "" "Free Mono Kursiv" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1055 "" "" "+ATAA-talik" "" "Free Mono +ATAA-talik" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1060 "" "" "le+AX4A-e+AQ0A-e" "" "" "" "" "" "" "" "" "" "" "Dovoljena je uporaba v skladu z licenco GNU General Public License." "http://www.gnu.org/copyleft/gpl.html" "" "" "" "" "+AWAA-erif bo za vajo spet kuhal doma+AQ0A-e +AX4A-gance." 
> LangName: 1066 "" "" "nghi+AOoA-ng" "" "Free Mono nghi+AOoA-ng" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 1069 "" "" "Etzana" "" "Free Mono Etzana" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 2058 "" "" "Cursiva" "" "Free Mono Cursiva" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 2070 "" "" "It+AOEA-lico" "" "Free Mono It+AOEA-lico" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 3082 "" "" "Cursiva" "" "Free Mono Cursiva" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
> LangName: 3084 "" "" "Italique" "" "Free Mono Italique" "" "" "" "" "" "" "" "" "" "http://www.gnu.org/copyleft/gpl.html" 
[snip]
> So, I think we have a feature here, not a bug..:-)...and these
> localized names have always been here...

I must admit that I am ignorant in these font descriptions.
I have no idea what LangName numbers correspond to what
languages.

All I know is that, all of a sudden, the following code
behaves differently than it was a day ago:
   $ python
   >>> import gnomeprint
   >>> for font in gnomeprint.font_list():
   ...     if font.find('FreeMono') != -1:
   ...         print font
   ...
   FreeMono Cursiva
   FreeMono Cursiva
   FreeMono Negreta
   FreeMono Negreta
   FreeMono Negreta cursiva
   FreeMono Negreta cursiva
   FreeMono Normal
   FreeMono Normal

Now that I look at gnomeprint.font_list(), I can see that other fonts
are also returning Negreta and Cursiva, not just ttf-freefont fonts.
So I guess something changed in gnomeprint or its python bindings.

If you have any clues, please feel free to direct me. Otherwise
I will re-assign this bug to gnomeprint's python bindins.

Thanks and sorry for the false alarm,
Alex

-- 
Alexander Roitman   http://www.gramps-project.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-fonts-bugs/attachments/20061210/8e457549/attachment-0001.pgp


More information about the Pkg-fonts-bugs mailing list