Summary: | fontconfig 2.2 doesn't show chinese chars. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erwin (RETIRED) <erwin> |
Component: | Current packages | Assignee: | foser (RETIRED) <foser> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | drobbins, liquidx, sethbc |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/etc/fonts/fonts.conf
/etc/fonts/local.conf |
Description
Erwin (RETIRED)
![]() i wouldn't know how to make an application show chinese characters if i tried... can you explain to me how i would do this? then we can try and fix it.... try opening these sites: www.gov.cn (chinese chars) www.gentoo.gr.jp (japanese chars) both sites work fine for me. Define 'can't show', does it show anything (empty squares or something) ? Here are some screenshots: XFree-4.3.0-r2 freetype-2.1.4 with fontconfig-2.1-r1: http://www.ntu.edu.sg/home2002/AC125972/fontconfig-2.1-r1_www.gentoo.gr.jp.png http://www.ntu.edu.sg/home2002/AC125972/fontconfig-2.1-r1_www.cei.gov.cn.png with fontconfig-2.2.0-r1: http://www.ntu.edu.sg/home2002/AC125972/fontconfig-2.2.0-r1_www.gentoo.gr.jp.png http://www.ntu.edu.sg/home2002/AC125972/fontconfig-2.2.0-r1_www.cei.gov.cn.png are you positive you have fonts available which should contain these chars (check fc-list)? mm.. i don't know what are those fonts called.. so i did: fc-list > font1 (fontconfig-2.1-r1) fc-list > font2 (fontconfig-2.2.0-r1) and # diff font1 font2 10d9 < Fixed:style=Bold 16d14 < Clean:style=Regular 50d47 < Newspaper:style=Regular 53d49 < ClearlyU:style=Regular 59d54 < ClearlyU Alternate Glyphs:style=Regular 79d73 < Fixed:style=Italic 88d81 < Fixed:style=Regular ----------------- are those the fonts that i miss? its indeed hard to figure out with the pango fallback mechanism. do you have any extra fontpacks installed, any of the japanese / chinese sets would probably helpful. nope... the fonts i've ever installed were the bitstream vera fonts only, and what i'm using right now... is there anything else that i need to check or any info that i can give? (i don't know anything bout this font thing :/ ) what if you add <dir>/usr/X11R6/lib/X11/fonts</dir> to your /etc/fonts/fonts.conf list ? i added it, and now it works :D problem's solved. can you attach your current fonts.conf and local.conf ? Created attachment 11353 [details]
/etc/fonts/fonts.conf
Created attachment 11354 [details]
/etc/fonts/local.conf
i'm not sure of the initial problem here, the basic fonts should've covered these chars as well. |