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

About bterm font



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm thinking about bterm font (unifont.bgf).

Some months ago, I reported unifont glyph in 1st stage mini-root is
too little to support for dynamic-installed deb components. It means
some glyph will be not shown.

One solution idea is to load full-unifont from CD-ROM and use it by
restart or send signal. Unfortunately, this work looks don't make
progress.

Someone said full-unifont is too big to install into mini-root, but
IMHO we don't install really "full" font. Because Installer doesn't
provide any special input-method, so all of users can input is very
limited (their glyph will already be in mini unifont).

I couldn't make sure it is right way or not, but I checked if I add
all messages of po files in debian-installer into unifont.bgf.

Result is:

Nothing added: 61343 bytes
ja.po added:   71728 bytes
all po added:  85262 bytes

Well, size increase is +23919 bytes. Is this acceptable value?

I tried "make all_images" also, and suceeded (including floppy
support).

Thanks,
- -- 
Kenshi Muto
kmuto@debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAj/r6XIACgkQQKW+7XLQPLF9MACgthyIxtb1ZprhQu09gYN43ygb
vwwAn3SxfUn7t1QFFp2WG3g469fUJMUR
=UJ5d
-----END PGP SIGNATURE-----

#!/usr/bin/perl
#  Very dirty script...
#
#  cd debian-installer; getallpo.pl > all-po.utf
#  Add all-po.utf to all-${TYPE}.utf on build/Makefile.
#

use Text::Iconv;

$msg = 0;
open(F, "find . -name \"*.po\" -exec cat {} \\;|");
while (<F>) {
  next if (/^#/ || /^$/ || /Last\-Translator:/);
  $charset = $1 if (/charset=(.*)\\n\"/);

  $msg = 0 if (/msgid/);
  $msg = 1 if (/msgstr/);

  next unless ($msg);
  chomp;

  s/[\"a-z0-9\?!\.\\<>\+\- =;:\@\/\$\{\}\[\]\(\)\'\%]//igo;
 
  next unless ($_); 
  if ($charset !~ /UTF\-8/i) {
    print Text::Iconv->new($charset, "UTF-8")->convert($_);
  } else {
    print $_;
  }
  print "\n";
}
close(F);



Reply to: