Closed ghost closed 2 years ago
@xtoba: If you are interested, I now have modified code on my own repository. This can be used with or without gnome-font-viewer, although its source code is based on that. I developed this directly on Termux. It should compile without need of path modifications.
https://github.com/rallg/Fontview-Dual
Why I did that: I am using FontForge (on Termux), and wish to compare my work versus something else. The original gnome-font-viewer cannot show two fonts side-by-side.
Package description
With GUI, displays some sample text for a chosen font. If program is launched directly, it provides a list of installed fonts, then you may pick one. Or, you may open any font (even if not installed) in the viewer. This program does not have a lot of capabilities. It can only display one font at a time (see below), and it does not allow user-defined text string for the sample. But I do not know of any other font viewer that is likely to work in all GUI installations.
Home page URL
No response
Source code URL
https://github.com/GNOME/gnome-font-viewer/releases/tag/41.0
Packaging policy acknowledgement
Additional information
Note that the link is to source code for release 0.41. This is important, because it does not use GTK4. The current master uses GTK4, and may not work with currently-available resources.
I have built this program, using edited code. The complete code requires 'gnome-desktop' and possibly 'totem', which will not be available on all systems. But if all references to thumbnails are removed, the code will easily build and provide a useful feature, without needing 'gnome-desktop' or 'totem'. So yes, it works well, with limited features.
I have also hacked the code, by changing the program name and similar names wherever they appear. The built program can be installed side-by-side with the original. That provides two different font windows, so two fonts can be compared.
My system is Termux on Android 11, 32-bit, Samsung 10.1 inch WiFi Tablet. GUI is xfce4.