OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: mugur on October 11, 2004, 06:48:30 am

Title: How to add new font to OPIE/OZ?
Post by: mugur on October 11, 2004, 06:48:30 am
Hi all,
I want to add my poodle some new fonts. Particularly for Turkish (ş,ö,ü,ğ,ç,ı,İ). While I was using SHARP ROMS, there were several font packs I have downloaded from ZSI. But when I try to install them, they suffered from qpe-base dependancy. I have searched the forum; but I could not find the exact answer. Should I use "makeqpf" to form qpf fonts from a TTF? If so, where should I install the *.gpf in the OPIE/OZ filesystem?
Meanwhile there are a lot *-tr-*.ipk packages in the OPIE feed what are they and how can we use them?
Thanks for help...
Mugur
Title: How to add new font to OPIE/OZ?
Post by: Hrw on October 12, 2004, 04:43:18 am
You can contact with packages authors to get permission for use fonts which they generate in new packages. Then unpack them and repackage. I did it with some fonts from Peter Mikula - they are repackaged and included in OZ 3.5.1.

When you get a permission I can package them for OZ 3.5.2.
Title: How to add new font to OPIE/OZ?
Post by: mugur on October 12, 2004, 05:52:38 am
Hi Hrw,
Thanks for your information. Actually the font pack I was talking was Peter Mikula's font pack.
 
Quote
While I was using SHARP ROMS, there were several font packs I have downloaded from ZSI. But when I try to install them, they suffered from qpe-base dependancy

 I was very satisfied with the mico-unicodefonts-verdana_1.5.0-1_arm.ipk, it could show the characters I have mentioned earlier. Can you send me the repackaged form of these fonts or a link that I can download them? Thanks for your help...

Meanwhile I would be glad if you can teach me how I can fish, not just eating fish...
 
Thanks again...
Title: How to add new font to OPIE/OZ?
Post by: zenyatta on October 18, 2004, 06:34:56 pm
Well, I had a look at the packages from http://www.pobox.sk/~mico/zaurus.html (http://www.pobox.sk/~mico/zaurus.html) and though I don't have the time to re-package them for OZ3.5.1, I did manage to install them with this workaround:
Code: [Select]
cd /opt
ln -s QtPalmtop Qtopia
touch QtPalmtop/lib/fonts/helvetica_fake_file
ipkg install --force-depends /path/to/mico-*.ipk
The problem is that the fonts want to install themselves in /opt/Qtopia rather than /opt/QtPalmtop - hence the symlink. Furthermore, helvetica's preinstall script tries to back up the existing, non-unicode, helvetica and fails if the font is missing -hence the fake_file. The qpe-base dependency is equivalent to opie-base so it can be safely ignored - hence force-depends.

Another thing to consider is that you will probably want to install to a different destination than root (e.g. ipkg install -d cf --force-depends /path/to/mico-*.ipk) since these packages are quite large. I compromised by installing helvetica to root and the rest to cf (I want to have at least one unicode font that will work even with an empty CF slot).

The georgia font still refused to install and I eventually gave up trying to persuade it. Ipkg complains that the package cannot be found. I've had that problem once ages ago but I don't remember what causes it - something in the .ipk's structure I believe.

Hope this helps.

z.
Title: How to add new font to OPIE/OZ?
Post by: Hrw on October 22, 2004, 10:02:36 am
that fonts are repackaged - look into "upgrades" feed.