Use TrueType fonts in Puppy applications

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
Jan
Posts: 6
Joined: Fri 18 Nov 2005, 10:39
Location: Switzerland

Use TrueType fonts in Puppy applications

#1 Post by Jan »

1.Go to

http://www.murga.org/~puppy/viewtopic.php?t=3247

2.RTFM :-) and Download/install mkfontdir.pup

3. Make this script.
WARNNG! i'm a newbie in this but the script seems to work.

#!/bin/sh
cp /root/.fonts/fonts.dir /root/.fonts/fonts.dir.bak
cp /root/.fonts/fonts.scale /root/.fonts/fonts.scale.bak
mkfontscale /root/.fonts
mkfontdir /root/.fonts

4. copy your .ttf font files to /root/.fonts {you can maybe find some in c:\windows\fonts or elswhere}

run the script and the fonts will work in your applications.

ENJOY!

This origins from bombayrockers post.

http://www.murga.org/~puppy/viewtopic.php?t=4002

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#2 Post by darkcity »

updated links from the above post

Intresting Screenshots
http://www.murga-linux.com/puppy/viewtopic.php?t=4002

mkfontdir and mkfontscale - creates an index of fonts
http://www.murga-linux.com/puppy/viewtopic.php?t=3247

:twisted:

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#3 Post by GustavoYz »

Pfont2 and Pfont will do the trick easilly.
And u can use ttf and otf fonts in the terminal too.

Code: Select all

rxvt -fn "xft:Font Name:size=xx"...

Post Reply