Main > Free Download Search >

Free font software for linux

font

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 528
Opcion Font Viewer 1.1.1

Opcion Font Viewer 1.1.1


Opcion Font Viewer is a TrueType font viewer. more>>
Opcion Font Viewer is a free font viewer written in Java that allows you to view both installed and uninstalled TrueType fonts on Windows, Linux, Unix or Mac.
The main focus of Opcion is to allow you to view your uninstalled fonts so that you install only the fonts you want and keep your system memory free of fonts you dont want.
As you may have experienced, installing the brand new 1000 fonts font pack you just bought on your Windows, Linux, Unix or Mac computer can lead to slow-downs when starting the computer and when loading other programs.
The slow down occurs because the Operating System and certain programs (e.g. word-processors, email clients, graphics editors) need to load all system fonts so that they can be made available to you at any time. This is where Opcion comes in.
Opcion was written to handle the viewing of large font collections, therefore only fonts that you are currently viewing are stored in memory. Although the amount of physical memory you have will effect how many fonts you can view at a time, it will no longer be a limitation to you making use of your entire font library.
Another problem with most Operating Systems default font viewers is that while they are capable of viewing fonts, the default Windows/Linux/Unix font viewers only allows you to view fonts that are already installed and one at a time. Opcion allows you to view TrueType fonts located anywhere and allows you to view system fonts as well.
To help you pick the best font for the job, whether it be for your assignment, project logo or webpage, Opcion provides a list view of either system or other/uninstalled fonts so you may see how a font looks compared to other fonts in your collection.
When you see a font that you feel suits your current job you can simply click on it in the list view and it will be added to a favourites list that can then be saved for future reference or used to install only the fonts you want.
For viewing fonts, seeing how they would appear applied to your name/logo/tagline, and keeping track of which fonts best suit the job is the purpose of Opcion Font Viewer. Opcion allows you to view both installed and uninstalled fonts in different views depending on your needs. Written in Java, Opcion will work on all platforms that the Java Runtime Environment supports (which includes Windows, Mac, Solaris & Linux).
Opcion Font Viewer provdies a default view that allows you to view one font at a time, and a list view which allows you to view multiple fonts at a time. By clicking on fonts you like in the list view you are adding fonts to a faviourties list that Opcion keeps for you. The faviourites list can then be saved for future reference or used in finding out the file names of fonts you wish to install.
Main features:
- Viewing of installed/uninstalled fonts.
- List view of installed/uninstalled fonts.
- Adding/removing of favourite fonts.
- Saving of favourite fonts.
- Customizable sample/display text.
- Customizable font size.
- Customizable font properties (bold, italic, etc.) in sample text area.
- Changeable fonts displayed per page in List View.
Execute Opcion Font Viewer
To execute Opcion Font Viewer in Windows, download the EXE version. For Linux users use the command "java -jar Opcion_v1.1.1.jar" in console/terminal/shortcut.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/java/j2re1.4.1_02/lib/i386/libfontmanager.so: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
This error occurs due to backwards compatibility issues with the Java Runtime and libstdc. To fix this problem for RedHat 9.0 install the RPM file compat-libstdc++-7.3.2.96.118.i386.rpm, which can be found on disc 1 of the downloadable distro. For other Linux distributions check rpmfind.net for libstdc++-libc6.1-1.so.2 to see what package you need to install.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4CAEE920 Function=(null)+0x4CAEE920 Library=/usr/local/lib/SunJava2-1.4.2/lib/i386/libfontmanager.so

This error appears to be a problem with Sun Microsystems Java implementation for Linux, the real cause for this crash is still being investigated. There are no solutions to this problem yet.
Opcion crashes during execution when using Blackdown Java Virtual Machine.
Opcion Font Viewer was programmed for Sun Microsystems JVM, and it uses Suns Java API extensively. Thus, it is highly recommended that you use the latest Java Runtime Environment instead of other JVMs.
Enhancements:
- Added sorting to other fonts list.
<<less
Download (0.35MB)
Added: 2005-04-21 License: GPL (GNU General Public License) Price:
1673 downloads
DVDStyler 1.5

DVDStyler 1.5


