Page 1 of 1

How to add fonts to type.xml file in windows ?

Posted: 2009-09-09T04:57:32-07:00
by jakthegr8
Hi all, i am new to imagemagick, i am working in windows env... actually iam using rmagick with imagemagick.. there i convert text to image, it is working for normal roman characters like english but not working fine for non english characters like "入文字或网页".. it shows like ??????.. after an one day i googled and found that there is no problem with ruby or database.. it is with image magick, when i stored data in utf8 format.. when i retrive it and it show the text correctly as it is, in a utf8 file.. when i run the below command it shows error for unicode and font....

convert -background lightblue -fill blue -pointsize 32 label:' é è à ù ç Ö ÿ ‘ ’ “ ” ° ² ³ € x ÷ ' label_i8n.gif
Error:
C:\Documents and Settings\mobileworx>convert -background lightblue -fill blue -p
ointsize 32 label:' é è à ù ç Ö ÿ ` ' " " ° ² 3 ? x ÷ ' label_i8n.gif
convert: unable to open image `Θ': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `Φ': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `α': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `∙': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `τ': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `╓': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image ` ': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `æ': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `Æ': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `ô': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `ö': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `░': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `▓': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `│': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `Ç': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `x': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `≈': No such file or directory @ blob.c/OpenBlob/2
489.
convert: unable to open image `'': No such file or directory @ blob.c/OpenBlob/2
489.

i also installed the Japanese font
convert -background lightblue -fill blue -pointsize 32 -font=HTZB_6.ttf -encoding=Unicode label:'テキストや' label_i8n.gif
Error:
convert: unable to read font `c:\windows\fonts\HTZB_6.ttf' @ annotate.c/RenderTy
pe/787.


i also specified the font location like below
convert -background lightblue -fill blue -pointsize 32 -font c:\windows\fonts\HTZB_6.ttf label:'テキストや' label_i8n.gif

