Japanese | English Time-stamp "Feb 11 2002"

itouh room

Here are my softwares:


sbitget

Description

This tool extract bitmap data from a TrueType font file when the file has embedded bitmaps.

TrueType files that have bitmaps are limited. The author found 'Lucida Console' (lucon.ttf) in Windows98 is the one.

Output files are named '<fontname>-??px.bdf'. '??px' means 'pixel' (screen size), not 'point' (print-to-paper size).

TrueTypeCollection (TTC) files are not supported, but you can divide one TTC file into some TTF files with ftp://ftp.microsoft.com/developr/drg/truetype/ttsdk.zip

pronounced 'es bit get'.

Download

contains a binary for Windows, and a sourcecode for Unix/Windows.

http://www.vector.co.jp/soft/dl/win95/util/s0227531.html

Usage

$ sbitget truetypefontfile

Caution

Output BDF-format files are NOT a real BDF files. Character-code information and glyph's encoding numbers are missing in these files.

( 'glyphID:xxxx' means index numbers used inside the TrueType font. TrueType 'cmap' table combines these numbers with character-encoding numbers. This software don't read 'cmap' table.)

If you want to use these files, please modify 'ENCODING ####' by your own (with Perl script, for example).


bdf2bmp

Description

The bdf2bmp utility creates a BMP-image-file containing all the glyph-images in a BDF-font-file. That BMP file is a kind of Windows-type, 256 colors(8bitsPerPixel).

Download

contains a binary for Windows, and a sourcecode for Unix/Windows.

http://www.vector.co.jp/soft/dl/win95/writing/s0175608.html

Usage

When you input
$ bdf2bmp courR18.bdf courR18.bmp

You will get this image
courR18.bmp

set a width of spacing = 3pixel, columns in one line = 16 glyphs
$ bdf2bmp -s3 -c16 courR18.bdf courR18.bmp

set glyph's widths showed
$ bdf2bmp -w xc/fonts/bdf/75dpi/timI18.bdf s.bmp


bmp2bdf

Description

Working with 'bdf2bmp' (above), the bmp2bdf utility (this tool) enables you to modify glyphs in a BDF-font-file. See Example.

Download

contains a binary for Windows, and a sourcecode for Unix/Windows.

http://www.vector.co.jp/soft/dl/win95/writing/s0179702.html

Example

  1. Prepare a BDF file. Now, 'courR14.bdf' is prepared.
  2. Use bdf2bmp to create BMP-image-file.
    $ bdf2bmp courR14.bdf courR14.bmp
  3. Modify 'courR14.bmp' with some image editor ( like Adobe Photoshop, The GIMP,...) . For example, add '0'(zero) with a slant line. Save that BMP file in the name 'cr14.bmp'.
  4. Use bmp2bdf.
    $ bmp2bdf courR14.bdf cr14.bmp cr14.bdf
    You get 'cr14.bdf'.

modifing an bmp image with photoshop

Limitation


written by itouh
There is NO WARRANTY for these pages.