Re: Tibetan Machine Uni font sources for the new version (v1.901)

2009-03-05 Thread Davide Viti
On Mon, Jul 28, 2008 at 05:45:30PM +0200, Davide Viti wrote:
 Hi
 On Wed, Jun 11, 2008 at 10:25:00PM +0200, Davide Viti wrote:
  On Tue, Jun 10, 2008 at 09:32:03PM +0200, Davide Viti wrote:
   On Mon, Jun 09, 2008 at 02:40:09PM +0200, Frans Pop wrote:
On Monday 09 June 2008, Tom Söderlund wrote:
 On Mon, 2008-06-09 at 11:06 +0200, Frans Pop wrote:
   On Fri, 6 Jun 2008, Tom Söderlund wrote:
[0] http://gamma.nic.fi/~t_om/debian/ttf-tmuni/
 
  if there are any major changes in the font that could affect the
  udeb or cause a significant change in its size, it would be nice to
  hear about those.

 The font file which is the sole content of the udeb package has grown 
 a
 bit over threefold from 1355768 bytes to 4511176 bytes.

Hmmm. That's not nice for the memory usage of the graphical installer.
It would be good to look into that before the new version is uploaded.
   
   I've created PDF charts [1] for old and new version just to have a quick 
   way
   for comparing the two: new version does contain more glyphs indeed.
   
   The obvious suggestion would be to introduce a mechanism fo stripping 
   unneeded glyps
   out of the udeb as we already do for ttf-dejavu [2] and ttf-freefont [3] 
   packages.
   
   [1] http://alioth.debian.org/~zinosat-guest/ttf-tmuni/
   [2] svn://svn.debian.org/svn/pkg-fonts/packages/ttf-dejavu
   [3] svn://svn.debian.org/svn/pkg-fonts/packages/ttf-freefont
  
  If you look at the above mentioned PDF charts, you'll notice that TONS of 
  new
  glyphs have been added to the Private Use Area (old version had only one 
  page containing
  glyphs, new version has 8 pages) and Supplementary Private Use Area-A 
  which was not
  covered at all in previous version, and now covers 10 pages.
  
  I'm pretty sure we can reduce this font as to be smaller than it was in 
  previous version, but
  we must be careful not to remove needed ranges: I can help with this, but 
  need some hints from
  people using the font and knowing what is really needed.
  
  Davide 
 
 
 so,
 I've finally found some time to look again at this and wrote some notes [1] 
 while
 trying to work on it. Results look promising (back to ~1.3 Mb) and I know we 
 can 
 do much better: which other ranges can we safely remove?
 
 regards,
 Davide
 
 [1] http://www.alioth.debian.org/~zinosat-guest/dwiki/tibetan_machine/


Everyone (including myself) seem to have forgotten about this.
I've just filed #518331 with a patch which should fix the size problem

regards,
Davide


signature.asc
Description: Digital signature


Re: Tibetan Machine Uni font sources for the new version (v1.901)

2008-07-28 Thread Davide Viti
Hi
On Wed, Jun 11, 2008 at 10:25:00PM +0200, Davide Viti wrote:
 On Tue, Jun 10, 2008 at 09:32:03PM +0200, Davide Viti wrote:
  On Mon, Jun 09, 2008 at 02:40:09PM +0200, Frans Pop wrote:
   On Monday 09 June 2008, Tom Söderlund wrote:
On Mon, 2008-06-09 at 11:06 +0200, Frans Pop wrote:
  On Fri, 6 Jun 2008, Tom Söderlund wrote:
   [0] http://gamma.nic.fi/~t_om/debian/ttf-tmuni/

 if there are any major changes in the font that could affect the
 udeb or cause a significant change in its size, it would be nice to
 hear about those.
   
The font file which is the sole content of the udeb package has grown a
bit over threefold from 1355768 bytes to 4511176 bytes.
   
   Hmmm. That's not nice for the memory usage of the graphical installer.
   It would be good to look into that before the new version is uploaded.
  
  I've created PDF charts [1] for old and new version just to have a quick way
  for comparing the two: new version does contain more glyphs indeed.
  
  The obvious suggestion would be to introduce a mechanism fo stripping 
  unneeded glyps
  out of the udeb as we already do for ttf-dejavu [2] and ttf-freefont [3] 
  packages.
  
  [1] http://alioth.debian.org/~zinosat-guest/ttf-tmuni/
  [2] svn://svn.debian.org/svn/pkg-fonts/packages/ttf-dejavu
  [3] svn://svn.debian.org/svn/pkg-fonts/packages/ttf-freefont
 
 If you look at the above mentioned PDF charts, you'll notice that TONS of new
 glyphs have been added to the Private Use Area (old version had only one 
 page containing
 glyphs, new version has 8 pages) and Supplementary Private Use Area-A which 
 was not
 covered at all in previous version, and now covers 10 pages.
 
 I'm pretty sure we can reduce this font as to be smaller than it was in 
 previous version, but
 we must be careful not to remove needed ranges: I can help with this, but 
 need some hints from
 people using the font and knowing what is really needed.
 
 Davide 


so,
I've finally found some time to look again at this and wrote some notes [1] 
while
trying to work on it. Results look promising (back to ~1.3 Mb) and I know we 
can 
do much better: which other ranges can we safely remove?

regards,
Davide

[1] http://www.alioth.debian.org/~zinosat-guest/dwiki/tibetan_machine/


signature.asc
Description: Digital signature


Re: Tibetan Machine Uni font sources for the new version (v1.901)

2008-06-11 Thread Tom Söderlund
On Tue, 2008-06-10 at 21:32 +0200, Davide Viti wrote:
 On Mon, Jun 09, 2008 at 02:40:09PM +0200, Frans Pop wrote:
  On Monday 09 June 2008, Tom Söderlund wrote:
   On Mon, 2008-06-09 at 11:06 +0200, Frans Pop wrote:
 On Fri, 6 Jun 2008, Tom Söderlund wrote:
  [0] http://gamma.nic.fi/~t_om/debian/ttf-tmuni/

 BTW, I noticed the ttf file has been renamed from TibetanMachineUniAlpha.ttf 
 to
 TibMachUni-1.901b.ttf ; any particular reason for such change?

The names for the font file are coming from upstream and hesitated to
modify them as the change seems to be well managed in .deb case and
lacked knowledge about .udeb.

With the emerged information about .udeb it is obvious that the font
file name should be fixed in Debian packaging. The problem is that the
old name is not so suitable anymore since this is no more an alpha
version of the font. The new name is not good either since it will not
be suitable for future versions of the font (version 2.00 will probably
be published in the near future).

Thus I solidified the name to TibetanMachineUni.ttf and uploaded new
candidate packages to [0]. Thus there would still be a need for a change
in the udeb scripts regarding this font but there should be no need for
such a change anymore in the future when new versions of the font will
be released and packaged for Debian.

[ also the problem of missing Depends in .deb was fixed ]

-me


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Tibetan Machine Uni font sources for the new version (v1.901)

2008-06-11 Thread Davide Viti
On Tue, Jun 10, 2008 at 09:57:43PM +0200, Frans Pop wrote:
 One comment: the name change means that the font selection script in 
 rootskel-gtk will need to be adjusted as well!

indeed

 Maybe we should implement a more generic mechanism where font udebs 
 include a file in a certain location in which they declare which 
 languages (by language code) they cover and which font size change is 
 desired. Only for languages where a font switch is needed of course.

sounds like an interesting idea
 
 Advantage would be that a font rename or other changes only has 
 consequences in a single package: the relevant udeb.

yes

 Davide: would you be willing to work something out for that?
 For transition we could probably first test if there is such a file and if 
 not, fall back to current hard-coded values.

Spare time is very limited lately, but will try to implement something.

regards,
Davide


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Tibetan Machine Uni font sources for the new version (v1.901)

2008-06-11 Thread Davide Viti
On Tue, Jun 10, 2008 at 09:32:03PM +0200, Davide Viti wrote:
 On Mon, Jun 09, 2008 at 02:40:09PM +0200, Frans Pop wrote:
  On Monday 09 June 2008, Tom Söderlund wrote:
   On Mon, 2008-06-09 at 11:06 +0200, Frans Pop wrote:
 On Fri, 6 Jun 2008, Tom Söderlund wrote:
  [0] http://gamma.nic.fi/~t_om/debian/ttf-tmuni/
   
