Yesterday I installed the XFt-2 enabled QT. Now running konsole (the kde terminal application) It started out with very wide characters (from arial) This is caused by the fact that the font selection mechanism refuses to match the -misc-fixed-medium-r-* bitmapped font. I've tried out several configurations but none helped (except aliassing to a monospaced font, not arial).
I'll attach a log from starting konsole, and my font.conf file. -- Paul de Vrieze Junior Researcher Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net
XFT_DEBUG=4047 XftFontMatch pattern Pattern 6 of 16 encoding: "iso10646-1" family: "arial" "sans" foundry: "monotype" size: 12 slant: 0 weight: 100 XftFontMatch after FcConfig substitutions Pattern 7 of 16 dpi: 75 encoding: "iso10646-1" family: "arial" "Verdana" "Arial" "Verdana" "Nimbus Sans L" "Luxi Sans" "Arial" "Helvetica" "Kochi Gothic" "AR PL KaitiM GB" "AR PL KaitiM Big5" "Baekmuk Dotum" "SimSun" "sans-serif" "sans-serif" foundry: "monotype" size: 12 slant: 0 weight: 100 XftDisplayInfoGet Default visual 0x23 format 0,16,8,0 XftDisplayInfoGet initialized, hasRender set to "True" global max cache memory 4194304 global max unref fonts 16 XftFontMatch after X resource substitutions Pattern 18 of 32 antialias: FcTrue autohint: FcFalse dpi: 75 encoding: "iso10646-1" family: "arial" "Verdana" "Arial" "Verdana" "Nimbus Sans L" "Luxi Sans" "Arial" "Helvetica" "Kochi Gothic" "AR PL KaitiM GB" "AR PL KaitiM Big5" "Baekmuk Dotum" "SimSun" "sans-serif" "sans-serif" foundry: "monotype" globaladvance: FcTrue hinting: FcTrue maxglyphmemory: 1048576 minspace: FcFalse pixelsize: 12.5 render: FcTrue rgba: 0 scale: 1 size: 12 slant: 0 verticallayout: FcFalse weight: 100 XftFontMatch result Pattern 25 of 32 antialias: FcFalse autohint: FcFalse charset: set dpi: 75 encoding: "iso10646-1" family: "Arial" file: "/usr/X11R6/lib/X11/fonts/truetype/arial.ttf" foundry: "monotype" globaladvance: FcTrue hinting: FcTrue index: 0 lang: langset maxglyphmemory: 1048576 minspace: FcFalse outline: FcTrue pixelsize: 12.5 render: FcTrue rgba: 0 scalable: FcTrue scale: 1 size: 12 slant: 0 style: "Regular" verticallayout: FcFalse weight: 100 XftFontInfoFill: /usr/X11R6/lib/X11/fonts/truetype/arial.ttf: 0 (12.5 pixels) New font /usr/X11R6/lib/X11/fonts/truetype/arial.ttf/0 size 12x12 XftFontMatch pattern Pattern 5 of 16 encoding: "iso10646-1" family: "fixed" "sans" size: 12 slant: 0 weight: 100 XftFontMatch after FcConfig substitutions Pattern 6 of 16 dpi: 75 encoding: "iso10646-1" family: "fixed" "Arial" "Verdana" "Nimbus Sans L" "Luxi Sans" "Arial" "Helvetica" "Kochi Gothic" "AR PL KaitiM GB" "AR PL KaitiM Big5" "Baekmuk Dotum" "SimSun" "sans-serif" size: 12 slant: 0 weight: 100 XftFontMatch after X resource substitutions Pattern 17 of 32 antialias: FcTrue autohint: FcFalse dpi: 75 encoding: "iso10646-1" family: "fixed" "Arial" "Verdana" "Nimbus Sans L" "Luxi Sans" "Arial" "Helvetica" "Kochi Gothic" "AR PL KaitiM GB" "AR PL KaitiM Big5" "Baekmuk Dotum" "SimSun" "sans-serif" globaladvance: FcTrue hinting: FcTrue maxglyphmemory: 1048576 minspace: FcFalse pixelsize: 12.5 render: FcTrue rgba: 0 scale: 1 size: 12 slant: 0 verticallayout: FcFalse weight: 100 XftFontMatch result Pattern 24 of 32 antialias: FcFalse autohint: FcFalse charset: set dpi: 75 encoding: "iso10646-1" family: "Arial" file: "/usr/X11R6/lib/X11/fonts/truetype/arial.ttf" globaladvance: FcTrue hinting: FcTrue index: 0 lang: langset maxglyphmemory: 1048576 minspace: FcFalse outline: FcTrue pixelsize: 12.5 render: FcTrue rgba: 0 scalable: FcTrue scale: 1 size: 12 slant: 0 style: "Regular" verticallayout: FcFalse weight: 100 XftFontInfoFill: /usr/X11R6/lib/X11/fonts/truetype/arial.ttf: 0 (12.5 pixels) Caching glyph 0x3 size 20 Caching glyph 0x4 size 60 Caching glyph 0x5 size 32 Caching glyph 0x6 size 60 Caching glyph 0x7 size 64 Caching glyph 0x8 size 60 Caching glyph 0x9 size 60 Caching glyph 0xa size 32 Caching glyph 0xb size 72 Caching glyph 0xc size 72 Caching glyph 0xd size 36 Caching glyph 0xe size 48 Caching glyph 0xf size 32 Caching glyph 0x10 size 24 Caching glyph 0x11 size 24 Caching glyph 0x12 size 60 Caching glyph 0x13 size 60 Caching glyph 0x14 size 60 Caching glyph 0x15 size 60 Caching glyph 0x16 size 60 Caching glyph 0x17 size 60 Caching glyph 0x18 size 60 Caching glyph 0x19 size 60 Caching glyph 0x1a size 60 Caching glyph 0x1b size 60 Caching glyph 0x1c size 60 Caching glyph 0x1d size 48 Caching glyph 0x1e size 56 Caching glyph 0x1f size 48 Caching glyph 0x20 size 36 Caching glyph 0x21 size 48 Caching glyph 0x22 size 60 Caching glyph 0x23 size 72 Caching glyph 0x24 size 60 Caching glyph 0x25 size 60 Caching glyph 0x26 size 60 Caching glyph 0x27 size 60 Caching glyph 0x28 size 60 Caching glyph 0x29 size 60 Caching glyph 0x2a size 60 Caching glyph 0x2b size 60 Caching glyph 0x2c size 60 Caching glyph 0x2d size 60 Caching glyph 0x2e size 60 Caching glyph 0x2f size 60 Caching glyph 0x30 size 60 Caching glyph 0x31 size 60 Caching glyph 0x32 size 60 Caching glyph 0x33 size 60 Caching glyph 0x34 size 64 Caching glyph 0x35 size 60 Caching glyph 0x36 size 60 Caching glyph 0x37 size 60 Caching glyph 0x38 size 60 Caching glyph 0x39 size 60 Caching glyph 0x3a size 60 Caching glyph 0x3b size 60 Caching glyph 0x3c size 60 Caching glyph 0x3d size 60 Caching glyph 0x3e size 72 Caching glyph 0x3f size 60 Caching glyph 0x40 size 72 Caching glyph 0x41 size 40 Caching glyph 0x42 size 24 Caching glyph 0x43 size 28 Caching glyph 0x44 size 48 Caching glyph 0x45 size 60 Caching glyph 0x46 size 48 Caching glyph 0x47 size 60 Caching glyph 0x48 size 48 Caching glyph 0x49 size 60 Caching glyph 0x4a size 60 Caching glyph 0x4b size 60 Caching glyph 0x4c size 60 Caching glyph 0x4d size 72 Caching glyph 0x4e size 60 Caching glyph 0x4f size 60 Caching glyph 0x50 size 48 Caching glyph 0x51 size 48 Caching glyph 0x52 size 48 Caching glyph 0x53 size 60 Caching glyph 0x54 size 60 Caching glyph 0x55 size 48 Caching glyph 0x56 size 48 Caching glyph 0x57 size 60 Caching glyph 0x58 size 48 Caching glyph 0x59 size 48 Caching glyph 0x5a size 48 Caching glyph 0x5b size 48 Caching glyph 0x5c size 60 Caching glyph 0x5d size 48 Caching glyph 0x5e size 72 Caching glyph 0x5f size 68 Caching glyph 0x60 size 72 Caching glyph 0x61 size 32 XftFontMatch pattern Pattern 6 of 16 encoding: "iso10646-1" family: "fixed" "sans" pixelsize: 13 slant: 0 spacing: 100 weight: 100 XftFontMatch after FcConfig substitutions Pattern 7 of 16 dpi: 75 encoding: "iso10646-1" family: "fixed" "Lucida Console" "Terminal" "Arial" "Verdana" "Nimbus Sans L" "Luxi Sans" "Arial" "Helvetica" "Kochi Gothic" "AR PL KaitiM GB" "AR PL KaitiM Big5" "Baekmuk Dotum" "SimSun" "sans-serif" pixelsize: 13 slant: 0 spacing: 100 weight: 100 XftFontMatch after X resource substitutions Pattern 17 of 32 antialias: FcTrue autohint: FcFalse dpi: 75 encoding: "iso10646-1" family: "fixed" "Lucida Console" "Terminal" "Arial" "Verdana" "Nimbus Sans L" "Luxi Sans" "Arial" "Helvetica" "Kochi Gothic" "AR PL KaitiM GB" "AR PL KaitiM Big5" "Baekmuk Dotum" "SimSun" "sans-serif" globaladvance: FcTrue hinting: FcTrue maxglyphmemory: 1048576 minspace: FcFalse pixelsize: 13 render: FcTrue rgba: 0 scale: 1 slant: 0 spacing: 100 verticallayout: FcFalse weight: 100 XftFontMatch result Pattern 24 of 32 antialias: FcFalse autohint: FcFalse charset: set dpi: 75 encoding: "iso10646-1" family: "Lucida Console" file: "/usr/X11R6/lib/X11/fonts/truetype/lucon.ttf" globaladvance: FcTrue hinting: FcTrue index: 0 lang: langset maxglyphmemory: 1048576 minspace: FcFalse outline: FcTrue pixelsize: 13 render: FcTrue rgba: 0 scalable: FcTrue scale: 1 slant: 0 spacing: 100 style: "Regular" verticallayout: FcFalse weight: 100 XftFontInfoFill: /usr/X11R6/lib/X11/fonts/truetype/lucon.ttf: 0 (13 pixels) New font /usr/X11R6/lib/X11/fonts/truetype/lucon.ttf/0 size 13x13 Caching glyph 0x3 size 20 Caching glyph 0x4 size 56 Caching glyph 0x5 size 32 Caching glyph 0x6 size 56 Caching glyph 0x7 size 64 Caching glyph 0x8 size 56 Caching glyph 0x9 size 56 Caching glyph 0xa size 32 Caching glyph 0xb size 68 Caching glyph 0xc size 68 Caching glyph 0xd size 40 Caching glyph 0xe size 48 Caching glyph 0xf size 36 Caching glyph 0x10 size 24 Caching glyph 0x11 size 28 Caching glyph 0x12 size 68 Caching glyph 0x13 size 56 Caching glyph 0x14 size 56 Caching glyph 0x15 size 56 Caching glyph 0x16 size 56 Caching glyph 0x17 size 56 Caching glyph 0x18 size 56 Caching glyph 0x19 size 56 Caching glyph 0x1a size 56 Caching glyph 0x1b size 56 Caching glyph 0x1c size 56 Caching glyph 0x1d size 48 Caching glyph 0x1e size 56 Caching glyph 0x1f size 48 Caching glyph 0x20 size 32 Caching glyph 0x21 size 48 Caching glyph 0x22 size 56 Caching glyph 0x23 size 56 Caching glyph 0x24 size 52 Caching glyph 0x25 size 52 Caching glyph 0x26 size 52 Caching glyph 0x27 size 52 Caching glyph 0x28 size 52 Caching glyph 0x29 size 52 Caching glyph 0x2a size 52 Caching glyph 0x2b size 52 Caching glyph 0x2c size 52 Caching glyph 0x2d size 52 Caching glyph 0x2e size 52 Caching glyph 0x2f size 52 Caching glyph 0x30 size 52 Caching glyph 0x31 size 52 Caching glyph 0x32 size 52 Caching glyph 0x33 size 52 Caching glyph 0x34 size 60 Caching glyph 0x35 size 52 Caching glyph 0x36 size 52 Caching glyph 0x37 size 52 Caching glyph 0x38 size 52 Caching glyph 0x39 size 52 Caching glyph 0x3a size 52 Caching glyph 0x3b size 52 Caching glyph 0x3c size 52 Caching glyph 0x3d size 52 Caching glyph 0x3e size 68 Caching glyph 0x3f size 68 Caching glyph 0x40 size 68 Caching glyph 0x41 size 48 Caching glyph 0x42 size 24 Caching glyph 0x43 size 28 Caching glyph 0x44 size 48 Caching glyph 0x45 size 60 Caching glyph 0x46 size 48 Caching glyph 0x47 size 60 Caching glyph 0x48 size 48 Caching glyph 0x49 size 60 Caching glyph 0x4a size 60 Caching glyph 0x4b size 60 Caching glyph 0x4c size 60 Caching glyph 0x4d size 72 Caching glyph 0x4e size 60 Caching glyph 0x4f size 60 Caching glyph 0x50 size 48 Caching glyph 0x51 size 48 Caching glyph 0x52 size 48 Caching glyph 0x53 size 60 Caching glyph 0x54 size 60 Caching glyph 0x55 size 48 Caching glyph 0x56 size 48 Caching glyph 0x57 size 52 Caching glyph 0x58 size 48 Caching glyph 0x59 size 48 Caching glyph 0x5a size 48 Caching glyph 0x5b size 48 Caching glyph 0x5c size 60 Caching glyph 0x5d size 48 Caching glyph 0x5e size 68 Caching glyph 0x5f size 68 Caching glyph 0x60 size 68 Caching glyph 0x61 size 28 freeing unreferenced font /usr/X11R6/lib/X11/fonts/truetype/lucon.ttf/0 size 13x13
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!-- /etc/fonts.conf file to configure system font access --> <fontconfig> <!-- The intent of this standard configuration file is to be adequate for most environments. If you have a reasonably normal environment and have found problems with this configuration, they are probably things that others will also want fixed. Please send any suggested changes to [EMAIL PROTECTED] so that future releases can include such changes. Keith Packard --> <!-- Font directory list configured on Thu Oct 10 13:52:34 CEST 2002 --> <dir>/usr/X11R6/lib/X11/fonts</dir> <dir>/usr/share/fonts</dir> <dir>~/.fonts</dir> <!-- Enable sub-pixel rendering <match target="font"> <edit name="rgba" mode="assign"><const>rgb</const></edit> </match> --> <!-- Accept deprecated 'mono' alias, replacing it with 'monospace' --> <match target="pattern"> <test qual="any" name="family"> <string>mono</string> </test> <edit name="family" mode="assign"> <string>monospace</string> </edit> </match> <match target="pattern"> <test qual="any" name="family"> <string>monospace</string> </test> <edit name="spacing" mode="assign"> <string>mono</string> </edit> </match> <!-- Accept alternate 'sans serif' spelling, replacing it with 'sans-serif' --> <match target="pattern"> <test qual="any" name="family"> <string>sans serif</string> </test> <edit name="family" mode="assign"> <string>sans-serif</string> </edit> </match> <!-- Accept deprecated 'sans' alias, replacing it with 'sans-serif' --> <match target="pattern"> <test qual="any" name="family"> <string>sans</string> </test> <edit name="family" mode="assign"> <string>sans-serif</string> </edit> </match> <!-- Mark common families with their generics so we'll get something reasonable --> <match target="pattern"> <test name="spacing"> <const>mono</const> </test> <test name="family"> <string>sans-serif</string> </test> <edit name="family" mode="assign"> <string>Lucida Console</string> </edit> <edit name="family" mode="append"> <string>Terminal</string> </edit> </match> <!-- Serif faces --> <alias> <family>Times</family> <family>Times New Roman</family> <family>Nimbus Roman No9 L</family> <family>Luxi Serif</family> <family>Kochi Mincho</family> <family>AR PL SungtiL GB</family> <family>AR PL Mingti2L Big5</family> <family>Baekmuk Batang</family> <default><family>serif</family></default> </alias> <!-- Sans-serif faces --> <alias> <family>Helvetica</family> <family>Arial</family> <family>Verdana</family> <family>Nimbus Sans L</family> <family>Luxi Sans</family> <family>Kochi Gothic</family> <family>AR PL KaitiM GB</family> <family>AR PL KaitiM Big5</family> <family>Baekmuk Dotum</family> <family>SimSun</family> <default><family>sans-serif</family></default> </alias> <!-- Monospace faces --> <alias> <family>Courier</family> <family>Courier New</family> <family>Andale Mono</family> <family>Luxi Mono</family> <family>Nimbus Mono L</family> <family>Lucida Sans</family> <family>NSimSun</family> <default><family>monospace</family></default> </alias> <!-- If the font still has no generic name, add sans-serif --> <match target="pattern"> <test qual="all" name="family" compare="not_eq"> <string>sans-serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>monospace</string> </test> <edit name="family" mode="append_last"> <string>sans-serif</string> </edit> </match> <!-- Load per-user customization file --> <include ignore_missing="yes">~/.fonts.conf</include> <!-- Load local system customization file --> <include ignore_missing="yes">local.conf</include> <!-- Alias well known font names to available TrueType fonts --> <alias> <family>Times</family> <accept><family>Times New Roman</family></accept> </alias> <alias> <family>Helvetica</family> <accept><family>Verdana</family></accept> </alias> <alias> <family>Arial</family> <accept><family>Verdana</family></accept> </alias> <alias> <family>Courier</family> <accept><family>Courier New</family></accept> </alias> <alias> <family>Comic Sans</family> <accept><family>Somic Sans MS</family></accept> </alias> <!-- Provide required aliases for standard names --> <alias> <family>serif</family> <prefer> <family>Times New Roman</family> <family>Nimbus Roman No9 L</family> <family>Luxi Serif</family> <family>Times</family> <family>Kochi Mincho</family> <family>AR PL SungtiL GB</family> <family>AR PL Mingti2L Big5</family> <family>Baekmuk Batang</family> </prefer> </alias> <alias> <family>sans-serif</family> <prefer> <family>Arial</family> <family>Verdana</family> <family>Nimbus Sans L</family> <family>Luxi Sans</family> <family>Arial</family> <family>Helvetica</family> <family>Kochi Gothic</family> <family>AR PL KaitiM GB</family> <family>AR PL KaitiM Big5</family> <family>Baekmuk Dotum</family> <family>SimSun</family> </prefer> </alias> <alias> <family>monospace</family> <prefer> <family>Andale Mono</family> <family>Courier New</family> <family>Luxi Mono</family> <family>Nimbus Mono L</family> <family>Kochi Gothic</family> <family>AR PL KaitiM GB</family> <family>Baekmuk Dotum</family> <family>Lucida Console</family> </prefer> </alias> <alias> <family>console</family> <prefer><family>Lucida Console</family></prefer> </alias> <!--alias> <family>fixed</family> <prefer><family>Lucida Console</family></prefer> </alias--> <!-- Artificial oblique for fonts without an italic or oblique version --> <match target="pattern"> <!--test name="scalable"> <bool>false</bool> </test--> <edit name="dpi" mode="assign_replace"> <int>75</int> </edit> </match> <!--match target="pattern"> <test name="family"> <string>fixed</string> </test> <edit name="family" mode="assign_replace"> <string>fixed</string> </edit> <edit name="foundry" mode="prepend_first"> <string>misc</string> </edit> </match--> <match target="font"> <!-- check to see if the font is roman --> <test name="slant"> <const>roman</const> </test> <!-- check to see if the pattern requested non-roman --> <test target="pattern" name="slant" compare="not_eq"> <const>roman</const> </test> <!-- multiply the matrix to slant the font --> <edit name="matrix" mode="assign"> <times> <name>matrix</name> <matrix><double>1</double><double>.2</double> <double>0</double><double>1</double> </matrix> </times> </edit> <!-- pretend the font is oblique now --> <edit name="slant" mode="assign"> <const>oblique</const> </edit> </match> <match target="font"> <test name="pixelsize" compare="more_eq"> <int>8</int> </test> <test name="pixelsize" compare="less_eq"> <int>18</int> </test> <edit name="antialias" mode="assign"> <bool>false</bool> </edit> </match> <config> <!-- These are the default Unicode chars that are expected to be blank in fonts. All other blank chars are assumed to be broken and won't appear in the resulting charsets --> <blank> <int>0x20</int> <!-- space --> <int>0xa0</int> <!-- nsbp --> <int>0x2000</int> <!-- general punctuation spaces --> <int>0x2001</int> <int>0x2002</int> <int>0x2003</int> <int>0x2004</int> <int>0x2005</int> <int>0x2005</int> <int>0x2006</int> <int>0x2007</int> <int>0x2008</int> <int>0x2009</int> <int>0x200a</int> <int>0x200b</int> <int>0x3000</int> <!-- CJK space --> </blank> <!-- Rescan configuration every 30 seconds when FcFontSetList is called --> <rescan> <int>30</int> </rescan> </config> </fontconfig>