DVDStyler is a crossplatform DVD Authoring System. more>>
DVDStyler is a crossplatform DVD Authoring System.
DVDStyler project is free software distributed under GNU General Public License (GPL).
Main features:
- drag and drop MPEG files directly
- import image file for background
- create NTSC/PAL menus
- place text and images anywhere on the menu screen
- change font/color
- put basic text buttons, change font/color and background color
- copy and paste any menu object
- set chapters for each movie
- change post command for each movie
<<less
Download (0.80MB)
Added: 2007-05-16 License: GPL (GNU General Public License) Price:
1258 downloads
Font Manager 0.0.1

Font Manager 0.0.1


Font Manager is a font manager for GNOME. more>>
Font Manager is a font manager for GNOME. Font Manager cannot do any font management tasks yet, but is already useful for picking fonts.
Main features:
- List installed fonts
- Add previews for installed fonts
- Open font properties from context menu
- Set system fonts from the font manager
- Make the font manager installable
<<less
Download (0.15MB)
Added: 2006-03-22 License: LGPL (GNU Lesser General Public License) Price:
1480 downloads
Font::FreeType::Glyph 0.03

Font::FreeType::Glyph 0.03


Font::FreeType::Glyph is a Perl module that contains glyphs from font typefaces loaded from Font::FreeType. more>>
Font::FreeType::Glyph is a Perl module that contains glyphs from font typefaces loaded from Font::FreeType.
SYNOPSIS
use Font::FreeType;
my $freetype = Font::FreeType->new;
my $face = $freetype->face(Vera.ttf);
$face->set_char_size(24, 24, 100, 100);
my $glyph = $face->glyph_from_char(A);
my $glyph = $face->glyph_from_char_code(65);
# Render into an array of strings, one byte per pixel.
my ($bitmap, $left, $top) = $glyph->bitmap;
# Read vector outline.
$glyph->outline_decompose(
move_to => sub { ... },
line_to => sub { ... },
conic_to => sub { ... },
cubic_to => sub { ... },
);
This class represents an individual glyph (character image) loaded from a font. See Font::FreeType::Face for how to obtain a glyph object, in particular the glyph_from_char_code() and glyph_from_char() methods.
Things you an do with glyphs include:
- Get metadata about the glyph, such as the size of its image and other metrics.
- Render a bitmap image of the glyph (if its from a vector font) or extract the existing bitmap (if its from a bitmap font), using the bitmap() method.
- Extract a precise description of the lines and curves that make up the glyphs outline, using the outline_decompose() method.
<<less
Download (0.093MB)
Added: 2007-08-07 License: Perl Artistic License Price:
812 downloads
Font Mate 1.0

Font Mate 1.0


Font Mate is a simple program to help you see how fonts look on your computer, and to help you find symbol characters. more>>
Font Mate application helps you to see how fonts look on your computer, and it also helps you find symbol characters.

Using Font Mate

There isnt much to it: Font Mate shows you a list of all the fonts installed on your computer. Choose any font from the list and it will show you what all the characters in that font look like. Choose any one of those characters and you will see an enlarged version of it at the bottom of the page (with its ASCII code in decimal and hex, should you be interested). Click the button to copy that character to the clipboard if you want to use it in another application.

Works on...

We wrote Font Mate originally for Mac OS X, but we have included versions for Windows and Linux too. We wrote it using REALbasic, a great tool for cross-platform rapid development. Source is available on request.

How much?

Font Mate is freeware. Download, use, share as you wish. No warranty is offered, and we accept no liability for anything strange or nasty that it might do to your computer.

And another thing

If you like Font Mate, why not have a look at our main site at tellura.co.uk and check out our other products and services?
<<less
Download (0.91MB)
Added: 2007-07-18 License: Freeware Price:
828 downloads
Hamster Font Manager 1.02

Hamster Font Manager 1.02


Hamster Font Manager is an easy GUI to manage fonts for X11/GS/TeX. more>>
HFM is a font manager for Unix systems. With it you can control the avaliability of fonts in all of the supported applications from a central place. Currently included are modules to support:

* X-Window
* Ghostscript
* TeX

A PostScript module handles PS Fonts. Other fonts remain untouched by this program.

HFM is distributed under the GPL (GNU Public License).
<<less
Download (0.23MB)
Added: 2005-04-21 License: GPL (GNU General Public License) Price:
1647 downloads
Gnome Font Sampler 0.4

Gnome Font Sampler 0.4


