Re: [RFC]refactor Noto CJK fonts packaging

Takashi Iwai <[email protected]> Tue, 18 Apr 2017 11:09:22 +0200
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
On Mon, 10 Apr 2017 10:43:16 +0200,
Takashi Iwai wrote:
> 
> On Mon, 10 Apr 2017 10:30:18 +0200,
> Frederic Crozat wrote:
> > 
> > Le lundi 10 avril 2017 à 10:15 +0200, Takashi Iwai a écrit :
> > > On Mon, 10 Apr 2017 10:01:41 +0200,
> > > Frederic Crozat wrote:
> > > > 
> > > > 
> > > > > 
> > > > > > 
> > > > > > 
> > > > > > 5 Noto Serif CJK
> > > > > > 
> > > > > > It'll be easy and don't need that detailed split because it's
> > > > > > not
> > > > > > an
> > > > > > UI font....it'll be just named:
> > > > > > 
> > > > > > google-noto-serif-cjk{sc|tc|ja|kr}-fonts which contains all
> > > > > > seven
> > > > > > weights.
> > > > > > 
> > > > > > Of course, font configurations are still needed for Japanese
> > > > > > because
> > > > > > the Demi-light issue.
> > > > > 
> > > > > I find these proposals are sensible and feasible.
> > > > > As long as the upgrades would work smoothly (and I guess so), I'm
> > > > > for
> > > > > this movement.
> > > > 
> > > > Honestly, I'm not, for the reasons stated above. I'm sorry to be a
> > > > bit
> > > > harsh.
> > > 
> > > Just a single point here to avoid the misunderstanding:
> > > we're discussing the splitting here not only per language but also
> > > per
> > > weight.  The latter split will give a lot more reduction.
> > 
> > Are there numbers for that ? 
> 
> AFAIK, there are 7 weights (thin, light, demi-light, regular, medium,
> bold, black).  Also, I forgot to mention about the split of mono and
> standard variants, too.  Another two counts up.
> Fortunately still less than boxing weight classes.

For more concrete numbers, take a look at github noto-cjk repo:
   https://github.com/googlei18n/noto-cjk
 
IMO, from the DVD size reduction POV, the best bet is OTC split per
weight.  For example, NotoSansCJK-Regular.ttc is 17.9MB containing all
CJK glyphs.  Of course, this has the same problem with the package we
have currently, and the fontconfig workaround is still required.

A single split OTF would reduce the installation size if one language
is used.  And it would work more easily without fontconfig for a
single locale.  But it'll more than double size on DVD than (split-)
OTC when shipping the all CJK in the end, and the fontconfig
workaround is still required when multiple fonts are installed.


Takashi
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]