|
From: | Johnson Y. Yan |
Subject: | Re: [ft-devel] PDF text rendering error |
Date: | Mon, 11 Jun 2012 11:52:21 +0800 |
Werner,
Do you mean the font
must be rendered use TT_CONFIG_OPTION_BYTECODE_INTERPRETER?
I open it, but still render error.
#define
TT_CONFIG_OPTION_BYTECODE_INTERPRETER
int load_flags = (m_Face->face_flags & FT_FACE_FLAG_SFNT) ? FT_LOAD_NO_BITMAP :
(FT_LOAD_NO_BITMAP |FT_LOAD_NO_HINTING);
int error = FT_Load_Glyph(m_Face, glyph_index, load_flags);
......
Johnson Y. Yan
发件人: Werner
LEMBERG
发送时间:
2012-06-08 06:18:52
收件人:
yinsen_yan
抄送:
freetype-devel
主题: Re: PDF text rendering
error
> I render the pdf text use freetype, but it is different with adobe
> acrobat shows, is there anyone can analyze the reason?
The font in question must be rendered with TrueType hinting, otherwise
it produces the bad results you get. For example, ghostscript 9.05 is
doing this. Simply try to view the document with gv.
Werner
|
[Prev in Thread] | Current Thread | [Next in Thread] |