I have been trying to understand the font usage. If th font file is a ttf, it works fine referencing the file, but if the file is a .fon file, it does not work. Should this work? I am on a windows system.
Thanks, Troy
.fon font files don't seem to work.
Re: .fon font files don't seem to work.
I do not think .fon are supported; I always use .ttf fonts.
-font name
use this font when annotating the image with text.
Use the -list option with a 'Type' argument for a list of -font that IM knows about by name. Or you can specify a font file for direct use.
You can tag a font to specify whether it is a PostScript, TrueType, or OPTION1 font. For example, Arial.ttf is a TrueType font, ps:helvetica is PostScript, and x:fixed is X11.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: .fon font files don't seem to work.
There are a lot of fonts that the 'freetype' library is suposed to understand but which IM does not pass to that library correctly.
One such group is the X windows fonts whcih ONLY work if an interactive X server display is running.
I think .fon files may also fall into this catagory.
All you can do is report a bug on the bugs forum.
One such group is the X windows fonts whcih ONLY work if an interactive X server display is running.
I think .fon files may also fall into this catagory.
All you can do is report a bug on the bugs forum.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/