Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.894.862 Times

Bit-mapped Japanese font parser 2.0

  Date Added: March 25, 2010  |  Visits: 801

Bit-mapped Japanese font parser

Report Broken Link
Printer Friendly Version


Product Homepage
Download (77 downloads)



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. Whats New in This Release: - This version uses correct JISX0208 tables, and is much faster..

Requirements: No special requirements
Platforms: Linux
Keyword: Bit-mapped Bitmapped Desktop Environment Font Fonts Japanese Japanese Font Parser Table
Users rating: 0/10

License: Freeware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


BIT-MAPPED JAPANESE FONT PARSER RELATED
Desktop Utilities  -  Equinox Desktop Environment 1.1
Equinox Desktop Environment (shortly EDE) is small desktop environment, builted to be simple and fast. Comparing to other desktop environments, EDE is much faster and smaller in memory space (EDEs window manager use less memory than xterm)....
1.3 MB  
Desktop Utilities  -  AntiRight Desktop Environment 3.4
AntiRight Desktop Environment is a lightweight and scripted desktop environment that uses the Motif toolkit. Development is carried out with a minimalistic philosophy in mind. The software consists of a text editor, a desktop panel, a sticky...
102.4 KB  
Shell & Desktop  -  DejaVu fonts 2.19
The DejaVu fonts are a font family based on the Bitstream Vera Fonts release 1.10 (see the list of other Bitstream Vera derivatives or Unicode Font Guide). DejaVu fonts purpose is to provide a wider range of characters (see Current status page...
 
Desktop Toys  -  Desktop Environment For Kids 0.1
The Desktop Environment For Kids is a kid friendly environment for UNIX/Linux, complete with kid oriented desktop themes and desk accesories.
51.2 KB  
Desktop Utilities  -  XPde 0.5.1
XPde is a complete desktop environment for Linux on x86. It tries to make easier for Windows XP users to use a Linux box. Nothing more, no clipboard compatibility between Gtk and Qt applications, no emulation of Windows applications, no...
4.6 MB  
Desktop Utilities  -  FOX Desktop 0.1.12
FOX Desktop is a lightweight desktop environment based on the FOX Toolkit. It includes various tools and programs to make life easier. FOX Desktop includes a desktop and taskbar. FOX Desktop is licensed under the GNU General Public License....
45.06 KB  
File Utilities  -  Thunar 0.8.0
Thunar application is a new modern file manager for the Xfce Desktop Environment. Thunar has been designed from the ground up to be fast and easy-to-use. Its user interface is clean and intuitive, and does not include any confusing or useless...
7.3 MB  
Desktop Utilities  -  Xynth 0.8.40
Xynth project is an portable and embedded interface between display hardware (the mouse, keyboard, and video displays) and the desktop environment that works on many hardware, including embedded devices..
1.3 MB  
Desktop Utilities  -  GEX 0.6.11
GEX is just another desktop environment. Definitely nothing special. But it has one feature that no other desktop environment could provide: GEX is mine and gets all the features that I need and nothing else. Another reason for this little...
256 KB  
Desktop Utilities  -  SimpleKDE 3040101
SimpleKDE is a lightweight desktop environment for UNIX and UNIX based operating systems like Linux, FreeBSD, and OpenSolaris. Shortly it provides a graphical user interface on top of UNIX shells. SimpleKDE is not written from scratch; in fact,...
25 MB  
NEW DOWNLOADS IN LINUX SOFTWARE, SHELL & DESKTOP
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Shell & Desktop  -  Glunarclock 0.32.4
GNOME Lunar Clock Applet displays the current phase of the Moon as an applet for the gnome panel. In the properties box you can choose between a real image Features Pointing with the mouse at the applet...
522.24 KB  
Shell & Desktop  -  KOpenBabel 0.2
KOpenBabel is a graphical interface to Open Babel.[1] KOpenBabel can handle and convert over 70 chemical file formats. At this time, it can convert files, guess input file type and convert a large number of files with a single click. The user...
20.48 KB  
Shell & Desktop  -  Fekete 5
Icon theme for Linux For all possible desktop, and Linux distro Special additives: Suse's Yast icons. Xfce system icons, and archaic mimetypes icons Mandriva "special placed" status icons. Libreoffice icons.
71.59 MB  
Shell & Desktop  -  DesktopTools 02-alpha
DesktopTools is a collection of small utillities which help to make your daily life easier. Since the tools themself are rather small (projectwise) I keep them not as individual projects, but have them under this collective name.
102.4 KB  
Shell & Desktop  -  XFast 0.9
XFast is a slim and lightweighted desktop environment that incorporates X and Window Manager within the same project.
1.15 MB