Page 2 of 2
Posted: Sat 03 Sep 2011, 10:53
by darkcity
It can preview ttf fonts- it create an image file in /tmp
however for some reason it doesn't display the image file correctly in the app itself.
---
When you click preview - do you get a window containing a description of the font but no image?
Posted: Tue 23 Oct 2012, 14:40
by thunor
Great, works for me on Slacko 5.3.3
I'm actually interested in the preview part only as you might've guessed from my
pfontview program and I've found that changing ROX's "Set Run Action..." to
ttf "@" does the trick.
The fonts which I've downloaded that gtk/Pango refuse to initialise to are successfully shown using your ttf program so that's good.
Regards,
Thunor
Posted: Wed 31 Oct 2012, 16:50
by thunor
Hi vovchik
Can I recommend something?
In pfont2, in function make_gui() there is an entry widget for the filename, add this:
In pfont2, at the bottom where make_gui is called, change it to this:
Now you can pass in a filename from another program i.e. pfontview's Pfont2 menuitem.
In ttf, comment-out the following code to stop limiting files to *.ttf files:
Code: Select all
mylow=$(echo $mysuffix |tr '[A-Z]' '[a-z]')
...
...
if [[ "$mylow" == "ttf" ]]; then
...
...
else
gtkdialog-splash -placement top -timeout 4 -fontsize medium -icon "gtk-dialog-error" -text "$msg_nottf"
fi
Now you can view *.otf files
Regards,
Thunor
Posted: Fri 12 Oct 2018, 02:12
by perdido
The last version of puppy this worked correctly was Puppy Precise 5.7.1
Nice utility, would be nice if updated for later puppies.
.