[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 --- Comment #19 from Nicolas Mailhot 2009-10-20 07:54:54 EDT --- (In reply to comment #16) > FWIW it would be better looking back all of the fontconfig file available in > Fedora now for Fedora 13 and correct as needed to be sane. Sure it would be better; but I don't have the cycles myself. All I can do right now is to try to make sure no new dubious files make it in the distro. The basic rule is: if a fontconfig pattern is not documented in fontpackages-devel it is wrong for Fedora, and no pattern gets in fontpackages-devel without approval from Behdad and eventually discussion on the fonts list. That's the only way to make everyone converge and avoid different packagers making conflicting decisions. In an ideal world someone would write the xslt rules to check that existing files conform to documented patterns, and integrate them in repo-font-audit (and packagers would actually act on repo-font-audit reports). Also, it would be nice if somehow wrote a xslt script or another command that actually displayed in human-readable form the priority stack configured on a system (fc-list output unfortunately depends on the fonts installed on-system, so depending on local fonts the same conf will yield different results. Which is not a way to do reliable QA) Interested people can send me fontpackages patches or ask for fontpackages git access. http://fedoraproject.org/wiki/Fedora_fonts_policy_package -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 --- Comment #18 from Nicolas Mailhot 2009-10-20 07:40:41 EDT --- Try to make the tests for the prepend rule more fine-grained. Alternatively, if this is a behaviour needed for all CJK fonts, modify fontconfig and/or pango code to make this decision by default for all cjk fonts. But fontconfig kludges that assume CJK packagers know the right ordering for latin fonts are plain wrong, CJK people have been injecting variants on them in the system for years, they always caused no end of unintended side-effects, and never actually fixed CJK problems. As a case in point your patch does not even respect the current Fedora latin font priority order, and even if it did no one will notify you when it will change (as has happened several times in the past), so even if this patch was fixed now it will cause problems one day or another. And latin is the easy part, you also have cyrillic, greek, and all the other stuff needlessly duplicated in CJK fonts to take into account. A basic fontconfig sanity rule is to never try to change the ordering of fonts external to the package, because they are the responsibility of other maintainers, not yours. -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 --- Comment #17 from Peng Huang 2009-10-20 06:42:39 EDT --- (In reply to comment #15) > (In reply to comment #14) > > Created an attachment (id=365314) --> (https://bugzilla.redhat.com/attachment.cgi?id=365314) [details] [details] > > Always use Latin fonts for ascii charactors > > Please do not propose fontconfig rules that make assumptions about the system > default latin fonts. A CJK font can bump its priority on certain locales but > never assume it knows the non-CJK fonts to use. What's your suggestion to modify the patch? -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 Akira TAGOH changed: What|Removed |Added CC||ta...@redhat.com --- Comment #16 from Akira TAGOH 2009-10-20 05:03:31 EDT --- (In reply to comment #15) > (In reply to comment #14) > > Created an attachment (id=365314) --> (https://bugzilla.redhat.com/attachment.cgi?id=365314) [details] [details] > > Always use Latin fonts for ascii charactors > > Please do not propose fontconfig rules that make assumptions about the system > default latin fonts. A CJK font can bump its priority on certain locales but > never assume it knows the non-CJK fonts to use. > > If you want to change fontconfig rules, start from our default fontconfig > templates, and if they are not good enough for you, discuss changes on the > fonts list and with the fontconfig maintainer. FWIW it would be better looking back all of the fontconfig file available in Fedora now for Fedora 13 and correct as needed to be sane. Though cjkuni-*-fonts provides a lot of the fontconfig files, I just wonder if all of them are really accepted - who knows that? it may be a good idea if we have any exception list of the fontconfig files for the packages. having any figures for the relationship would be good too. that would makes easier to understand how the fontconfig file affects when adding new one. -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 --- Comment #15 from Nicolas Mailhot 2009-10-20 04:30:36 EDT --- (In reply to comment #14) > Created an attachment (id=365314) --> (https://bugzilla.redhat.com/attachment.cgi?id=365314) [details] > Always use Latin fonts for ascii charactors Please do not propose fontconfig rules that make assumptions about the system default latin fonts. A CJK font can bump its priority on certain locales but never assume it knows the non-CJK fonts to use. If you want to change fontconfig rules, start from our default fontconfig templates, and if they are not good enough for you, discuss changes on the fonts list and with the fontconfig maintainer. -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 Peng Huang changed: What|Removed |Added Component|pango |cjkuni-fonts AssignedTo|besfa...@redhat.com |ccha...@redhat.com -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 Peng Huang changed: What|Removed |Added Keywords||Reopened Status|CLOSED |ASSIGNED Resolution|DUPLICATE | -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 --- Comment #14 from Peng Huang 2009-10-20 04:03:25 EDT --- Created an attachment (id=365314) --> (https://bugzilla.redhat.com/attachment.cgi?id=365314) Always use Latin fonts for ascii charactors -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 --- Comment #13 from fujiwara 2009-10-19 20:38:13 EDT --- If the lang tag works, this is not duplicate of bug 485566 and should modify the fontconfig. I don't talk about the fontconfig bug. -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 --- Comment #12 from Nicolas Mailhot 2009-10-19 17:41:17 EDT --- Take a look at the l10n-font-template.conf in fontpackages-devel That's the best we have right now and I wouldn't advise inventing anything else without blessing from Behdad -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 James Ni changed: What|Removed |Added CC||j...@redhat.com --- Comment #11 from James Ni 2009-10-19 04:17:04 EDT --- I try to add some clauses as below to my wqy-zenhei.conf under conf.d. And then WenQuanYi Zen Hei will be used for mono space. zh monospace WenQuanYi Zen Hei -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 Jens Petersen changed: What|Removed |Added Status|NEW |CLOSED Resolution||DUPLICATE --- Comment #10 from Jens Petersen 2009-10-19 04:09:59 EDT --- I think this is a duplicate of bug 485566. *** This bug has been marked as a duplicate of 485566 *** -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 --- Comment #9 from Ding-Yi Chen 2009-10-19 04:06:10 EDT --- Temporary measure: Use other mono space font such as "DejaVu Sans Mono" -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 fujiwara changed: What|Removed |Added CC||tfuji...@redhat.com --- Comment #8 from fujiwara 2009-10-19 03:12:07 EDT --- I think it's better to always use CJK fonts for the CJK locales. The following is my previous patch. http://src.opensolaris.org/source/xref/jds/spec-files/trunk/patches/pango-03-solaris-cjk-font-table.diff I'll try to upstream the patch later. -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 --- Comment #7 from Jens Petersen 2009-10-19 02:56:31 EDT --- A few testcases: LANG=zh_CN.UTF-8 pango-view --font="Monospace" <(echo -e "m...@ip-1-2-3 ~$\n @@ 1 2 3") LANG=ja_JP.UTF-8 pango-view --font="Monospace" <(echo -e "m...@ip-1-2-3 ~$\n @@ 1 2 3") LANG=ko_KR.UTF-8 pango-view --font="Monospace" <(echo -e "m...@ip-1-2-3 ~$\n @@ 1 2 3") -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list
[Bug 529594] [CJK] pango uses different fonts for ASCII letters vs punctutaion and numbers
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=529594 Jens Petersen changed: What|Removed |Added Component|gnome-terminal |pango Summary|[zh] gnome-terminal mixing |[CJK] pango uses different |fonts for ascii |fonts for ASCII letters vs ||punctutaion and numbers -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list