Re: Proposal: Drop ttf-cjk-compact, get fonts-droid

2015-08-11 Thread Christian PERRIER
Quoting Hendrik Boom (hend...@topoi.pooq.com):
 On Tue, Aug 11, 2015 at 03:02:32AM +0200, Cyril Brulebois wrote:
  Hi!
  
  Kenshi Muto km...@debian.org (2015-07-22):
   This is a proposal to replace ttf-cjk-compact with fonts-droid for
   next (Stretch) debian-installer.
 
 As long as this is a change for debian-boot, and not for the installed 
 Debian I have no problems with this.  But if it's for Debian itself, 
 well, people may just prefer one set of fonts over the other for 
 aesthetic reasons, and both should remain available.

ttf-cjk-compact was built specifically for D-I purposes, from font
packages that are still available in Debian. There is no point in
using that package outside D-I because it only contains the set of
glyphs that are used in D-I messages.




signature.asc
Description: Digital signature


Re: Proposal: Drop ttf-cjk-compact, get fonts-droid

2015-08-10 Thread Cyril Brulebois
Hi!

Kenshi Muto km...@debian.org (2015-07-22):
 This is a proposal to replace ttf-cjk-compact with fonts-droid for
 next (Stretch) debian-installer.
 
 Introduction:
 DroidSansFallback.ttf of fonts-droid package appears best choice for
 graphical debian-installer to show CJK - Chinese, Japanese, Korean -,
 because it is scalable font, quite small footprint (3939852 bytes),
 and enough legible.
 
 ttf-cjk-compact was born in 2005, to display CJK characters on
 graphical debian-installer. Due to lack of small scalable CJK font at
 2005 and limited RAM disk size, I made a workaround font package
 ttf-compact-fonts (former name). This font package made a list of may
 use characters from d-i po files and some other packages, then
 rebuilt reduced font with the list by modifying other font packages;
 vlgothic, unfont, and arphic-uming.  (ja.ttf: 197392 bytes, ko.ttf:
 152000 bytes, zh.ttf: 1258276 bytes.  total: 1607668 bytes.)

Thanks for the detailed history, which matches what I've gathered while
trying to update this package once in a while. :)

 After some tests, I believe it's time to use fonts-droid instead of
 ttf-cjk-compact.
 
 Test:
 - - screenshots:  http://kmuto.jp/debian/d-i-font/sc/
 - - graphical netboot mini.iso: http://kmuto.jp/debian/d-i-font/mini.iso 
 (50MB)
 
 Step:
 1. Modify fonts-android to provide fonts-android-udeb which has only
DroidSansFallback.ttf.
patch:  http://kmuto.jp/debian/d-i-font/fonts-android.diff

→ Uploaded to sid, reached stretch already.

 2. After fonts-android-udeb is installed to the mirror,
Modify d-i/installer to use fonts-droid-udeb instead of 
 ttf-cjk-compact-udeb.
patch:  http://kmuto.jp/debian/d-i-font/installer.diff

