FS#7542 - [fontconfig] Fonts rendering sequence

Attached to Project: Arch Linux
Opened by 甘露(Lu Gan) (ganlu) - Sunday, 01 July 2007, 04:11 GMT
Last edited by Jan de Groot (JGC) - Saturday, 19 December 2009, 20:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
By default, Arch doesn't have any fonts rendering sequence, which may cause bad display in many circumstance, especially for Chinese.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 19 December 2009, 20:59 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Please take this up with upstream.
Comment by Jan de Groot (JGC) - Sunday, 01 July 2007, 12:11 GMT
These rules exist in the default fontconfig configuration, they're just in split files. 60-latin.conf, 65-fonts-persion.conf and 65-nonlatin.conf contain the same rules. The only part that is not in the configuration is the bottom part of your config file, which touches the way chinese fonts are rendered.
Comment by 甘露(Lu Gan) (ganlu) - Monday, 02 July 2007, 08:25 GMT
Oh, yes, names of some fonts have changed their names, so we have to change them too. For example, we have ttf-arphic-uming and ttf-arphic-ukai in our extra repo, their name are AR PL ShanHeiSun Uni and AR PL ZenKai Uni now. And ttf-fireflysung is the same problem. Above two fonts are commonly used in Chinese. So I show an modified 65-nonlatin.conf -nonlatin.conf for your reference.
[quote]
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Frank Ruehl</family>
<family>MgOpen Canonica</family>
<family>Kochi Mincho</family>
<family>Simsun</family>
<family>Microsoft YaHei</family>
<family>AR PL New Sung</family>
<family>AR PL ShanHeiSun Uni</family>
<family>FZSongTi</family>
<family>FZMingTiB</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL New Kai</family>
<family>AR PL ZenKai Uni</family>
<family>MS 明朝</family>
<family>Baekmuk Batang</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Nachlieli</family>
<family>MgOpen Modata</family>
<family>Kochi Mincho</family>
<family>Simsun</family>
<family>Microsoft YaHei</family>
<family>AR PL New Sung</family>
<family>AR PL ShanHeiSun Uni</family>
<family>FZSongTi</family>
<family>FZMingTiB</family>
<family>WenQuanYi Bitmap Song</family>
<family>AR PL New Kai</family>
<family>AR PL ZenKai Uni</family>
<family>MS ゴシック</family>
<family>Baekmuk Dotum</family>
<family>SimSun</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Miriam Mono</family>
<family>Kochi Gothic</family>
<family>AR PL New Sung Mono</family>
<family>AR PL ShanHeiSun Uni</family>
<family>AR PL ZenKai Uni</family>
<family>Baekmuk Dotum</family>
</prefer>
</alias>
</fontconfig>
[/quote]
Comment by 甘露(Lu Gan) (ganlu) - Monday, 02 July 2007, 08:32 GMT
Sorry, here it is now.
Comment by 甘露(Lu Gan) (ganlu) - Wednesday, 04 July 2007, 13:46 GMT
After re-consider the situation, I think it's better to have a "special" chinese fonts configuration to make better display for Chinese but not possibly make worse for non-chinese users. Please check out the attachment for details. I hope it will be included in the next fontsconfig version, thanks very much.
Comment by Roman Kyrylych (Romashka) - Friday, 11 January 2008, 13:30 GMT
JGC, status on this?
Comment by Jan de Groot (JGC) - Friday, 11 January 2008, 13:51 GMT
I still have to take a look at this again. In the meanwhile someone else upgraded fontconfig to a newer release, so I don't have an overview of this one.
Comment by Travis Willard (Cerebral) - Saturday, 10 May 2008, 22:39 GMT
That someone was probably me, Jan - I think I picked up fontconfig because it was an orphaned dep of one of my apps, not necessarily because I know a lot about it. If you want it back, just say so.

In the meantime, I'll consider this request.
Comment by Glenn Matthys (RedShift) - Thursday, 19 June 2008, 11:30 GMT
What's the status of this issue? Maybe the chinese definition file can be shipped but disabled by default?
Comment by 甘露(Lu Gan) (ganlu) - Friday, 20 June 2008, 04:49 GMT
Disable by default for sure (though even it's enable by default I think it's still harmless/useless if you don't use CJK fonts). I think I'd better give it a little modification for including, attached one is quite old.
Comment by 甘露(Lu Gan) (ganlu) - Tuesday, 24 June 2008, 08:05 GMT
Now a little update:
1.set WenQuanYi Zen Hei as default/preferential chinese fonts.
2.change order 66 to 41, before the fontconfig file (started with 44) of WenQuanYi Zen Hei font.
Comment by 甘露(Lu Gan) (ganlu) - Wednesday, 25 June 2008, 06:46 GMT
Another update: mainly finetuning some commonly-used Chinese fonts.
Comment by 甘露(Lu Gan) (ganlu) - Tuesday, 01 July 2008, 15:03 GMT
Attached my update:
1. Add font alias for simsun/宋体.
Comment by Glenn Matthys (RedShift) - Wednesday, 10 December 2008, 23:24 GMT
Status: not implemented. Version 2.6.0-2 in extra. No package in testing.
Comment by Jan de Groot (JGC) - Sunday, 29 November 2009, 20:27 GMT
Can you please take this up with upstream? The configuration changes upstream with every fontconfig release, so I'm not happy with specific patching or adding additional config that could conflict with upstream config.

Loading...