Description of problem: There is a new Chinese font on the pipe and it will be built very soon. Would you please add those font name into fonts.conf so that it can be fallback correctly? If existing fonts.conf has this, <family>AR PL SungtiL GB</family> <family>AR PL Mingti2L Big5</family> Please add this in front of those two font names: <family>AR PL ShanHeiSun Uni</family> If existing fonts.conf has this, <family>AR PL KaitiM GB</family> <family>AR PL KaitiM Big5</family> Please add this in front of those two font names: <family>AR PL ZenKai Uni</family>
Created attachment 119059 [details] a proposed patch It would be better to provide a patch to get this fix quickly.
set Proirity to high because new Chinese fonts has already been replaced. this bug needs to be fixed ASAP.
ping again. this isn't yet fixed in rawhide. please let us know if you need any help for this. thanks.
I'm (finally) doing the work on this (and I apologize about the excessive delay). The patch provided disagrees with the instructions in the original bug report in one instance. In one place the patch has: + <family>AR PL Zenkai Uni</family> <family>AR PL SungtiL GB</family> <family>AR PL Mingti2L Big5</family> While the instructions would suggest that the addition should instead be: + <family>AR PL ShanHeiSun Uni</family> From what I can tell, this appears to be within the sans-serif aliases within fonts.conf. Can anyone suggest to me which is the correct fix here? Thanks, -Carl PS. If someone has instructions I could use for veirfying that my fix works, that might be useful too.
I just released version 2.3.92.cvs20051129-2 with the change as in the patch. If that was wrong, I'll be glad to spin this again with the fix. (And quicker this time, I promise.) -Carl
I think the patch to fonts.conf in the current fontconfig is incorrect. The AR PL Zenkai Uni font should be aliased as a serif font and the AR PL ShanHeiSun Uni should be aliased to a sans-serif font.
I'll see what I can do about fixing this, unless you want to look at it Carl?
Tim, could you make a new patch for Ray to apply it in the current fontconfig package? Thanks.
Created attachment 123284 [details] Patch for fontconfig spec file Patch to Correct aliasing and disable hinting for the two Chinese font names.
Created attachment 123285 [details] New Patch to fontconfig default config file Fix aliasing of Chinese fonts
Created attachment 123286 [details] New version of the 50-no-hint-fonts.conf file Disables hinting for the 2 new Chinese fonts and changed all occurances of rh_prefer_bitmap to new embeddedbitmap fontconfig option.
Hi Tim, I applied your patches last night. Can you guys test the packages in rawhide and make sure they are working right? If so, we can close this bug.
It looks correct to me, as I understand it LANG=zh_.UTF-8 fc-match should return uming.ttf: "AR PL ShanHeiSun Uni" "Regular" as this font has embedded bitmaps and is one of the reasons why this bug is blocking bug 167383. Can someone else familiar with these fonts verify that they are now aliased correctly.
Verified with fontconfig-2.3.93-4 in zh_TW locale, confirmed hinting has been disabled.