Gnome Font Sampler lets you browse your installed fonts using whatever color. more>>
Gnome Font Sampler lets you browse your installed fonts using whatever color, size, attributes (Bold/Italics/Underline), and example text you like.
Main features:
- Quickly compare your fonts
- Select font size, text color, background color, bold, italics, underline, and example text used
- Preview fonts before adding them to the list
- Pretty good keyboard control
- It costs $0 and is Free software
Enhancements:
- New application icon.
- Improved keyboard control (navigate font lists and choose fonts using just the keyboard).
<<less
Download (0.30MB)
Added: 2005-08-05 License: GPL (GNU General Public License) Price:
1543 downloads
Games::OpenGL::Font::2D 0.07

Games::OpenGL::Font::2D 0.07


Games::OpenGL::Font::2D module can load/render 2D colored bitmap fonts via OpenGL. more>>
Games::OpenGL::Font::2D module can load/render 2D colored bitmap fonts via OpenGL.

SYNOPSIS

use Games::OpenGL::Font::2D;

my $font = Games::OpenGL::Font::2D->new(
file => font.bmp );

use SDL::App::FPS;

my $app = SDL::App::FPS->new( ... );

# dont forget to change these on resize events!
$font->screen_width( $app->width() );
$font->screen_height( $app->width() );

$font->pre_output(); # setup rendering for font

$font->color( [ 0,1,0] ); # yellow as array ref
$font->color( 1,0,0 ); # or red
$font->alpha( 0.8 ); # nearly opaque

# half-transparent, red
$font->output (100,100, Hello OpenGL!, [ 1,0,0], 0.5 );
# using the $fonts color and alpha
$font->output (100,200, Hello OpenGL! );

$font->transparent( 1 ); # render font background transparent

$font->spacing_y( 16 ); # render vertical (costly rebuild!)
$font->spacing_x( 0 ); # (costly rebuild!)
$font->output (100,200, Hello OpenGL! );

$font->post_output(); # if wanted, you can reset OpenGL

EXPORTS

Exports nothing on default. Can export on demand the following:

FONT_ALIGN_LEFT
FONT_ALIGN_RIGHT
FONT_ALIGN_CENTER
FONT_ALIGN_TOP
FONT_ALIGN_BOTTOM

<<less
Download (0.022MB)
Added: 2007-08-13 License: Perl Artistic License Price:
809 downloads
Font::Scripts::AP 0.5

Font::Scripts::AP 0.5


Font::Scripts::AP is a Perl module for memory representation of a TTFBuilder Attachment Point database (APDB). more>>
Font::Scripts::AP is a Perl module for memory representation of a TTFBuilder Attachment Point database (APDB).

SYNOPSIS

use Font::Scripts::AP;
$ap = Font::Scripts::AP->read_font($ttf_file, $ap_file, %opts);
$ap->make_classes();

INSTANCE VARIABLES

cmap

Reference to the Microsoft cmap within the font.

font

Reference to a font structure. read_font will cause at least the post, cmap, loca, and name tables to be read in.

glyphs

An array of references to glyph data structures, indexed by glyphID. Stucture elements are:

uni

Unicode scalar value, if any, as specified in the APDB. (decimal integer)

gnum

Actual glyph ID from font.

post

Actual Postscript name from font.

Note: The uni, gnum and post values are based on the UID, GID, and PSName fields of the APDB. If there are descrepancies between the APDB and the fonts internal tables, then for calcuating the above three values, priority is given first to UID field, then PSName field, and finally GID.

glyph

Reference to glyph structure read from font.

line

Line number in APDB where glyph is defined.

points

A hash of references to attachment point structures for this glyph, keyed by attachment point type (aka name). Each AP structure contains

name

The name (type in TTFBuilder terminology) of the attachment point

x, y

X and Y coordinates for the attachment point

line

Line number in APDB where this point is defined.

components

Present if the glyph is a composite. Is a reference to an array of component structures. Each component structure includes:

bbox

comma separated list of bounding box coordinates, i.e., x1, y1, x2, y2

uni

Unicode scalar value, if any, of the component. (decimal integer)

Note: The following instance variables contain the actual text read from the APDB. If there are descrepancies between the APDB and the font, these values may differ from corresponding values given above. Therefore these values should not be used except for diagnostic purposes.

UID

Unicode scalar value, if any, as specified in the APDB. (string of hex digits)

PSName

Postscript name, if any, as specified in the APDB

GID

Glyph id, if any, as specified in the APDB

classes