if there are any major changes in the font that could affect the
udeb or cause a significant change in its size, it would be nice to
hear about those.
  
   The font file which is the sole content of the udeb package has grown a
   bit over threefold from 1355768 bytes to 4511176 bytes.
  
  Hmmm. That's not nice for the memory usage of the graphical installer.
  It would be good to look into that before the new version is uploaded.
 
 I've created PDF charts [1] for old and new version just to have a quick way
 for comparing the two: new version does contain more glyphs indeed.
 
 The obvious suggestion would be to introduce a mechanism fo stripping 
 unneeded glyps
 out of the udeb as we already do for ttf-dejavu [2] and ttf-freefont [3] 
 packages.
 
 [1] http://alioth.debian.org/~zinosat-guest/ttf-tmuni/
 [2] svn://svn.debian.org/svn/pkg-fonts/packages/ttf-dejavu
 [3] svn://svn.debian.org/svn/pkg-fonts/packages/ttf-freefont

If you look at the above mentioned PDF charts, you'll notice that TONS of new
glyphs have been added to the Private Use Area (old version had only one 
page containing
glyphs, new version has 8 pages) and Supplementary Private Use Area-A which 
was not
covered at all in previous version, and now covers 10 pages.

I'm pretty sure we can reduce this font as to be smaller than it was in 
previous version, but
we must be careful not to remove needed ranges: I can help with this, but need 
some hints from
people using the font and knowing what is really needed.

Davide 


signature.asc
Description: Digital signature


Re: Tibetan Machine Uni font sources for the new version (v1.901)

2008-06-10 Thread Davide Viti
On Mon, Jun 09, 2008 at 02:40:09PM +0200, Frans Pop wrote:
 On Monday 09 June 2008, Tom Söderlund wrote:
  On Mon, 2008-06-09 at 11:06 +0200, Frans Pop wrote:
On Fri, 6 Jun 2008, Tom Söderlund wrote:
 [0] http://gamma.nic.fi/~t_om/debian/ttf-tmuni/
  
   if there are any major changes in the font that could affect the
   udeb or cause a significant change in its size, it would be nice to
   hear about those.
 
  The font file which is the sole content of the udeb package has grown a
  bit over threefold from 1355768 bytes to 4511176 bytes.
 
 Hmmm. That's not nice for the memory usage of the graphical installer.
 It would be good to look into that before the new version is uploaded.
 
 Davide Viti is our current fonts manager. Added him in CC in the hope 
 that he has time to contact you about this and see if that increase can 
 be reduced.

I've created PDF charts [1] for old and new version just to have a quick way
for comparing the two: new version does contain more glyphs indeed.

The obvious suggestion would be to introduce a mechanism fo stripping unneeded 
glyps
out of the udeb as we already do for ttf-dejavu [2] and ttf-freefont [3] 
packages.

3 megabytes difference is quite alot, and I'd like to dig a bit more to 
understand
if there's anything else which causes this increase: will probablyhave the 
chance
to work on this tomorrow evening.

BTW, I noticed the ttf file has been renamed from TibetanMachineUniAlpha.ttf to
TibMachUni-1.901b.ttf ; any particular reason for such change?

regards,
Davide

[1] http://alioth.debian.org/~zinosat-guest/ttf-tmuni/
[2] svn://svn.debian.org/svn/pkg-fonts/packages/ttf-dejavu
[3] svn://svn.debian.org/svn/pkg-fonts/packages/ttf-freefont


signature.asc
Description: Digital signature


Re: Tibetan Machine Uni font sources for the new version (v1.901)

2008-06-10 Thread Frans Pop
On Tuesday 10 June 2008, Davide Viti wrote:
 BTW, I noticed the ttf file has been renamed from
 TibetanMachineUniAlpha.ttf to TibMachUni-1.901b.ttf ; any particular
 reason for such change?

