kopsis
Group: Members
Posts: 65
Joined: July 2005 |
|
Posted: Aug. 04 2005,21:52 |
|
Ok, I had a few free minutes so I did a little digging
There's a chance that making the MS TrueType fonts available to GTK2 apps may be as simple as doing:
Code Sample | sudo ln -s /opt/msttcorefonts/TrueType /usr/share/fonts/msttcorefonts
|
and then doing the "Update to GTK2" thing. I can't test this tonight, but if anyone wants to take a shot and post their results, I'd welcome it. Even if that doesn't do it, the fix is going to be something along those lines so I'll mod the scripts to build a .dsl instead of a .tar.gz and include the necessary links into /usr. Yeah, that means mkwriteable, but it looks like TrueType fonts only work with XFree86.dsl so that's a non-issue.
I tried getting KDrive (aka Xvesa, aka Xfbdev) to pull fonts from an xfstt font server daemon, but no joy. Looks like the tiny DSL X server wasn't built with font server support
So what to do about folks who can't or don't want to run XFree86? Here's my thoughts:
I can modify my font extraction scripts to actually generate two extensions -- one that has the real TrueType fonts and another that has them converted to bitmap (.pcf.gz) fonts at relatively common point sizes (6, 8, 10, 11, 12, 14, 16, 20, 24, 32, 48?). I've tested that with a couple that I converted manually and it actually works! The fonts aren't scalable so if you need a point size that isn't available it looks ugly ... but for supported point sizes the fonts look just like their TrueType counterparts. Not a perfect solution, but it at least give users a chance of viewing web pages and documents the way the authors created them
The resulting extension will take somewhere between 6 and 10 MB but will be a .tar.gz extension so if you have an HD (or flash) for /opt it won't take any RAM.
Anyone have any thoughts on that? Would it be a worthwhile exercise or will all the folks that need fonts be happy to run XFree86? I'll probably build this regardless just because I have some use for it, but feedback before I do is certainly welcome.
|