Created by "make_classes", this is a hash keyed by class name returning an array of GIDs for glyphs that are in the class. Classes are identified by extensions (part after a .) on the post name of each glyph. For each such extension, two classes are defined. The first is the class of all glyphs that have that extension (class name is the extension). The second is the class of nominal glyphs corresponding to the glyphs with that extension (class name is the extension but with the prefix no_).

lists

Created by "make_classes", this is a hash keyed by attachment point name (as modified by "make_point") returning an array of GIDs for glyphs that have the given attachment point.

vecs

If defined, this variable will be updated by "make_classes". It is a hash, keyed by attachment point name (as modified by "make_point") returning a bit vec bit array, indexed by GID, each bit set to 1 if the corresponding glyph has the given attachment point.

ligclasses

Optionally created by make_classes if ligatures are requested and they exist. The base forms class is no_code while the ligatures are held in code.

WARNINGS

If -errorfh not set, this accumulates any warning or error messages encountered.

WARNINGS

Count of number fo warnings or errors encountered.

<<less
Download (0.10MB)
Added: 2006-10-03 License: Perl Artistic License Price:
1117 downloads
Debian Font Manager 0.11.8-0.1

Debian Font Manager 0.11.8-0.1


Debian Font Manager (dfontmgr) is a GUI frontend for Defoma. more>>
Debian Font Manager (dfontmgr) is a GUI frontend for Defoma. You can see the fonts registered to Defoma, their hints, their status (which applications they have succeeded or failed to register), the applications using Defoma framework and information about the applications and the contents of their id-caches.

You can also register a font by drag-and-drop a font file, unregister a registered font, change the hints of and re-register a registered font. If a defoma-aware application uses an id-cache and if theres an identifier conflict (which means some fonts provides the same identifier) in the id-cache, you can indicate which font should provide the identifier.

GUI versions of some utilities in Defoma and psfontmgr are also installed.
<<less
Download (0.040MB)
Added: 2006-08-02 License: GPL (GNU General Public License) Price:
1182 downloads
Font Configuration Library 2.3.94

Font Configuration Library 2.3.94


Fontconfig is a library for configuring and customizing font access. more>>
Fontconfig is a library for configuring and customizing font access.

Font Configuration Library contains two essential modules, the configuration module which builds an internal configuration from XML files and the matching module which accepts font patterns and returns the nearest matching font.

The configuration module consists of the FcConfig datatype, libexpat and FcConfigParse which walks over an XML tree and ammends a configuration with data found within. From an external perspective, configuration of the library consists of generating a valid XML tree and feeding that to FcConfigParse.

The only other mechanism provided to applications for changing the running configuration is to add fonts and directories to the list of application-provided font files.

The intent is to make font configurations relatively static, and shared by as many applications as possible.

It is hoped that this will lead to more stable font selection when passing names from one application to another. XML was chosen as a configuration file format because it provides a format which is easy for external agents to edit while retaining the correct structure and syntax.

Font configuration is separate from font matching; applications needing to do their own matching can access the available fonts from the library and perform private matching.

The intent is to permit applications to pick and choose appropriate functionality from the library instead of forcing them to choose between this library and a private configuration mechanism.

The hope is that this will ensure that configuration of fonts for all applications can be centralized in one place. Centralizing font configuration will simplify and regularize font installation and customization.
<<less
Download (1.1MB)
Added: 2006-03-01 License: Freely Distributable Price:
1332 downloads
Font::TTF::Glyph 0.40

Font::TTF::Glyph 0.40


Font::TTF::Glyph is a Perl module that holds a single glyphs information. more>>
Font::TTF::Glyph is a Perl module that holds a single glyphs information.

This is a single glyph description as held in a TT font. On creation only its header is read. Thus you can get the bounding box of each glyph without having to read all the other information.

INSTANCE VARIABLES

In addition to the named variables in a glyph header (xMin etc.), there are also all capital instance variables for holding working information, mostly from the location table.

The standard attributes each glyph has are:

numberOfContours
xMin
yMin
xMax
yMax

There are also other, derived, instance variables for each glyph which are read when the whole glyph is read (via read_dat):

instLen

Number of bytes in the hinting instructions (Warning this variable is deprecated, use length($g-{hints})> instead).

hints

The string containing the hinting code for the glyph
In addition there are other attribute like instance variables for simple glyphs:

For each contour there is:

endPoints

An array of endpoints for each contour in the glyph. There are numberOfContours contours in a glyph. The number of points in a glyph is equal to the highest endpoint of a contour.

