Hi Alan,

> The packages that make those subdirectories would add links to the
> subdirectories to /etc/X11/fontpath.d, or you'd decide that legacy
> X apps don't need to see these fonts, and do nothing, leaving them
> accessible only to apps using fontconfig, like GTK/QT apps.
>
>   
>> option B:
>> Create sub-directory in fontpath.d. The sub-directorys are locale
>> category, it maybe look like: ko_KR.UTF-8, zh_CN.UTF-8,
>> en_US.UTF-8. In these locale-sub-directory create sylike to link the
>> really fonts path. Current contents in fontpath.d could be
>> put into default or C(locale) sub-directory which include default X11
>> xorg fonts.
>>     
>
> I don't believe the code will handle subdirectories automatically, so
> if you did this, you would then need to add those subdirectories to
> the font path.   (Actually, I wonder if you made the locale subdirectory
> be named catalogue:ko_KR.UTF-8 if it would work - that's something you
> can look into if you desire.)
>   
Yes, if I do handle subdirectories , they would be named 
catalogue:ko_KR.UTF-8, zh_CN.UTF-8... and
I'm thinking it still need a subdirectory named "default".

Do you know which module/files handle to read  "/etc/X11/fontpath.d" and 
get the font path?  I'd rather to have a look
how it implement and to see if  it's possible to add additional codes to 
handle subdirectories.

Thanks!
Regards,
William

-- 
==============================================================
William Xue
Asian Globalization Center
Sun Microsystems China Engineering & Research Institute

(Office Phone): (86)10-8261-8200 ext. 83958
(Direct Line) : (86)10-6267-7958
(Email)       : Wei.Xue at Sun.com
(My Blog)     : http://blogs.sun.com/weixue
==============================================================


Reply via email to