标签:
测试发现:
ImageMagick使用中文字体,在图片上绘制带粗或斜体的中文,看不到效果。
如果使用英文字体,绘制粗或斜体的英文,99%都有效果。
今天无意看到一篇文章提到:
Font: Arial
family: Arial
style: Normal
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\arial.ttf
Font: Arial-Black
family: Arial
style: Normal
stretch: Normal
weight: 900
glyphs: c:\windows\fonts\ariblk.ttf
Font: Arial-Bold
family: Arial
style: Normal
stretch: Normal
weight: 700
glyphs: c:\windows\fonts\arialbd.ttf
Font: Arial-Bold-Italic
family: Arial
style: Italic
stretch: Normal
weight: 700
glyphs: c:\windows\fonts\arialbi.ttf
Font: Arial-Italic
family: Arial
style: Italic
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\ariali.ttf
Font: Arial-Narrow
family: Arial Narrow
style: Normal
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\arialn.ttf
Font: Arial-Narrow-Bold
family: Arial Narrow
style: Normal
stretch: Normal
weight: 700
glyphs: c:\windows\fonts\arialnb.ttf
Font: Arial-Narrow-Bold-Italic
family: Arial Narrow
style: Italic
stretch: Normal
weight: 700
glyphs: c:\windows\fonts\arialnbi.ttf
Font: Arial-Narrow-Italic
family: Arial Narrow
style: Italic
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\arialni.ttf
Font: 華康正顏楷體W7-&-華康正顏楷體W7(P)
family: 華康正顏楷體W7 & 華康正顏楷體W7(P)
style: Normal
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\萢康正顏楷體w7.ttc
Font: 宋体-&-新宋体
family: 宋体 & 新宋体
style: Normal
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\simsun.ttc
Font: 苏新诗卵石体
family: 苏新诗卵石体
style: Normal
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\苏新诗卵石体.ttf
2012-10-08
使用ImageMagick 在图片上绘制粗斜体的中文也许是一个错误。
标签:
原文地址:http://www.cnblogs.com/personnel/p/4584823.html