There are also a number of arrays indexed by point number

flags

The flags associated with reading this point. The flags for a point are recalculated for a point when it is updated. Thus the flags are not very useful. The only important bit is bit 0 which indicates whether the point is an on curve point, or an off curve point.

x

The absolute x co-ordinate of the point.

y

The absolute y co-ordinate of the point

For composite glyphs there are other variables

metric

This holds the component number (not its glyph number) of the component from which the metrics for this glyph should be taken.

comps

This is an array of hashes for each component. Each hash has a number of elements:

glyph

The glyph number of the glyph which comprises this component of the composite.

args

An array of two arguments which may be an x, y co-ordinate or two attachment points (one on the base glyph the other on the component). See flags for details.

flag

The flag for this component

scale

A 4 number array for component scaling. This allows stretching, rotating, etc. Note that scaling applies to placement co-ordinates (rather than attachment points) before locating rather than after.

numPoints

This is a generated value which contains the number of components read in for this compound glyph.

The private instance variables are:

INFILE (P)

The input file form which to read any information

LOC (P)

Location relative to the start of the glyf table in the read file

BASE (P)

The location of the glyf table in the read file

LEN (P)

This is the number of bytes required by the glyph. It should be kept up to date by calling the update method whenever any of the glyph content changes.

OUTLOC (P)

Location relative to the start of the glyf table. This variable is only active whilst the output process is going on. It is used to inform the location table where the glyphs location is, since the glyf table is output before the loca table due to alphabetical ordering.

OUTLEN (P)

This indicates the length of the glyph data when it is output. This more accurately reflects the internal memory form than the LEN variable which only reflects the read file length. The OUTLEN variable is only set after calling out or out_dat.

<<less
Download (0.13MB)
Added: 2006-10-03 License: Perl Artistic License Price:
1117 downloads
FakeBold Font patches for QT 4.3.x 0.1

FakeBold Font patches for QT 4.3.x 0.1


FakeBold Font patches for QT 4.3.x fake a bold font style and output for some fonts without bold support. more>>
FakeBold Font patches for QT 4.3.x fake a bold font style and output for some fonts without bold support.

It is specially and very useful for CJK fonts. actually it works with all fonts without bold style.

Here I use FT_Glyph_Embolden to get a bold glyph.

These patches is not related to font rendering result, if you want to control font rendering result, please control fontconfig configurations.

Screenshot1: shows bold/bolditalic support with "SOng" and "Hei" Chinese font.

Screenshot1: shows bold/italic support for Chinese,Korean,Yi,Tibetan with Sans fontset(Song,SIL Yi, Tibetan machine uni fonts)

<<less
Download (0.004MB)
Added: 2007-08-10 License: GPL (GNU General Public License) Price:
809 downloads
Font::TTF::Scripts::AP 0.7

Font::TTF::Scripts::AP 0.7


Font::TTF::Scripts::AP is a memory representation of a TTFBuilder Attachment Point database (APDB). more>>
Font::TTF::Scripts::AP is a memory representation of a TTFBuilder Attachment Point database (APDB).

SYNOPSIS

use Font::TTF::Scripts::AP;
$ap = Font::TTF::Scripts::AP->read_font($ttf_file, $ap_file, %opts);
$ap->make_classes();

INSTANCE VARIABLES

cmap

Reference to the Microsoft cmap within the font.

font

Reference to a font structure. read_font will cause at least the post, cmap, loca, and name tables to be read in.

glyphs

An array of references to glyph data structures, indexed by glyphID. Stucture elements are:

uni

Unicode scalar value, if any, as specified in the APDB. (decimal integer)

gnum

Actual glyph ID from font.

post

Actual Postscript name from font.

Note: The uni, gnum and post values are based on the UID, GID, and PSName fields of the APDB. If there are descrepancies between the APDB and the fonts internal tables, then for calcuating the above three values, priority is given first to UID field, then PSName field, and finally GID.

glyph

Reference to glyph structure read from font.

line

Line number in APDB where glyph is defined.

points

A hash of references to attachment point structures for this glyph, keyed by attachment point type (aka name). Each AP structure contains

name

The name (type in TTFBuilder terminology) of the attachment point

x, y

X and Y coordinates for the attachment point

line

Line number in APDB where this point is defined.

components

Present if the glyph is a composite. Is a reference to an array of component structures. Each component structure includes:

