CreateFontsForOpie

Linux PDA: make new font for Opie (1.0.3 and 1.17) from TTF BDF font

This memo had been tested with iPAQ 3800 3970 and 5450 with Opie 1.0.3 (familiar 0.7.2) and 1.17 (familiar 0.8.0).

1. Download: http://moria.ionkov.net/zaurus/makeqpf/makeqpf-arm.zip

2. unzip you get file makeqpf-arm

3. copy to /usr/bin


 * 1) cp /mnt/card/makeqpf-arm /usr/bin

4. Get your ttf font (you may copy from \windows\fonts or download free font from internet)

5. Copy that font to /opt/QtPalmtop/lib/fonts

example:

6. Modify file: fontdir to have contents as

tahoma tahoma.ttf FT n 50 0 su 70,80,100,120,140,160

Some Meaning:

FT is for ttf file, BDF is for bdf file

n is not italic (y is italic)

50 is normal, 75 is bold

70,80,100.... is the font size start from 7,8,10,12,14,16

see the details at http://www.qtcenter.co.kr/manual/qt-3.0.4/emb-fonts.html

7. Run following command (some error message but no problem)
 * 1) makeqpf-arm -A -f /opt/QtPalmtop/lib/fonts/fontdir
 * 2) makeqpf-arm -A -display Transformed:Rot90 -f /opt/QtPalmtop/lib/fonts/fontdir
 * 3) makeqpf-arm -A -display Transformed:Rot180 -f /opt/QtPalmtop/lib/fonts/fontdir

now you may restart opie, or

8. You can remove now true type font and records in fontdir file and update this file for new qpf files

9. Change your default font at, Settings > Appearance > Font (tap at second menu) > Tahoma > ok

Now your opie font change from Fixed to Tahoma...

That's it.

Reference:

http://www.qtcenter.co.kr/manual/qt-3.0.4/emb-fonts.html

http://www.qtcenter.co.kr/manual/qt-3.0.4/makeqpf.html

http://dejavu.sourceforge.net/wiki/index.php/DejaVu_for_Opie/Qtopia

Same contents here http://en.pdamobiz.com/en/forum/forum_posts.asp?TID=171

--- GintsPolis 31.01.2004 - added some changes

Some links are broken.

Use that link.

http://cacko.oesf.org/downloads/fonts/makeqpf-arm.zip

http://www.handhelds.org/~gints/makeqpf-arm.zip

http://www.handhelds.org/~gints/makeqpf.zip (Desktop version)

--- Seoksam adds some links. 10.4.2006