Bug 183988

Summary: cs_CZ glyph substitution for monospace has strange letters in it
Product: [Fedora] Fedora Reporter: Adam Pribyl <covex>
Component: fontconfigAssignee: Behdad Esfahbod <behdad>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: fontconfig-2.4.1-3.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-29 16:40:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
monospace FC5t3
none
monospace_FC4.png none

Description Adam Pribyl 2006-03-04 16:42:22 UTC
Description of problem:
Using monospace font (that is I assume really a bitstream vera sans mono) in
FC5t3 shows letters from either different type of font or the font includes
incorrect characters.

Version-Release number of selected component (if applicable):
bitstream-vera-fonts-1.10-5.1

How reproducible:
Always

Steps to Reproduce:
1. switch to e.g. Czech language locale (cs_CZ.utf8)
2. start gnome-terminal
3. choose Upravit/Profily/Default/Upravit/Pismo: Monospace
(similar you can find under gnome font settings starting gnome-font-properties)
  
Actual results:
See attached image

Expected results:
See attached image

Additional info:
The correct result is shown from FC4 install.

Comment 1 Adam Pribyl 2006-03-04 16:42:22 UTC
Created attachment 125642 [details]
monospace FC5t3

Comment 2 Adam Pribyl 2006-03-04 16:43:55 UTC
Created attachment 125643 [details]
monospace_FC4.png

Comment 3 Caolan McNamara 2006-03-04 17:23:45 UTC
from the terminal what is the output of

> fc-match "Monospace"

?


Comment 4 Adam Pribyl 2006-03-05 07:48:57 UTC
Then I do not understand it - this command says 
> fc-match "Monospace"
n022003l.pfb: "Nimbus Mono L" "Regular"

But when I check box in gnome-terminal to use system terminal font OR I choose
monospace OR choose Bitstream Vera Sans Mono font from menu then in all cases it
clearly shows the incorrect content of Bitstream font. (BTW: FC4 terminal uses
Luxi Mono as monospace, and bitstream vera sans mono also has similar (not same)
strange letters).

The font.conf defines:
<!-- 
  Monospace faces 
 -->
        <alias>
                <family>Bitstream Vera Sans Mono</family>
                <family>Courier</family>
                <family>Courier New</family>
                <family>Andale Mono</family>
                <family>Luxi Mono</family>
                <family>Nimbus Mono L</family>
                <family>NSimSun</family>
                <family>FreeMono</family>
                <default><family>monospace</family></default>
        </alias>
AND
                <family>monospace</family>
                <prefer>
                        <family>Luxi Mono</family>
                        <family>Bitstream Vera Sans Mono</family>
                        <family>Andale Mono</family>
                        <family>Cumberland AMT</family>
                        <family>Courier New</family>
etc.

So to sum it: Definitely Bitstream Vera Sans Mono has some troubles with
accented letters (missing and replaced from Nimbus Mono L?). It is used in gnome
as monospace font even though the fc-match says that monospace should be Nimbus
Mono L.



Comment 5 Adam Pribyl 2006-03-05 16:15:30 UTC
I found this:
Installing xorg-x11-fonts-truetype that contains Luxi* family of fonts and
manualy (!) adding /usr/share/X11/fonts/TTF (adding complete
/usr/share/X11/fonts is not good idea - bitmap fonts are then used e.g. in
Firefox which is really ugly now) into local.conf results in fc-match monospace
saying "luximr.ttf: "Luxi Mono" "Regular".

During digging around I found all fonts from bitstream family have incorrect
letters (substituted from different font?). They are probably not utf8?!

Comment 6 Caolan McNamara 2006-03-05 19:28:41 UTC
Well, looking at it myself in cs_CZ.UTF-8 locale with default configuration in
latest rawhide and everything looks ok.

The Bitstream Vera fonts and others haven't changed content, though your
screenshot does look like Bistream Vera Sans Mono with missing glyphs provided
from Nimbus Mono L, so glyph substitution looks a bit addled. If the problem
persists in current rawhide, it's likely a fontconfig issue

Comment 7 Adam Pribyl 2006-03-05 21:45:41 UTC
I have latest FC5t3 devel packages. It is default desktop instalation with no
system changes (installed en_US, switched to cs_CZ). The only change I did was I
installed Luxi fonts and add them to font.conf (this I did after I found the
strange letters). The result is that letters in Bistream fonts are replaces by
those from Luxi fonts as these are now default Sans, Serif and Monospace.

I'd like to point that I found the same problem is present in FC4 (which is
install all installation).

Comment 8 Adam Pribyl 2007-01-29 16:40:13 UTC
Waste of time reporting.. closing as outdated.