Hi Bonghwan, Thanks for your suggestion!
> But, I am anxious to get rid of that korean fonts ( daewoo ). This is > too dirty. > These fonts have made all of our applications looked dirty. > > And I'd like to recommend you to include this opesourced fonts instead. > All of korean linux distros are using these fonts as default fonts today. > > http://kldp.net/projects/unfonts/ ; fonts site. > core fonts : http://kldp.net/frs/?group_id=300&release_id=2607 > extra fonts : http://kldp.net/frs/?group_id=300&release_id=2608 > I will evaluate and request OSR review for them to see if we can integrate them. Thanks! Regards, William > Bonghwan Kim/ > > Alan Coopersmith ? ?: > >> One of the problems I've been needing to solve is how to deal with >> multiple IPS packages installing fonts, given the X server requirement >> to have mkfontdir create a fonts.dir file listing all font files in >> a given directory. >> >> In Solaris SVR4 packages, we deal with this by using class action >> scripts & postinstall/remove scripts to run mkfontdir in each >> directory that the package installs fonts in - this allows splitting >> each font directory across multiple packages. >> >> For 2008.05, we dealt with this by not splitting fonts across packages, >> delivering one gigantic FSWxorg-fonts package that contained 45mb of >> fonts. This is too much for the LiveCD, so we have to split it up. >> >> Without scripting in IPS, the options seem to be: >> a) define a font action in IPS >> b) create a SMF service that somehow knows where the font dirs are >> and runs mkfontdir in them >> c) create new subdirectories with fonts in that we can ship the >> entire subdir in one package, with a pre-made fonts.dir included >> >> C is the simplest and cleanest option, but introduces a new wrinkle - >> how do these font directories get into the X server's font path so the >> fonts are used? The solution comes from Fedora, who faced similar >> issues and contributed their solution upstream. The libXfont we now >> ship has support for "catalogue" directories - directories which have >> just symlinks to the actual font directories, so that when you add a >> font package, it installs its fonts in a new directory, and adds a >> symlink to the catalogue directory. >> >> This is my proposed plan, which I'm working on implementing soon unless >> someone has a better suggestion. >> >> - Create /etc/X11/fontpath.d and add 'catalogue:/etc/X11/fontpath.d' >> to the default Xorg font path in nv_101. >> >> - Split FSWxorg-fonts into several smaller packages. Each of >> these packages will own one or more subdirectories of >> /usr/X11/lib/X11/fonts and ship with a prebuilt fonts.dir for >> each subdirectory, and add appropriate links to /etc/X11/fontpath.d. >> >> - For nv_101, the core font directories will remain in the default Xorg >> font path, but as part of the Xorg 1.5.1 integration (currently planned >> for sometime around nv_104-106, once 2008.11 is out the door), we'll >> drop them and just have catalogue:/etc/X11/fontpath.d as the default >> Xorg font path. >> >> I'll be doing this work for the fonts shipped from the X11 consolidation. >> The G11n teams will have to figure out if they want to use this method to >> replace OWfontpath and other methods of adding the per-locale font >> directories to the X server font path. >> >> The package split I'm currently looking at to replace FSWxorg-fonts is: >> >> [For those who don't have all the ISO 8859-* variants memorized, see: >> http://en.wikipedia.org/wiki/ISO_8859#The_Parts_of_ISO.2FIEC_8859 ] >> >> FSWxorg-fonts-core: the core set of fonts, including Deja Vu, Liberation, >> and the default X bitmap fonts in ISO 8859-1,2,15,16. >> /usr/X11/lib/X11/fonts/75dpi, 6.1M >> /usr/X11/lib/X11/fonts/100dpi, 6.8M >> /usr/X11/lib/X11/fonts/TTF, 10.2M >> /usr/X11/lib/X11/fonts/Type1, 2.8M >> /usr/X11/lib/X11/fonts/misc, 4.6M >> Total: 30.5M >> >> FSWxorg-fonts-cyrillic: Cyrillic >> /usr/X11/lib/X11/fonts/cyrillic, 427k >> >> FSWxorg-fonts-daewoo: Daewoo's Korean/Hangul fonts >> /usr/X11/lib/X11/fonts/daewoo, 848k >> >> FSWxorg-fonts-jiskan: "jiskan" Japanese/Kanji fonts >> /usr/X11/lib/X11/fonts/jiskan, 624k >> >> FSWxorg-fonts-syriac: Syriac >> /usr/X11/lib/X11/fonts/syriac, 6M >> >> FSWxorg-fonts-vera: Bitstream Vera >> /usr/X11/lib/X11/fonts/vera, 570k >> >> FSWxorg-fonts-iso8859-3: South European: Turkish, Maltese, and Esperanto >> /usr/X11/lib/X11/fonts/75dpi-ISO8859-3, 210k >> /usr/X11/lib/X11/fonts/100dpi-ISO8859-3, 210k >> >> FSWxorg-fonts-iso8859-4: North European: Baltics, Greenlandic, and Sami >> /usr/X11/lib/X11/fonts/75dpi-ISO8859-4, 210k >> /usr/X11/lib/X11/fonts/100dpi-ISO8859-4, 210k >> >> FSWxorg-fonts-iso8859-9: Turkish >> /usr/X11/lib/X11/fonts/75dpi-ISO8859-9, 210k >> /usr/X11/lib/X11/fonts/100dpi-ISO8859-9, 210k >> >> FSWxorg-fonts-iso8859-10: Nordic >> /usr/X11/lib/X11/fonts/75dpi-ISO8859-10, 210k >> /usr/X11/lib/X11/fonts/100dpi-ISO8859-10, 210k >> >> FSWxorg-fonts-iso8859-13: Baltic Rim >> /usr/X11/lib/X11/fonts/75dpi-ISO8859-13, 210k >> /usr/X11/lib/X11/fonts/100dpi-ISO8859-13, 210k >> >> FSWxorg-fonts-iso8859-14: Celtic >> /usr/X11/lib/X11/fonts/75dpi-ISO8859-14, 210k >> /usr/X11/lib/X11/fonts/100dpi-ISO8859-14, 210k >> >> >> > > _______________________________________________ > indiana-discuss mailing list > indiana-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/indiana-discuss > -- ============================================================== 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 ==============================================================
