Description of problem: There's a bug in the Liberation-Mono fonts hosted at https://fedorahosted.org/liberation-fonts The font header of the Liberation-Mono fonts in the liberation-fonts-ttf-1.06.0.20100721.tar.gz file are marked as variable sized fonts. This disallows usage of the Liberation-Mono fonts in Windows applications which deliberately request fixed size fonts, for instance terminal applications. This is not the case with the liberation fonts from Fedora 14, btw. The Liberation-Mono fonts from the F14 package liberation-mono-fonts-1.06.0.20100721-3.fc14.noarch are correctly marked as fixed size fonts. Version-Release number of selected component (if applicable): liberation-fonts-ttf-1.06.0.20100721.tar.gz How reproducible: Steps to Reproduce: 1. Install the liberation-mono fonts under Windows 2. Create a test application $ cat > cf.c <<EOF #include <stdio.h> #include <windows.h> int main () { CHOOSEFONT font; LOGFONT lf; memset (&font, 0, sizeof font); memset (&lf, 0, sizeof lf); font.lStructSize = sizeof font; font.lpLogFont = &lf; if (ChooseFont (&font)) printf ("lfPitchAndFamily = 0x%x\n", font.lpLogFont->lfPitchAndFamily); return 0; } EOF 2. Under Cygwin or MingW: gcc -mwindows cf.c -o cf 3. Run ./cf, choose Liberation Mono as font and press the OK button. Actual results: With the Liberation-Mono fonts from https://fedorahosted.org/liberation-fonts/liberation-fonts-ttf-1.06.0.20100721.tar.gz the output is lfPitchAndFamily = 0x32 The two low-order bits of this value specify the pitch of the font and can be one of DEFAULT_PITCH = 0 FIXED_PITCH = 1 VARIABLE_PITCH = 2 So the font is marked as fixed size font. Expected results: The same test application used with the Liberation-Mono fonts from liberation-mono-fonts-1.06.0.20100721-3.fc14.noarch prints lfPitchAndFamily = 0x31 This is the correct value. So my request is to replace the package https://fedorahosted.org/liberation-fonts/liberation-fonts-ttf-1.06.0.20100721.tar.gz with a new one in which the Liberation-Mono fonts are correctly marked as fixed size fonts. Thanks, Corinna
Uh, I made a typo. I wrote [...] The two low-order bits of this value specify the pitch of the font and can be one of DEFAULT_PITCH = 0 FIXED_PITCH = 1 VARIABLE_PITCH = 2 So the font is marked as fixed size font. The latter should obviously read So the font is marked as *variable* size font. Sorry about that, Corinna
i will do new release with this fix thanks for reporting
Released 1.07.0 version of Liberation fonts http://lists.fedoraproject.org/pipermail/i18n/2011-May/001152.html Surely this will help just give a try.
Release 1.07.0 fixes this issue. Thanks a lot, Corinna