Error:
convert: unrecognized option `-encoding=Unicode' @ convert.c/ConvertImageCommand
/1297.

How to add fonts to type.xml file in windows :shock:
quick response help me more.. i struggle with this problem over a week..... :D

Re: How to add fonts to type.xml file in windows ?

Posted: 2009-09-09T09:42:54-07:00
by fmw42

Re: How to add fonts to type.xml file in windows ?

Posted: 2009-09-10T00:32:28-07:00
by jakthegr8
fmw42 wrote:see viewtopic.php?f=3&t=14582&hilit=utf+unicode

perhaps that will help
i followed the link.. but i have same issue... for example
convert -background lightblue -fill blue -pointsize 32 -font arial label:@testchars.txt other.jpg

in tha file @testchars.txt containing text as: văn bản hoặc trang web

the o/p image is like " ?văn bản hoặc trang web " like it have an ? before that string.... :(

Re: How to add fonts to type.xml file in windows ?

Posted: 2009-09-10T09:42:51-07:00
by fmw42
the file MUST be storing or encoding in utf-8, not just using those characters. Your text editor must be compatible with utf-8 encoding and save the file with utf-8 encodings. Perhaps your font is not utf-8 compatible.

Re: How to add fonts to type.xml file in windows ?

Posted: 2009-09-11T00:35:37-07:00
by jakthegr8
fmw42 wrote:the file MUST be storing or encoding in utf-8, not just using those characters. Your text editor must be compatible with utf-8 encoding and save the file with utf-8 encodings. Perhaps your font is not utf-8 compatible.
i store the file in the utf8 enabled file.. i used notepad++.. it is working fine.. my question is when i convert the text in to image that time only the error showed like below
Input :" văn bản hoặc trang web " => output: " ?văn bản hoặc trang web ".. how to check whether the font have utf-8 compatible ? and where to downlaod zekahi fonts with utf-8 compatible ?. now iam moved to linux (centos) . here i installed all fonts using package manger like japanese and chinese + other extra languages.. and installed image magick with following configuration

./configure --with-freetype=Yes --enable-lzw=yes --enable-shared=yes --disable-static --without-perl --with-gs-font-dir=default --with-windows-font-dir=/usr/share/fonts/chinese/TrueType

but when i checked the installation:
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=no no
Module support --with-modules=yes yes
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no

Delegate Configuration:
BZLIB --with-bzlib=yes no
Autotrace --with-autotrace=no no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=no no
FreeType --with-freetype=Yes no
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.15.2)
Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/default/Type1/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes no
LCMS --with-lcms=yes no
LQR --with-lqr=yes no
Magick++ --with-magick-plus-plus=yes no (failed tests)
OpenEXR --with-openexr=yes no
PERL --with-perl=no no
PNG --with-png=yes yes
RSVG --with-rsvg=no no
TIFF --with-tiff=yes no
Windows fonts --with-windows-font-dir=/usr/share/fonts/chinese/TrueType /usr/share/fonts/chinese/TrueType/
WMF --with-wmf=yes no
X11 --with-x= no
XML --with-xml=no no
ZLIB --with-zlib=yes yes

X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =

Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.5.3
CC = gcc -std=gnu99
CFLAGS = -fopenmp -g -O2 -Wall -W -pthread
MAGICK_CFLAGS = -fopenmp -g -O2 -Wall -W -pthread
CPPFLAGS = -I/usr/local/include/ImageMagick
PCFLAGS = -fopenmp
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
MAGICK_LDFLAGS = -L/usr/local/lib
LIBS = -lMagickCore -ljpeg -lz -lm -lgomp -lpthread
CXX = g++
CXXFLAGS = -pthread

when i tested image magick with simple code it show some error:
convert: unable to read font `timnreb.ttf' @ annotate.c/RenderType/787.
convert: delegate library support not built-in `/usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arial.ttf' (Freetype) @ annotate.c/RenderFreetype/1400.
convert: unable to read font `timnreb.ttf' @ annotate.c/RenderType/787.
convert: delegate library support not built-in `/usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arial.ttf' (Freetype) @ annotate.c/RenderFreetype/1400.
convert: unable to read font `timnreb.ttf' @ annotate.c/RenderType/787.
convert: delegate library support not built-in `/usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arial.ttf' (Freetype) @ annotate.c/RenderFreetype/1400.

and i also checked the following commands..


Path: /usr/local/lib/ImageMagick-6.5.3/config/type-ghostscript.xml
Font: AvantGarde-Book
family: AvantGarde
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/a010013l.pfb
Font: AvantGarde-BookOblique
family: AvantGarde
style: Oblique
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/a010033l.pfb
Font: AvantGarde-Demi
family: AvantGarde
style: Normal
stretch: Normal
weight: 600
glyphs: /usr/share/fonts/default/Type1/a010015l.pfb
Font: AvantGarde-DemiOblique
family: AvantGarde
style: Oblique
stretch: Normal
weight: 600
glyphs: /usr/share/fonts/default/Type1/a010035l.pfb
Font: Bookman-Demi
family: Bookman
style: Normal
stretch: Normal
weight: 600
glyphs: /usr/share/fonts/default/Type1/b018015l.pfb
Font: Bookman-DemiItalic
family: Bookman
style: Italic
stretch: Normal
weight: 600
glyphs: /usr/share/fonts/default/Type1/b018035l.pfb
Font: Bookman-Light
family: Bookman
style: Normal
stretch: Normal
weight: 300
glyphs: /usr/share/fonts/default/Type1/b018012l.pfb
Font: Bookman-LightItalic
family: Bookman
style: Italic
stretch: Normal
weight: 300
glyphs: /usr/share/fonts/default/Type1/b018032l.pfb
Font: Courier
family: Courier
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/n022003l.pfb
Font: Courier-Bold
family: Courier
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/share/fonts/default/Type1/n022004l.pfb
Font: Courier-BoldOblique
family: Courier
style: Oblique
stretch: Normal
weight: 700
glyphs: /usr/share/fonts/default/Type1/n022024l.pfb
Font: Courier-Oblique
family: Courier
style: Oblique
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/n022023l.pfb
Font: fixed
family: Helvetica
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/n019003l.pfb
Font: Helvetica
family: Helvetica
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/n019003l.pfb
Font: Helvetica-Bold
family: Helvetica
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/share/fonts/default/Type1/n019004l.pfb
Font: Helvetica-BoldOblique
family: Helvetica
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/share/fonts/default/Type1/n019024l.pfb
Font: Helvetica-Narrow
family: Helvetica Narrow
style: Normal
stretch: Condensed
weight: 400
glyphs: /usr/share/fonts/default/Type1/n019043l.pfb
Font: Helvetica-Narrow-Bold
family: Helvetica Narrow
style: Normal
stretch: Condensed
weight: 700
glyphs: /usr/share/fonts/default/Type1/n019044l.pfb
Font: Helvetica-Narrow-BoldOblique
family: Helvetica Narrow
style: Oblique
stretch: Condensed
weight: 700
glyphs: /usr/share/fonts/default/Type1/n019064l.pfb
Font: Helvetica-Narrow-Oblique
family: Helvetica Narrow
style: Oblique
stretch: Condensed
weight: 400
glyphs: /usr/share/fonts/default/Type1/n019063l.pfb
Font: Helvetica-Oblique
family: Helvetica
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/n019023l.pfb
Font: NewCenturySchlbk-Bold
family: NewCenturySchlbk
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/share/fonts/default/Type1/c059016l.pfb
Font: NewCenturySchlbk-BoldItalic
family: NewCenturySchlbk
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/share/fonts/default/Type1/c059036l.pfb
Font: NewCenturySchlbk-Italic
family: NewCenturySchlbk
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/c059033l.pfb
Font: NewCenturySchlbk-Roman
family: NewCenturySchlbk
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/c059013l.pfb
Font: Palatino-Bold
family: Palatino
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/share/fonts/default/Type1/p052004l.pfb
Font: Palatino-BoldItalic
family: Palatino
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/share/fonts/default/Type1/p052024l.pfb
Font: Palatino-Italic
family: Palatino
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/p052023l.pfb
Font: Palatino-Roman
family: Palatino
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/p052003l.pfb
Font: Symbol
family: Symbol
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/s050000l.pfb
Font: Times-Bold
family: Times
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/share/fonts/default/Type1/n021004l.pfb
Font: Times-BoldItalic
family: Times
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/share/fonts/default/Type1/n021024l.pfb
Font: Times-Italic
family: Times
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/n021023l.pfb
Font: Times-Roman
family: Times
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/share/fonts/default/Type1/n021003l.pfb

Path: /usr/local/lib/ImageMagick-6.5.3/config/type-windows.xml
Font: Arial
family: Arial
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arial.ttf
Font: Arial-Black
family: Arial
style: Normal
stretch: Normal
weight: 900
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/ariblk.ttf
Font: Arial-Bold
family: Arial
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arialbd.ttf
Font: Arial-Bold-Italic
family: Arial
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arialbi.ttf
Font: Arial-Italic
family: Arial
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/ariali.ttf
Font: Arial-Narrow
family: Arial Narrow
style: Normal
stretch: Condensed
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arialn.ttf
Font: Arial-Narrow-Bold
family: Arial Narrow
style: Normal
stretch: Condensed
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arialnb.ttf
Font: Arial-Narrow-Bold-Italic
family: Arial Narrow
style: Italic
stretch: Condensed
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arialnbi.ttf
Font: Arial-Narrow-Italic
family: Arial Narrow
style: Italic
stretch: Condensed
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arnari.ttf
Font: Arial-Narrow-Special-G1
family: Arial Narrow Special G1
style: Normal
stretch: Condensed
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeonr1.ttf
Font: Arial-Narrow-Special-G1-Bold
family: Arial Narrow Special G1
style: Normal
stretch: Condensed
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeonb1.ttf
Font: Arial-Narrow-Special-G1-Italic
family: Arial Narrow Special G1
style: Italic
stretch: Condensed
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeoni1.ttf
Font: Arial-Narrow-Special-G2
family: Arial Narrow Special G2
style: Normal
stretch: Condensed
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeonr2.ttf
Font: Arial-Narrow-Special-G2-Bold
family: Arial Narrow Special G2
style: undefined
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeonb2.ttf
Font: Arial-Narrow-Special-G2-Italic
family: Arial Narrow Special G2
style: Italic
stretch: Condensed
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeoni2.ttf
Font: Arial-Rounded-MT-Bold
family: Arial Rounded MT
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/arlrdbd.ttf
Font: Arial-Special-G1
family: Arial Special G1
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeor1.ttf
Font: Arial-Special-G1-Bold
family: Arial Special G1
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeoab1.ttf
Font: Arial-Special-G1-Bold-Italic
family: Arial Special G1
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeoax1.ttf
Font: Arial-Special-G1-Italic
family: Arial Special G1
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeoai1.ttf
Font: Arial-Special-G2
family: Arial Special G2
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeoar2.ttf
Font: Arial-Special-G2-Bold
family: Arial Special G2
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeoab2.ttf
Font: Arial-Special-G2-Bold-Italic
family: Arial Special G2
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeoax2.ttf
Font: Arial-Special-G2-Italic
family: Arial Special G2
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/msgeoai2.ttf
Font: Bookman-Old-Style
family: Bookman Old Style
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/bkmnos.ttf
Font: Bookman-Old-Style-Bold
family: Bookman Old Style
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/bookosb.ttf
Font: Bookman-Old-Style-Bold-Italic
family: Bookman Old Style
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/bookosbi.ttf
Font: Bookman-Old-Style-Italic
family: Bookman Old Style
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/boookosi.ttf
Font: Century-Schoolbook
family: Century Schoolbook
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/censcbk.ttf
Font: Century-Schoolbook-Bold
family: Century Schoolbook
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/schlbkb.ttf
Font: Century-Schoolbook-Bold-Italic
family: Century Schoolbook
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/schlbkbi.ttf
Font: Century-Schoolbook-Italic
family: Century Schoolbook
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/schlbki.ttf
Font: Comic-Sans-MS
family: Comic Sans MS
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/comic.ttf
Font: Comic-Sans-MS-Bold
family: Comic Sans MS
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/comicbd.ttf
Font: Courier-New
family: Courier New
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/cour.ttf
Font: Courier-New-Bold
family: Courier New
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/courbd.ttf
Font: Courier-New-Bold-Italic
family: Courier New
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/courbi.ttf
Font: Courier-New-Italic
family: Courier New
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/couri.ttf
Font: Garamond
family: Garamond
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/gara.ttf
Font: Garamond-Bold
family: Garamond
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/garabd.ttf
Font: Garamond-Italic
family: Garamond
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/Italic
Font: Gill-Sans-MT-Ext-Condensed-Bold
family: Gill Sans MT
style: Normal
stretch: ExtraCondensed
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/glsnecb.ttf
Font: Impact
family: Impact
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/impact.ttf
Font: Lucida-Blackletter
family: Lucida Blackletter
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lblack.ttf
Font: Lucida-Bright
family: Lucida Bright
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lbrite.ttf
Font: Lucida-Bright-Demibold
family: Lucida Bright
style: Normal
stretch: Normal
weight: 600
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lbrited.ttf
Font: Lucida-Bright-Demibold-Italic
family: Lucida Bright
style: Italic
stretch: Normal
weight: 600
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lbritedi.ttf
Font: Lucida-Bright-Italic
family: Lucida Bright
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lbritei.ttf
Font: Lucida-Caligraphy-Italic
family: Lucida Caligraphy
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lcalig.ttf
Font: Lucida-Console, Lucida-Console
family: Regular
style: undefined
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/
Font: Lucida-Fax-Demibold
family: Lucida Fax
style: Normal
stretch: Normal
weight: 600
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lfaxd.ttf
Font: Lucida-Fax-Demibold-Italic
family: Lucida Fax
style: Italic
stretch: Normal
weight: 600
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lfaxdi.ttf
Font: Lucida-Fax-Italic
family: Lucida Fax
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lfaxi.ttf
Font: Lucida-Fax-Regular
family: Lucida Fax
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lfax.ttf
Font: Lucida-Handwriting-Italic
family: Lucida Handwriting
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lhandw.ttf
Font: Lucida-Sans-Demibold-Italic
family: Lucida Sans
style: Italic
stretch: Normal
weight: 600
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lsansdi.ttf
Font: Lucida-Sans-Demibold-Roman
family: Lucida Sans Demibold
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lsansd.ttf
Font: Lucida-Sans-Regular
family: Lucida Sans
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/lsans.ttf
Font: Lucida-Sans-Typewriter-Bold
family: Lucida Sans Typewriter
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/ltypeb.ttf
Font: Lucida-Sans-Typewriter-Bold-Oblique
family: Lucida Sans Typewriter
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/ltypebo.ttf
Font: Lucida-Sans-Typewriter-Oblique
family: Lucida Sans Typewriter
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/ltypeo.ttf
Font: Lucida-Sans-Typewriter-Regular
family: Lucida Sans Typewriter
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/ltype.ttf
Font: Modern
family: Modern
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/modern.ttf
Font: Monotype-Corsiva
family: Monotype Corsiva
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/mtcorsva.ttf
Font: MS-Sans-Serif
family: MS Sans Serif
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/sseriff.ttf
Font: MS-Serif
family: MS Serif
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/seriff.ttf
Font: Small-Fonts
family: Small Fonts
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/smallf.ttf
Font: Tahoma
family: Tahoma
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/tahoma.ttf
Font: Tahoma-Bold
family: Tahoma
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/tahomabd.ttf
Font: Times-New-Roman
family: Times New Roman
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/times.ttf
Font: Times-New-Roman-Bold
family: Times New Roman
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/timesbd.ttf
Font: Times-New-Roman-Bold-Italic
family: Times New Roman
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/timesbi.ttf
Font: Times-New-Roman-Italic
family: Times New Roman
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/timesi.ttf
Font: Times-New-Roman-MT-Extra-Bold
family: Times New Roman MT
style: Normal
stretch: Normal
weight: 800
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/timnreb.ttf
Font: Verdana
family: Verdana
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/verdana.ttf
Font: Verdana-Bold
family: Verdana
style: Normal
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/verdanab.ttf
Font: Verdana-Bold-Italic
family: Verdana
style: Italic
stretch: Normal
weight: 700
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/verdanaz.ttf
Font: Verdana-Italic
family: Verdana
style: Italic
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/verdanai.ttf
Font: Wingdings
family: Wingdings
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/wingding.ttf
Font: Wingdings-2
family: Wingdings 2
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/wingdng2.ttf
Font: Wingdings-3
family: Wingdings 3
style: Normal
stretch: Normal
weight: 400
glyphs: /usr/local/lib/ImageMagick-6.5.3/config//usr/share/fonts/chinese/TrueType/wingdng3.ttf

guide me what else to do...

Re: How to add fonts to type.xml file in windows ?

Posted: 2009-09-11T10:57:05-07:00
by fmw42
I am not a windows user, so cannot say whether Notepad is properly utf-8 encoding or if you have to configure it to do so. Perhaps try another text editor that is clearly utf-8 compatible.

With regard to your configuration, it is not what you tell IM to configure, but what delegates you have installed and which ones IM recongnizes AND the versions of those delegates. Looks like a freetype problem.

To check what delegates IM thinks you have properly installed type

convert -list configure

and look at the line starting with DELEGATES. Mine for example has the following installed:

DELEGATES bzlib fftw fontconfig freetype gs jpeg jng jp2 lcms lqr openexr png tiff x11 xml zlib


I installed each from source and then installed IM from source. I don't know how you installed IM whether from binary or from source nor what delegates you have installed.

you can get the delegates (possibly old) at http://www.imagemagick.org/download/delegates/
but I would do a Google search to find more current ones, especially for any that you have suspicions that are not working correctly.