Re: Unacceptable size increase to ALL live images in F28: Noto CJK Fonts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 31, 2018 at 7:35 PM, Nicolas Mailhot <nicolas.mailhot@xxxxxxxxxxx> wrote:
Le vendredi 30 mars 2018 à 16:45 +0900, Akira TAGOH a écrit :
> The problem on this workaround is that we need an exception for
> packaging because the packaging guidelines mentions we must package
> variants into the same (sub-)package for family[1]
 
Installing just part of a font family is massively unintuitive for
users, when they see a font in their font list they expect it to be
complete, when it's there but without bits they need they either
conclude it's immature and stop using it or (if they know it should
contain more parts) that the Fedora version is broken. Very few will
infer “I need to install the missing parts”.

Google Noto CJK has 7 weight variants for each Sans and Serif face... [1]
In addition to Regular and Bold, the Noto Sans and Serif CJK fonts have 5 other weight variants.
(We have already shipped the equivalent Adobe Source Han Sans and Serif fonts for Chinese since 2014.)

So that is 7 variants for both Sans and Serif for each of Japanese, Korean, Simplified Chinese, and Traditional Chinese. And these are not small fonts...

7 × 4 × 2 = 56 large OTF fonts

This seems a lot for most Fedora users.
It is hard to see how global Fedora users would benefit from having 56 CJK .otf files installed by default.
I do not know how much most native users even benefit from having so many weight variants available by default.

Additionally the Noto Sans Mono CJK fonts, needed for terminals, are much larger since they include full CJK coverage for each of the languages.

In contrast the rest of the Noto (non-CJK) fonts only have Regular and Bold weights, and of course compared to CJK are rather small anyway. [1]

If we could subpackage the uncommon weights it would allow decreasing the font footprint for East Asian fonts considerably while still improving the UX over F27 for Japanese and Korean (and largely preserving Chinese).
We could use langpack weak deps to pull in the extra weights for the native desktop locale.

For fun U already made a copr repo with subpackaging and weakdeps: https://copr.fedorainfracloud.org/coprs/petersen/google-noto-cjk-fonts/

In future (hopefully for F29) switching to OpenType Collections of the Noto CJK TTC fonts would provide a considerable space saving since they combine the Sans and Mono fonts into a share font file, and Serif would be smaller too.

Failing all this should we drop the Serif fonts for Japanese and Korean - but it seems unfair to single them out?

Jens

[1] https://www.google.com/get/noto/help/cjk/
[2] https://www.google.com/get/noto/

ps For more size analysis by Akira see https://bugzilla.redhat.com/show_bug.cgi?id=1562315
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux