patch for Asian fonts for fedora, changing paths to fonts files. Dependencies are necessary to be added to rpms.
Jiri Vanek
jvanek at redhat.com
Wed Nov 3 04:25:22 PDT 2010
background is here: https://bugzilla.redhat.com/show_bug.cgi?id=643674
and https://bugzilla.redhat.com/show_bug.cgi?id=582455 and
https://bugzilla.redhat.com/show_bug.cgi?id=622680
I was speaking with author of cjkuni fonts (and will ensure with autor
of beakmuk and szma and lohit - but expect same result)and he confiremd
that in f14 there was big refactoring of fonts (backported to f13 but no
more deep ). This newly re-factored paths should be "final" (:DD )
Reproducer was created for those fonts (arabic - default ok, chinese,
japanese, corean and indic) - as Pavel mentioned some time ago.
So my suggestion is to update fontconfig.Fedora.properties to new
version ant to keep old file as fontconfig.Fedora.12.properties and 11
(nothing more we suppotrt (?)..)
This patch is for all except indic (which will come soon)
I think we have to move this, because there are missconfigured paths
also in rhel 5 and 6 and..there are also complains (Oracle do not
support those fonts, so i can recommend nothing more then to swap to
openjdk...)
Except configuration issue there is also issue with dependencies.
Whether to add them to spec file. I'm for add them into spec file. As
Deepak mentioned - 40mb of dependencies is not such a big amount in
today's days.
Regards J.
On 11/02/2010 07:38 PM, Phil Race wrote:
> 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 distro-pkg-dev
mailing list