patch for Asian fonts for fedora, changing paths to fonts files. Dependencies are necessary to be added to rpms.

Phil Race philip.race at oracle.com
Tue Nov 2 11:38:37 PDT 2010


  Is this because some new version of Fedora moved the fonts ?
If you fix these then any one running on the old version of Fedora will 
be broken by this.
What needs to happen is that you first copy the existing 
fontconfig.Fedora.properties.src
to match the old version, eg :

% cp fontconfig.Fedora.properties.src fontconfig.Fedora.9.properties.src

Then that will get picked up on the old version.
You'd need to to this for all older versions you think are worthy of 
support, eg
if your proposed change is for v. 11 and the old file is applicable to 
v.10 as well
then you'd also need to do

% cp fontconfig.Fedora.9.properties.src fontconfig.Fedora.10.properties.src

For more information read

http://download.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html

-phil.

On 11/2/2010 9:11 AM, Jiri Vanek wrote:
> *** fontconfig.Fedora.properties.src    2010-11-02 15:47:08.042037406 
> +0100
> --- fontconfig.Fedora.properties.src    2010-11-02 15:42:43.000000000 
> +0100
> ***************
> *** 356,367 ****
>
> filename.DejaVu_Serif_Oblique=/usr/share/fonts/dejavu/DejaVuSerif-Oblique.ttf 
>
>
> filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/dejavu/DejaVuSerif-BoldOblique.ttf 
>
>
> ! 
> filename.Sazanami_Gothic=/usr/share/fonts/sazanami-fonts-gothic/sazanami-gothic.ttf
> ! 
> filename.Sazanami_Mincho=/usr/share/fonts/sazanami-fonts-mincho/sazanami-mincho.ttf
> ! 
> filename.AR_PL_ShanHeiSun_Uni=/usr/share/fonts/cjkunifonts-uming/uming.ttc
> ! filename.AR_PL_ZenKai_Uni=/usr/share/fonts/cjkunifonts-ukai/ukai.ttc
> ! filename.Baekmuk_Gulim=/usr/share/fonts/baekmuk-ttf-gulim/gulim.ttf
> ! filename.Baekmuk_Batang=/usr/share/fonts/baekmuk-ttf-batang/batang.ttf
>
>   filename.Lohit_Bengali=/usr/share/fonts/lohit-bengali/lohit_bn.ttf
>   filename.Lohit_Gujarati=/usr/share/fonts/lohit-gujarati/lohit_gu.ttf
> --- 356,367 ----
>
> filename.DejaVu_Serif_Oblique=/usr/share/fonts/dejavu/DejaVuSerif-Oblique.ttf 
>
>
> filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/dejavu/DejaVuSerif-BoldOblique.ttf 
>
>
> ! 
> filename.Sazanami_Gothic=/usr/share/fonts/sazanami/gothic/sazanami-gothic.ttf
> ! 
> filename.Sazanami_Mincho=/usr/share/fonts/sazanami/mincho/sazanami-mincho.ttf
> ! filename.AR_PL_ShanHeiSun_Uni=/usr/share/fonts/cjkuni-uming/uming.ttc
> ! filename.AR_PL_ZenKai_Uni=/usr/share/fonts/cjkuni-ukai/ukai.ttc
> ! filename.Baekmuk_Gulim=/usr/share/fonts/baekmuk-ttf/gulim.ttf
> ! filename.Baekmuk_Batang=/usr/share/fonts/baekmuk-ttf/batang.ttf
>
>   filename.Lohit_Bengali=/usr/share/fonts/lohit-bengali/lohit_bn.ttf
>   filename.Lohit_Gujarati=/usr/share/fonts/lohit-gujarati/lohit_gu.ttf



More information about the jdk6-dev mailing list