Re: Shipping bigger fonts by default for greater glyph coverage

2012-09-07 Thread Chris Leonard
On Wed, Sep 5, 2012 at 6:15 PM, Daniel Drake d...@laptop.org wrote:
 Hi,

 At the moment we ship the Latin-Greek-Cyrillic stripped-down version
 of the DejaVu font set as our default font.

 This works well for many, but doesn't include glyphs(characters) that
 are important for some deployments who actively use recent OS images.
 e.g. Armenia, Canada (e.g. Inuktitut glyphs).

 So we're planning to ship the full DejaVu font set by default on all
 platforms starting from 13.1.0. This adds a lot more glyphs and
 satisifies those users, but the downside is that these fonts are
 bigger (in terms of disk space used, not in terms of visual size).
 This will increase the base uncompressed OS size by about 6mb.

 If they want to, deployments can revert to the old/smaller font
 packages with olpc-os-builder configuration, e.g.:

 [custom_packages]
 
 add_packages=dejavu-lgc-sans-fonts,dejavu-lgc-sans-mono-fonts,dejavu-lgc-serif-fonts
 del_packages=dejavu-sans-fonts,dejavu-sans-mono-fonts,dejavu-serif-fonts

 Any objections? If not we will go ahead and make this change soon.


Another bit of good news is that these three expanded DejaVu font sets
each include a glyph for the ʻokina U+02BB.

http://en.wikipedia.org/wiki/%CA%BBOkina

http://www.dejavu-fonts.org/wiki/PDF_samples

This is important for some languages of Oceania (Tongan and Samoan).
I've managed to get a Samoan L10n effort started and knowing that the
ʻokina glyph will be properly presented is reassuring.

cjl
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Shipping bigger fonts by default for greater glyph coverage

2012-09-05 Thread Daniel Drake
Hi,

At the moment we ship the Latin-Greek-Cyrillic stripped-down version
of the DejaVu font set as our default font.

This works well for many, but doesn't include glyphs(characters) that
are important for some deployments who actively use recent OS images.
e.g. Armenia, Canada (e.g. Inuktitut glyphs).

So we're planning to ship the full DejaVu font set by default on all
platforms starting from 13.1.0. This adds a lot more glyphs and
satisifies those users, but the downside is that these fonts are
bigger (in terms of disk space used, not in terms of visual size).
This will increase the base uncompressed OS size by about 6mb.

If they want to, deployments can revert to the old/smaller font
packages with olpc-os-builder configuration, e.g.:

[custom_packages]

add_packages=dejavu-lgc-sans-fonts,dejavu-lgc-sans-mono-fonts,dejavu-lgc-serif-fonts
del_packages=dejavu-sans-fonts,dejavu-sans-mono-fonts,dejavu-serif-fonts

Any objections? If not we will go ahead and make this change soon.

Thanks
Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Shipping bigger fonts by default for greater glyph coverage

2012-09-05 Thread Martin Langhoff
On Wed, Sep 5, 2012 at 6:15 PM, Daniel Drake d...@laptop.org wrote:
 So we're planning to ship the full DejaVu font set by default on all

Yes please! I made a half-hearted attempt at pushing for this in
12.1.0 cycle, and dropped the ball halfway.

 This will increase the base uncompressed OS size by about 6mb.

IMHO, this is tiny compared to the tradeoff at hand.



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Shipping bigger fonts by default for greater glyph coverage

2012-09-05 Thread Martin Langhoff
On Wed, Sep 5, 2012 at 6:44 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 This will increase the base uncompressed OS size by about 6mb.
 IMHO, this is tiny compared to the tradeoff at hand.

I mean tiny compared to the benefit. The tradeoff is completely desirable...



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Shipping bigger fonts by default for greater glyph coverage

2012-09-05 Thread Mikus Grinbergs

Something to watch out for is the content of /usr/lib/locale.

Having been caught several time in the past with C as the only 
language recognized, I now pay attention to the content of that 
directory.  [For instance, allowing a Fedora upgrade of the package 
'glibc-common' could add an extra 80 MB into that directory.


mikus

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Shipping bigger fonts by default for greater glyph coverage

2012-09-05 Thread Chris Leonard
On Wed, Sep 5, 2012 at 6:45 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 On Wed, Sep 5, 2012 at 6:44 PM, Martin Langhoff
 martin.langh...@gmail.com wrote:
 This will increase the base uncompressed OS size by about 6mb.
 IMHO, this is tiny compared to the tradeoff at hand.

 I mean tiny compared to the benefit. The tradeoff is completely desirable...


I entirely agree, this is a good use of a small amount of space.  I
tend to view stock OLPC releases as the car you drive when you are
shopping.  Sure you could drive it off the lot as-is, but if you are
really picky about the options packages (e.g. fonts and that 6 MB) you
are going to wait for a custom ordered car from the factory (an OS
Builder custom build).

It is a very good thing if the OLPC stock releases be flexible enough
to accommodate additional languages by just dropping in the right
language pack.  This makes them ideal technology demonstrators for
assessment (with L10n and on locked XO laptops) before deciding to
invest additional effort in a custom build and for many, just adding
the language pack will be good enough (with the larger set of glyphs).

This reminds me that I need to fiddle with the langpack generating
script on Pootle so that we are cranking out 0.96 based langpacks
going forward.

cjl
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Shipping bigger fonts by default for greater glyph coverage

2012-09-05 Thread Chris Leonard
On Wed, Sep 5, 2012 at 6:58 PM, Mikus Grinbergs mi...@bga.com wrote:
 Something to watch out for is the content of /usr/lib/locale.

 Having been caught several time in the past with C as the only language
 recognized, I now pay attention to the content of that directory.  [For
 instance, allowing a Fedora upgrade of the package 'glibc-common' could
 add an extra 80 MB into that directory.

 mikus

That is an interesting and important point.  I wonder if the langpack
install could be adjusted to bring it's locale with it, if needed?

cjl
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Shipping bigger fonts by default for greater glyph coverage

2012-09-05 Thread C. Scott Ananian
IIRC its only the CJK fonts which really bloat the build.  There's an old
bug in trac which discussed fonts at length; it might be worth digging that
up to ensure we're still covering all the languages we were covering then.
  --scott
On Sep 5, 2012 6:58 PM, Chris Leonard cjlhomeaddr...@gmail.com wrote:

 On Wed, Sep 5, 2012 at 6:58 PM, Mikus Grinbergs mi...@bga.com wrote:
  Something to watch out for is the content of /usr/lib/locale.
 
  Having been caught several time in the past with C as the only language
  recognized, I now pay attention to the content of that directory.  [For
  instance, allowing a Fedora upgrade of the package 'glibc-common' could
  add an extra 80 MB into that directory.
 
  mikus

 That is an interesting and important point.  I wonder if the langpack
 install could be adjusted to bring it's locale with it, if needed?

 cjl
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel