myDSL Extensions (deprecated) :: Has anyone built an msttcorefonts.dsl?
Quote (RoGuE_StreaK @ July 30 2005,01:42)
Any thoughts on adding other ttf fonts using this system?
It turns out that adding TrueType fonts is pretty easy. This tool is handy for the MS fonts because a) there's a bunch of them and most folks will want them all, and b) they're packed up in silly .exe files so you need to extract and rename them. Doing all that manually would be pretty painful.
For adding individual fonts, these instructions should work. The dpkg-deb extension will allow you to "apt-get install fttools" which gives you the mkttfdir script you need to build the control files. Unless you're installing tons of fonts, we're only talking about a few files so once you get them setup, simply adding them to .filetool.lst may be easier than trying to create an extension.
I suppose if there's enough demand, I could whip up a more generic font installer extension, but I don't think most of the folks using DSL would have much need.Hello Kopsis:
I am using the scripts you have most graciously provided.
My situation:
Just upgraded to DSL 1.4 and followed the directions regarding your scripts, etc. which I found in this thread. The scripts seem to work just as advertised. At the end of the process, the core fonts are present in the /opt/msttcorefonts/TrueType directory.
My problem is that my applications (Firefox and OpenOffice) don't see the fonts.
I thought from reading this thread that, after following the procedures, the fonts would be available and automatically accessed by applications. Apparently not. I feel like I am missing something obvious, but ...
I have closed and re-run the ap's, re-booted, to no avail.
Any advice would be much appreciated.
Again, thanks for your efforts on the scripts. They appear work perfectly as far as retrieving and getting the fonts into the file system.
Best Regards,
sci_fiFrom an Aterm try the following command:
Code Sample
xset +fp /opt/msttcorefonts/TrueType
That will register the new font directory with the X server. After that apps like Firefox and OO should see the new fonts. If that doesn't work, give me some more details about your system (like are you using the XFree86 extension or the standard DSL X server) and I'll try to reproduce the problem.Hello kopsis:
I tried running: xset +fp /opt/msttcorefonts/TrueType as root.
The command fails with bad font path element (#51), possible causes are:
Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax ---------------------------------------------------------------------- fonts.dir is present in the TrueType directory. I can't tell if it is corrupted or not. I changed permissions on the TrueType directory - no joy
Not sure about the font server address since all the files are local.
I am running DSL 1.4 liveCD. The download was dsl-1.4.iso. I am not sure about your other questions regarding configuration but will check.