→ I've just performed some tests, and building + comparing a few screens
for C, J, and K looks good to me. To be inexperienced eyes, the old
glyphs for all 3 languages look a bit thiner and new ones a bit sharper,
but sizes are similar. As usual, we can adjust the size if desired, on a
per-language basis. (I find it a bit difficult to distinguish all
details in Traditional Chinese for example, while Korean and Japanese
don't seem that hard to “read” ;)).

I'm seeing a size increase similar to what you're quoting: building
netboot-gtk on amd64 means initrd.gz grows from 35 MB to 36 MB;
unpacked, it goes from 105 MB to 108 MB. I agree this increase in
worthwhile as maintaining the ttf-cjk-compact hack is quite a burden,
and doesn't provide us with reasonable results, as some glyphs can
regularly go missing…

 3. Remove ttf-cjk-compact from unstable and testing.

→ We can ask for a removal from unstable once the next debian-installer
upload is performed. I've added a note on my side. As usual, the removal
will propagate to testing once it has happened on unstable, and once
there are no more reverse dependencies.

 Pros:
  - d-i code gets smarter way.
  - most CJK characters will be shown correctly.
  - replacing ttf-cjk-compact with DroidSansFallback doesn't break
other languages. (as far as I saw)
  - Chinese gets sans-serif.
 
 Cons:
  - increases +2MB for each graphical initrd.
jessie-amd64/cdrom/gtk/initrd.gz: 25557641 - 281535694
 hd-media/gtk/initrd.gz: 27747025 - 30340894
 netboot/gtk/initrd.gz: 34425758 - 37539446
 netboot/gtk/mini.iso: 49283072 - 52428800
  - Some Japanese characters look bit funny.
(I believe it is negligible for installer.)
 
 Note:
  - Noto family, brand-new Google's free and well-designed font, is
too big. For example NotoSansCJK-Regular.ttc is 17MB.
  - DroidSansFallbackFull doesn't include Korean Hangul characters.

Thanks for the detailed pros  cons  notes, that's much appreciated!

Patch for debian-installer pushed a few minutes ago, it will be used for
daily builds starting with the 2015-08-12 ones.


(If anyone wonders, I've just removed the /git/d-i/ttf-cjk-compact.git
repository from alioth, as it's not going to be used at all.)

Mraw,
KiBi.


signature.asc
Description: Digital signature


Re: Proposal: Drop ttf-cjk-compact, get fonts-droid

2015-08-10 Thread Hendrik Boom
On Tue, Aug 11, 2015 at 03:02:32AM +0200, Cyril Brulebois wrote:
 Hi!
 
 Kenshi Muto km...@debian.org (2015-07-22):
  This is a proposal to replace ttf-cjk-compact with fonts-droid for
  next (Stretch) debian-installer.

As long as this is a change for debian-boot, and not for the installed 
Debian I have no problems with this.  But if it's for Debian itself, 
well, people may just prefer one set of fonts over the other for 
aesthetic reasons, and both should remain available.

-- hendrik


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150811010801.gb3...@topoi.pooq.com



Re: Proposal: Drop ttf-cjk-compact, get fonts-droid

2015-07-26 Thread Christian PERRIER
Quoting Kenshi Muto (km...@debian.org):

 Step:
 1. Modify fonts-android to provide fonts-android-udeb which has only
DroidSansFallback.ttf.
patch:  http://kmuto.jp/debian/d-i-font/fonts-android.diff


I'm working on this, right now.




signature.asc
Description: Digital signature


Re: Proposal: Drop ttf-cjk-compact, get fonts-droid

2015-07-26 Thread Hendrik Boom
On Wed, Jul 22, 2015 at 12:26:02PM +0900, Kenshi Muto wrote:
...
 
 Cons:
  - increases +2MB for each graphical initrd.
jessie-amd64/cdrom/gtk/initrd.gz: 25557641 - 281535694
Presumably there's a typo here -- this is a tenfold increase!

 hd-media/gtk/initrd.gz: 27747025 - 30340894
 netboot/gtk/initrd.gz: 34425758 - 37539446
 netboot/gtk/mini.iso: 49283072 - 52428800
  - Some Japanese characters look bit funny.
(I believe it is negligible for installer.)


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150726120736.ga10...@topoi.pooq.com



Re: Proposal: Drop ttf-cjk-compact, get fonts-droid

2015-07-26 Thread Christian PERRIER
Quoting Kenshi Muto (km...@debian.org):

 2. After fonts-android-udeb is installed to the mirror,
Modify d-i/installer to use fonts-droid-udeb instead of 
 ttf-cjk-compact-udeb.
patch:  http://kmuto.jp/debian/d-i-font/installer.diff

New fonts-android uploaded. Now we need to wait for NEW processing.



signature.asc
Description: Digital signature


Re: Proposal: Drop ttf-cjk-compact, get fonts-droid

2015-07-26 Thread Kenshi Muto
At Sun, 26 Jul 2015 08:07:36 -0400,
Hendrik Boom wrote:
  Cons:
   - increases +2MB for each graphical initrd.
 jessie-amd64/cdrom/gtk/initrd.gz: 25557641 - 281535694
 Presumably there's a typo here -- this is a tenfold increase!

oops, it was typo. - 28153694.

Anyway thanks bubulle, for updating fonts-droid.

Thanks,
-- 
Kenshi Muto
km...@debian.org


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150726135430.b82574921...@mail.topstudio.co.jp



Re: Proposal: Drop ttf-cjk-compact, get fonts-droid

2015-07-26 Thread Hideki Yamane
Hi,

 It's better than maitain ttf-cjk-compact for me at least.
 I'll work (add udeb) for it if you say go for it as a memeber
 of pkg-font-devel, so please add wishlist bug for package.

-- 
Regards,

 Hideki Yamane henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150726222601.a8476ca2302473518c13e...@debian.or.jp



Proposal: Drop ttf-cjk-compact, get fonts-droid

2015-07-21 Thread Kenshi Muto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

(This proposal relates with Future of ttf-cjk-compact, 
20150715074128.gn6...@mraw.org)

Hi,

This is a proposal to replace ttf-cjk-compact with fonts-droid for next 
(Stretch)
debian-installer.

Introduction:
DroidSansFallback.ttf of fonts-droid package appears best choice for graphical
debian-installer to show CJK - Chinese, Japanese, Korean -, because it is
scalable font, quite small footprint (3939852 bytes), and enough legible.

ttf-cjk-compact was born in 2005, to display CJK characters on graphical
debian-installer. Due to lack of small scalable CJK font at 2005
and limited RAM disk size, I made a workaround font package ttf-compact-fonts
(former name). This font package made a list of may use characters from
d-i po files and some other packages, then rebuilt reduced font with the list
by modifying other font packages; vlgothic, unfont, and arphic-uming.
(ja.ttf: 197392 bytes, ko.ttf: 152000 bytes, zh.ttf: 1258276 bytes.
total: 1607668 bytes.)

After some tests, I believe it's time to use fonts-droid instead of
ttf-cjk-compact.

Test:
- - screenshots:  http://kmuto.jp/debian/d-i-font/sc/
- - graphical netboot mini.iso: http://kmuto.jp/debian/d-i-font/mini.iso (50MB)

Step:
1. Modify fonts-android to provide fonts-android-udeb which has only
   DroidSansFallback.ttf.
   patch:  http://kmuto.jp/debian/d-i-font/fonts-android.diff
2. After fonts-android-udeb is installed to the mirror,
   Modify d-i/installer to use fonts-droid-udeb instead of ttf-cjk-compact-udeb.
   patch:  http://kmuto.jp/debian/d-i-font/installer.diff
3. Remove ttf-cjk-compact from unstable and testing.

Pros:
 - d-i code gets smarter way.
 - most CJK characters will be shown correctly.
 - replacing ttf-cjk-compact with DroidSansFallback doesn't break
   other languages. (as far as I saw)
 - Chinese gets sans-serif.

Cons:
 - increases +2MB for each graphical initrd.
   jessie-amd64/cdrom/gtk/initrd.gz: 25557641 - 281535694
hd-media/gtk/initrd.gz: 27747025 - 30340894
netboot/gtk/initrd.gz: 34425758 - 37539446
netboot/gtk/mini.iso: 49283072 - 52428800
 - Some Japanese characters look bit funny.
   (I believe it is negligible for installer.)

Note:
 - Noto family, brand-new Google's free and well-designed font, is
   too big. For example NotoSansCJK-Regular.ttc is 17MB.
 - DroidSansFallbackFull doesn't include Korean Hangul characters.

Thanks,
- -- 
Kenshi Muto
km...@debian.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Processed by Mailcrypt 3.5.9 http://mailcrypt.sourceforge.net/

iQIcBAEBCgAGBQJVrw0cAAoJEB0hyD3EUuD843MP/1dflBw9H03JSO696nbaFzId
uxFJj97DYJS1bG2CEDOg49YOF6gdv6GWw766/dU11uyz4HTMAGZkq3vnCGZFg3c1
JwDeA5YoE7FBF1ecwXztJdjvmN7C2LQFAas/RUTK+AKbBMxWK5kp4Q0/1P+jhzvo
wYkjvmaUOcWJOE6+7U6nVoAStQmCbJuHcJtXlyfZF+GbqWc8SPJbo20+KKOaXa/w
NRXKQ+VWTsVa86WI4Xh+Qs+FXafuszJwkwfOR9DQPdLVk/bwyJGKshx/oRBs3NpY
nUVMF9Ml7UaE7VocEPmCAEF0555EFO/foaKM/6Bx87NcowRpGZ7DjmyEErSLteTC
Dvh7CgznskDVjPAZvIqc0ENMIqcT2ufEUS5no2atBSD8pN/CBFQUUrZ17x2YGmuj
5aJT+OpC+zhcP0DoDuDc0DDpqXeyGvSZI94WkYlmJLnB90OjMR5apMS4w8nN5yFF
+dpROdjTgAystiXu4rnME+PW6A7rMxzZ27VwlqQvMQ2yhBd/xb7xQC8U4ELMlvgX
Kkj9mPS9YIwyOuRCO3C/2xAPuWaggN/93QBerDLAca9ejruTKuiYzh1yg5gyuq03
O2CgvUJENT1c0IS19lIQbxra3Q4X09nQlC11Voj7sybGedEoB6ZGxtB5j8geYhdd
gPk4ZGsCGL/dHxwikwB3
=qufz
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150722032602.b72474920...@mail.topstudio.co.jp