Hi, Though I'm not a Japanese, hope my info can help you a bit.
On Tue, 2003-11-18 at 06:16, Jason Stubbs wrote: > Hello all, > > With prompting of a new dev initiative to make Gentoo more desktop friendly, > I've decided to post my 6-month-old problems in setting up Japanese fonts for > XFree86. Hopefully, the thread applies to more general cases as well. :-) > > The default X installation does provide fonts for Japanese but they're > terribly ugly and almost unreadable by a non-Japanese. I've emerged several > fonts from portage but I find most of them are missing many important > characters. As a "fix", I've done what most people have done and just added > Arial-Unicode for Japanese display. > > In setting up fonts for X, I've just added several FontPath entries to > XF86Config and ran mkfontdir, mkfontscale and ttmkfdir in all directories. > My questions: > > * What is the recommended way to set up fonts? It depends on what kind of application you are using. For me, I use GTK+2 based apps most of the time. All I need to dig is the fonts.conf It is because pango (which is the main library for text services for GTK2) will use Xft + fontconfig for reading fonts and rendering text, and fonts.conf is the config file for fontconfig. <I believe qt3 do the same too> But for other apps, .. recently mozilla builds (ebuild too) will enable freetype2 and fontconfig support, which means that, the font selection can be altered by fonts.conf For those X baseds apps, the way is mkfontdir, if xf86 is using freetype module (here freetype module refers to the X font server module). And as I know freetype is the default module in xf86 ebuild However, you should know or heard about xtt, that module has make some good progress as well, and it provide good perf. and features for CJK. However, I don't have more in depth info on this, you can goto xfree-fonts if no luck here :) > > According to the forums, xfs is deprecated and a fontconfig setup > via /etc/fonts is the way to go. All the threads are over a year old, though. > Personally, I've found that adding directories to /etc/fonts/local.conf has > had no effect. > > * How do I specify which fonts to pull characters from if they're not > available in the selected font? For gtk2, you can customize it in fonts.conf. > > This seems to change depending on what fonts are installed. I would find it > intuitive if it used the ugly fonts that come with X until something else is > specified, but that doesn't seem to be the case. > > * How can I specify which fonts should be alpha-blended and when? I think you mean anti-alias, right? It should be abled by default, anyway, check out the gconf key "/desktop/gnome/font_rendering" or have a look in qtconfig Also, you may need to check fonts.conf, the match and edit stuff can disabled aa for certain, if needed. thought, it shouldn't be the default case. > > Most Japanese fonts are displayed without alpha-blending in most applications. > Some applications, most notably openoffice, will display the same fonts with > alpha-blending. I would like to have all fonts alpha-blended all the time. > Yeah, some people say they're easier to read when small, but I find them > unreadable either way at 4pt. ;-) woo.. 4pt is actually too small for human.. IMO :) > > Any answers will be greatly appreciated. > > Jason > > -- > [EMAIL PROTECTED] mailing list > Cheers, Zarick -- [EMAIL PROTECTED] mailing list
