Hi,
I'm using annotate to display Chinese characters. The font files are in .ttc and .ttf formats, directly copied from Windows XP.
I specified the full path to the font file.
I tried different font sizes, like 12pt and 16pt. The display effect is really bad. With anti-aliasing, it looks blur, way worse than the display effect under Windows. Without anti-aliasing, it is totally unacceptable. The strokes are not continuous and I can clearly see the discrete dots.
Any idea?
Thanks!
cannot display clear Chinese ttf fonts
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: cannot display clear Chinese ttf fonts
Examples???
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: cannot display clear Chinese ttf fonts
without anti-aliasing
with anti-aliasing
As can be seen, even with anti-aliasing, the strokes are still very blurry.
BTW, I tried "convert -list font" but it says unrecognized list type...
with anti-aliasing
As can be seen, even with anti-aliasing, the strokes are still very blurry.
BTW, I tried "convert -list font" but it says unrecognized list type...
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: cannot display clear Chinese ttf fonts
The font is a true type font designed for use with anti-aliasing.
It is NOT a bitmap font which works better for small scales.
It is NOT a bitmap font which works better for small scales.
that means your IM is an older version. Use -list type instead for your version.BTW, I tried "convert -list font" but it says unrecognized list type...
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: cannot display clear Chinese ttf fonts
Thank you very much!
I found a bitmap font:
WenQuanYi-Bitmap-Song-Bold WenQuanYi Bitmap Song Normal Normal 700
WenQuanYi-Bitmap-Song-Regular WenQuanYi Bitmap Song Normal Normal 400
But I cannot use it to draw any characters, including English letters.
Could you please shed any light?
I found a bitmap font:
WenQuanYi-Bitmap-Song-Bold WenQuanYi Bitmap Song Normal Normal 700
WenQuanYi-Bitmap-Song-Regular WenQuanYi Bitmap Song Normal Normal 400
But I cannot use it to draw any characters, including English letters.
Could you please shed any light?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: cannot display clear Chinese ttf fonts
The only way I know of handling a bitmap font I know about is as a X server font.
Sorry I don't know how to help you for this.
Sorry I don't know how to help you for this.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/