myDSL Extensions (deprecated) :: Has anyone built an msttcorefonts.dsl?
Hi ke4nt1:
I tried running "update-fonts-dir" but bash does not recognize the command. I will look up the syntax. Thanks for the advice. I'll keep trying.
sci_fiIt may be a part of the gnu-utils.dsl package, and not included in the busybox group of utils.
Quote
root@ttyp0[dsl]# update-fonts-dir /usr/sbin/update-fonts-dir: one or more font directories must be provided. root@ttyp0[dsl]#
73 ke4ntke4nt:
Yes, it is part of the gnu-utils.dsl package. I installed the package, and ran "update-fonts-dir /opt/msttcorefonts/TrueType, as suggested. It runs but gives a warning about the absolute path to the font directory.
I then ran "xset +fp /opt/msttcorefonts/TrueType" but get exactly the same error as before, ie. 51. I tried adjusting the file permissions again but no luck.
I have noticed that somewhere in all this, a file, msttcorefonts.lst was created in the root directory. Seems an odd place. I tried copying it into both /opt/msttcorefonts and /opt/msttcorefonts/TrueType directories, but it made no difference.
Not sure what to try next. Any ideas?
Thank you for your help.
sci_fiYou shouldn't have to mess with update-fonts-dir or any of the other means of generating .dir and .scale files since that's already taken care of when you build the extension.
I think the problem is that Kdrive (DSL's tiny X server) just doesn't include a TrueType font renderer. Not surprising since that would run counter to the goal of keeping it small.
To use TrueType fonts in DSL you're probably going to have to run the XFree86 extension which provides a full featured X server including the standard suite of font rendering engines.The absolute path would be /ramdisk/opt/msttcorefonts/TrueType
Or, try cd'ing into the TrueType directory directly, and running " update-fonts-dir . "
It should not give an error about absolute pathing..
Then try the xset + command, after first seeing your fonts listed in a file called fonts.dir in that TrueType directory..
Kopsis point about truetype rendering may be true, although there is already a truetype bitstream font in place in my system, at /usr/share/fonts/truetype/