Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (8) </ 1 2 3 [4] 5 6 7 8 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Has anyone built an msttcorefonts.dsl?< Next Oldest | Next Newest >
kopsis Offline





Group: Members
Posts: 65
Joined: July 2005
Posted: July 30 2005,13:58 QUOTE

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.
Back to top
Profile PM WEB YIM 
sci_fi Offline





Group: Members
Posts: 23
Joined: Jan. 2005
Posted: Aug. 02 2005,21:39 QUOTE

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_fi
Back to top
Profile PM 
kopsis Offline





Group: Members
Posts: 65
Joined: July 2005
Posted: Aug. 02 2005,22:25 QUOTE

From 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.
Back to top
Profile PM WEB YIM 
sci_fi Offline





Group: Members
Posts: 23
Joined: Jan. 2005
Posted: Aug. 02 2005,23:17 QUOTE

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.

Thanks again.

sci_fi
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Aug. 02 2005,23:42 QUOTE

Anyone tried running " update-fonts-dir /path/to/new/fonts "
( as root )

This should make a new fonts.dir file in the new font directory,
then the xset command may work for you.

73
ke4nt
Back to top
Profile PM 
36 replies since July 21 2005,15:26 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (8) </ 1 2 3 [4] 5 6 7 8 >/
reply to topic new topic new poll
Quick Reply: Has anyone built an msttcorefonts.dsl?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code