bbox

comma separated list of bounding box coordinates, i.e., x1, y1, x2, y2

uni

Unicode scalar value, if any, of the component. (decimal integer)

Note: The following instance variables contain the actual text read from the APDB. If there are descrepancies between the APDB and the font, these values may differ from corresponding values given above. Therefore these values should not be used except for diagnostic purposes.

UID

Unicode scalar value, if any, as specified in the APDB. (string of hex digits)

PSName

Postscript name, if any, as specified in the APDB

GID

Glyph id, if any, as specified in the APDB

classes

Created by "make_classes", this is a hash keyed by class name returning an array of GIDs for glyphs that are in the class. Classes are identified by extensions (part after a .) on the post name of each glyph. For each such extension, two classes are defined. The first is the class of all glyphs that have that extension (class name is the extension). The second is the class of nominal glyphs corresponding to the glyphs with that extension (class name is the extension but with the prefix no_).

lists

Created by "make_classes", this is a hash keyed by attachment point name (as modified by "make_point") returning an array of GIDs for glyphs that have the given attachment point.

vecs

If defined, this variable will be updated by "make_classes". It is a hash, keyed by attachment point name (as modified by "make_point") returning a bit vec bit array, indexed by GID, each bit set to 1 if the corresponding glyph has the given attachment point.

ligclasses

Optionally created by make_classes if ligatures are requested and they exist. The base forms class is no_code while the ligatures are held in code.

<<less
Download (0.10MB)
Added: 2006-10-19 License: Perl Artistic License Price:
1110 downloads
Bit-mapped Japanese font parser 2.0

Bit-mapped Japanese font parser 2.0


Bit-mapped Japanese font parser is a font parser. more>>
Bit-mapped Japanese font parser is a font parser. Note, this package doesnt include the actual font data. To get the font data you need to download it from the download section in the left.
Then move *.jfr into the directory where you unpacked this parser, and follow with the quick instructions.
Quick instructions:
Complete parse requires about 4 megabytes of free disk space. This is a huge improvement over the original version which required almost 45 megabytes.
1. make
2. make parse
3. watch the progress indicator
4. mv *.pcf.gz /usr/X11R/lib/X11R6/fonts/misc
5. make clean
6. HUP your font server if you use one
7. xset fp rehash
8. xlsfonts | grep kanji
/usr/X11R/lib/X11R6/fonts/misc is the standard location for all sorts of random bit-mapped fonts, but you might have a special location. Substitute that in step 4.
About:
I came across a number of these "raster fonts" a while ago. Quick look inside the files proved that they are bit-mapped fonts, and the format looked pretty straight-forward. I wrote the original parser for these just guessing the values, basically by experimenting and playing around. Later on I came across some docs on the subject - looks like these fonts were used in Windows 3.1 Japanese edition to substitute back-then low quality Japanese TTF fonts at small point sizes. These were designed using full-scale 16 bit programming techniques.
Quick info about the font format, there are some headers, then follows a "segment table" which is basically a table with pointers inside the font file where to locate a particular chunk of data. Because the 16 bit way of accessing memory is by using 65k "segments", each file is virtually split into < 65k segments which get loaded into separate memory areas, and then there is a algorithm how to assemble whatever character by using the segment number and offset. Anyway, with 32 bit access all of that doesnt really matter. In my implementation I just mmap the whole file and read it all out of memory.
Generating table.h was a LOT of work! First, I took the codearea table out of one of the jfr files (this maps shift-jis code to the character number inside the font file), and extracted the number ranges. These were shift-jis, of course, and X uses jis0208. There is no converter from a shift
jis byte into jis0208. So I had to write one. Taking iconv, and some tables from glibc 2.1.93, I hacked together something which converted the shift-jis data into ucs4 (unicode, I guess) and then from that into jis0208. The code to the converter is about 500k thanks to the huge jis->unicode->jis conversion tables, and you wont need it unless you get a jfr font with a different encoding table (unlikely). Anyway. After I got the font format figured out and converted the character table, everything else was pretty easy. Note some bit hackery in the bitmapXX() functions which was necessary to present the font data in a usable format. Also notice cool use of function pointers to select a conversion function at runtime.
Enhancements:
- This version uses correct JISX0208 tables, and is much faster.
<<less
Download (0.020MB)
Added: 2006-10-19 License: GPL (GNU General Public License) Price:
1101 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5