Requirements
Gtkdialog >= 0.8.2 - http://code.google.com/p/gtkdialog/
fc-query - part of fontconfig - http://fontconfig.org/
fc-query
I'm using Slacko 5.3.3 and it comes with fontconfig but fc-query is not included within the fontconfig builtin, so Slacko 5.3.3 users at least will require it but I've compiled fc-query on my computer and then processed it with "strip --strip-unneeded" which I've attached below -- place it in ~/my-applications/bin or /usr/bin, you decide. If you want to compile it then run "fc-list -V" to get the version of fontconfig on your computer so that you can download the correct source package, use the recommended configure options settings from the INSTALL file but change --prefix=/usr to --prefix=/tmp/fontconfig, make and then make install. You'll find fc-query in /tmp/fontconfig/usr/bin.
pfontview [Updated 2012-11-08 to version 0.1.3]
Source code package: http://code.google.com/p/gtkdialog/downloads/list
Pet package:
- Download the source package, extract it and change into the directory.
- Type "make DESTDIR=pfontview-0.x.x install"
- Type "dir2pet pfontview-0.x.x" and keep pressing Enter until the "GUI window" appears and then press the "Generate..." button.
- Click on pfontview-0.x.x.pet to install.
pfontview expects a ttf file but you're unlikely to be using this on the command-line so make this the default application for ttf files. In ROX-Filer you'd achieve this by right-clicking a ttf file and selecting "Set Run Action..." and entering pfontview "$@".
Internationalisation
funci18nApply contains the few strings that will require translating for other languages and if you attempt it then dump your text here and I'll add it to the project.
fc-query extracts font information not only in English but in whatever languages (I guess) that the font supports, so "Bold" can be "Negreta", "fed", "Fett", "Gras" etc. which I'm assuming that I'm supposed to be using as a developer when I request bold on a non-English computer. So, if the font information outputs "Bold" in your native language then I'll use it, else I request the English equivalent which will be available. I guess we'll find out now if my assumption is correct
Regards,
Thunor