freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] PDF text rendering error


From: suzuki toshiya
Subject: Re: [ft-devel] PDF text rendering error
Date: Wed, 13 Jun 2012 18:35:50 +0900
User-agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080406)

Johnson Y. Yan wrote:
*sure* that you are linking to the right, patched
FreeType library?
-------see the render (gid = 2134) result saved as png image.

I think what Werner asked is "could you check if your binary is
linked with the patched library, not with the unpatched libary?".

Unfortunately, "yes, I've checked" is NOT objective answer.
The solution would be... hmm, I will update the patch that changes
the version returned by FT_Library_Version() function. So please
update your testing program to invoke the function and show the
version.

Regards,
mpsuzuki

P.S.
Are you really writing code without indentation?
-------It depends on freetype,

I don't think FreeType2 requests you to write a code without
indentation. I'm interested in if it is a inhouse convention
of the engineers in Foxit Software.

Johnson Y. Yan wrote:
Werner ,
Are you really writing code without indentation?
-------It depends on freetype,
Any reason why you don't use the symbolic value, FT_LOAD_NO_BITMAP?
-------FT_LOAD_NO_BITMAP == 8
*sure* that you are linking to the right, patched
FreeType library?
-------see the render (gid = 2134) result saved as png image.

I think the important thing is that it calls freetype's interface, and there is 
a result.
Thanks.
Johnson Y. Yan



发件人: Werner LEMBERG
发送时间: 2012-06-13 16:25:34
收件人: yinsen_yan
抄送: mpsuzuki; freetype-devel
主题: Re: [ft-devel] PDF text rendering error

... Are you really writing code without indentation?
#include "../../ft2.4.9/include/freetype/internal/ftobjs.h"
Uh, oh!  You must never, ever use an internal header file in your
source code (except for special reasons).
int load_flags = 8;
Any reason why you don't use the symbolic value, FT_LOAD_NO_BITMAP?
Besides this, I don't see a problem with your code (after a quick
look).  Are you *sure* that you are linking to the right, patched
FreeType library?
    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]