Although I'm the To addressee, I'm obviously not the correct person to 
answer the questions :-)

One comment: the name change means that the font selection script in 
rootskel-gtk will need to be adjusted as well!
Maybe we should implement a more generic mechanism where font udebs 
include a file in a certain location in which they declare which 
languages (by language code) they cover and which font size change is 
desired. Only for languages where a font switch is needed of course.

Advantage would be that a font rename or other changes only has 
consequences in a single package: the relevant udeb.

Davide: would you be willing to work something out for that?
For transition we could probably first test if there is such a file and if 
not, fall back to current hard-coded values.

Cheers,
FJP


signature.asc
Description: This is a digitally signed message part.


Re: Tibetan Machine Uni font sources for the new version (v1.901)

2008-06-09 Thread Jaldhar H. Vyas
[debian-boot please maintain the CCs on any replies.  AFAIK none of us are 
subscribed to 
the list.]



On Fri, 6 Jun 2008, Tom Söderlund wrote:


A still unofficial Debian package based on the 1.901b version of the
font is now available at [0].

[0] http://gamma.nic.fi/~t_om/debian/ttf-tmuni/

It is there mainly for kind Jaldhar H. Vyas to officially upload it to
the Debian unstable repository.



The problem is the package contains a udeb and such packages have been 
frozen in preperation for the lenny release.  You need the permission 
of the debian-installer team before the package can be uploaded.


--
Jaldhar H. Vyas [EMAIL PROTECTED]
La Salle Debain - http://www.braincells.com/debian/

Re: Tibetan Machine Uni font sources for the new version (v1.901)

2008-06-09 Thread Frans Pop
On Monday 09 June 2008, Jaldhar H. Vyas wrote:
 On Fri, 6 Jun 2008, Tom Söderlund wrote:
  A still unofficial Debian package based on the 1.901b version of the
  font is now available at [0].
 
  [0] http://gamma.nic.fi/~t_om/debian/ttf-tmuni/
 
  It is there mainly for kind Jaldhar H. Vyas to officially upload it
  to the Debian unstable repository.

 The problem is the package contains a udeb and such packages have been
 frozen in preperation for the lenny release.  You need the permission
 of the debian-installer team before the package can be uploaded.

That's not quite correct. They are frozen for automatic migration to 
testing, not for upload to unstable. Please just go ahead with the 
upload.

However, if there are any major changes in the font that could affect the 
udeb or cause a significant change in its size, it would be nice to hear 
about those.

Cheers,
FJP


signature.asc
Description: This is a digitally signed message part.


Re: Tibetan Machine Uni font sources for the new version (v1.901)

2008-06-09 Thread Tom Söderlund
On Mon, 2008-06-09 at 11:06 +0200, Frans Pop wrote:
  On Fri, 6 Jun 2008, Tom Söderlund wrote:
   [0] http://gamma.nic.fi/~t_om/debian/ttf-tmuni/

 if there are any major changes in the font that could affect the 
 udeb or cause a significant change in its size, it would be nice to hear 
 about those.

The font file which is the sole content of the udeb package has grown a
bit over threefold from 1355768 bytes to 4511176 bytes.

-me


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Tibetan Machine Uni font sources for the new version (v1.901)

2008-06-09 Thread Frans Pop
On Monday 09 June 2008, Tom Söderlund wrote:
 On Mon, 2008-06-09 at 11:06 +0200, Frans Pop wrote:
   On Fri, 6 Jun 2008, Tom Söderlund wrote:
[0] http://gamma.nic.fi/~t_om/debian/ttf-tmuni/
 
  if there are any major changes in the font that could affect the
  udeb or cause a significant change in its size, it would be nice to
  hear about those.

 The font file which is the sole content of the udeb package has grown a
 bit over threefold from 1355768 bytes to 4511176 bytes.

Hmmm. That's not nice for the memory usage of the graphical installer.
It would be good to look into that before the new version is uploaded.

Davide Viti is our current fonts manager. Added him in CC in the hope 
that he has time to contact you about this and see if that increase can 
be reduced.

Thanks for the reply.

Cheers,
FJP


signature.asc
Description: This is a digitally signed message part.