Hello!
I have problem to select an desired font to ImageMagick. (Windows XP)
Name on fonts in windows have often spaces in the windows font names
(for examples. "Lucida Sans" "Loki Cola" "Sheer Beauty" "Georgia Bold Italic" ....)
If I want use a font with spaces in their name I get the following error message.
"convert: unable to read font 'Sheer Beauty' @ annotate.c/RenderType/807."
I have tried to solve the problem, but failed
It doesn't help to write ...... -font "Loki Cola" ......
I can´t rename the font name..... (or I don't know how)
ImageMagick seems select the font name (not the filename)
and I get error message: ".....Unable to read font........
//Jan
font name with space - Problem! (Solved)
font name with space - Problem! (Solved)
Last edited by Albireo on 2010-01-12T13:39:05-07:00, edited 1 time in total.
Re: font name with space - Problem!
Jippi!
I got the answer! (thank's! Pete!).
- Font names with spaces, indicated with a hyphen "-"
- What fonts will work with IM, can you see with the command:
Example on the result:
//Jan
I got the answer! (thank's! Pete!).
- Font names with spaces, indicated with a hyphen "-"
- What fonts will work with IM, can you see with the command:
Code: Select all
identify -list font
Code: Select all
Font: Loki-Cola
family: Loki Cola
style: Normal
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\lokicola.ttf
Font: Sheer-Beauty-Regular
family: Sheer Beauty
style: Normal
stretch: Normal
Font: Lucida-Sans
family: Lucida Sans
style: Normal
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\lsans.ttf
Font: Lucida-Sans-Demibold
family: Lucida Sans
style: Normal
stretch: Normal
weight: 600
glyphs: c:\program files\ibm\java141\jre\lib\fonts\lucidasansdemibold.ttf
Font: Lucida-Sans-Demibold-Oblique
family: Lucida Sans
style: Oblique
stretch: Normal
weight: 600
glyphs: c:\program files\ibm\java141\jre\lib\fonts\lucidasansdemioblique.ttf
Font: Lucida-Sans-Kursiv
family: Lucida Sans Kursiv
style: Normal
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\lsansi.ttf
weight: 400
glyphs: c:\windows\fonts\sheerbeauty.ttf