SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hello everyone. I have at least a question goes unresolved every week....I did search but with no luck.
It's all about displaying chinese chracter. I know that I have to copy some chinese font to the fonts folder in my gnome,I did. However, like many others user experienced, chinese character is not clear and some of them even couldn't display. Does anyone have a better solution?what I need is:[list=1][*]Clear character display[*]No more so-called "mahjong" character-->can't display character[/list=1]
Does anyone have any solution? Please feel free and drop me a line. Thanks.
I have some trouble displaying chinese in Firefox. I downloaded the chinese font type, but it doesn't display very clear and complete. Some charcter can't even display!So, do you have:
[list=1][*]Font type which you think it is very good and clear to display[*]But it must include Traditional Big 5 & Simplied Chinese[/list=1]
Oh,I miss out something. My display card is a ATI Radeon 9500 or something...I can't really remember the whole name. Also, I have a 15' LCD monitor which can display with the dimension of 1024*768 pixels.
When I recall my memory, I have few problems when I was using Fedora Core or RedHat. Anyway, I just love Slackware now...
I use the fonts from my Windows CD. I have these Chinese fonts,
which look good in Firefox:
It is even more important to get good fonts for double byte, or
whatever they call Hanzi.
I guess you know how to change the font selection in Firefox,
since you are at least seeing fonts.
In China I have a 15" Philips 150B4 monitor. It will only display
to 1024x768, also. I have to recompile freetype with the bytecode
interpreter enabled with a Slackware system using these LCD
monitors, or the type is not good quality. There is a tutorial called LCD Monitor Configuration In X.Org that one of our fellow LQ
members wrote. He also has some good threads here about fonts.
His nick is cathectic, so you can search in LQ for his posts.
There is one note. When you recompile freetype for Slackware,
you have to change the prefix. Freetype has a different path than
where Patrick Volkerding puts it. You will probably read this in a
If you prefer, I can give you a link where you can download a
Slackware package for Freetype2 and just install it using installpkg.
I think RedHat and Fedora already have the bytecode enterpreter
enabled. That would make the fonts look better on those systems.
How does bytecode interpreter affects the display of fonts on X?
Any pictures or snapshots that could point the difference out?
I am now using the stock X and freetype, and chinese display looks good to me up till now. Therefore, to keep my hands clean, compiling X and freetype is a last resort to myself.
And last point, if you don't have too much time to deal with this issue, better use some linux supported fonts, don't use Windows chinese fonts. Somehow I got the trouble in it and get myself frsutrated. (Chinese will be sliced into serveral parts that you could never imagine the 'shape' of the word)
1. Set your dpi to 96x96 (posted by tuvok and egag)
2. Compile newest FreeType with TT_CONFIG_OPTION_BYTECODE_INTERPRETER (posted by coffeedrinker)
3. Install MS TrueType fonts (posted by coffeedrinker)
3. Set up fonts.conf (posted by coffeedrinker/cathetic)
4. Add settings to ~/.gtkrc and ~/.gtkrc-2.0 (posted by coffeedrinker)
5. If you have LCD Display - set the proper subpixel hinting options (posted by cathetic)
I tried several times on improving chinese support on my linux box using patches made by firefly (fonts, x , settings in local.conf/fonts.conf and pango) in early 2005 but no success (all chinese character are broken as if they were cut into irregular parts). Therefore, just to make myself clean, I grab some linux-supported fonts and let it go. So far so good.
But now I have to say the first 3 steps rocks! (setting dpi to 96 barely won't improve any, at least for myself, you have installed a self compiled freetype along with. After that, you will see a noticable difference!)
Stay tuned everyone!
P.S. not yet deal with the last 3 steps due to timing constraints.
P.S. 2. Configuring local.conf/fonts.conf can be tedious, reading its man pages (?, anyone could point out where can I reference to, I forgot already) could kill myself right away.
Have you recompiled Freetype2 with the bytecode_enterpreter enabled?
Those fonts look like what I got until I did that, and followed cathectic's
I have never yet had fonts display as well in KDE or Gnome or any of the
desktop environments as I get in Fluxbox. KDE, for one, is quite buggy
and changes system settings without you knowing what it did. Remember
that you have a LCD monitor, which has different needs than a CRT.
When you recompile freetype, it must have the correct path set in the
./configure step. You should have this in your Slackware system:
Issue those commands I gave you, and see where the LinuxPackages package is installed.
If it's in the wrong place, you're going to be using the same package you had before. And
if that is so, I'll give you a link (I offered earlier) to a properly compiled Freetype2 Slackware
package that you can install.