freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] BUG : FT 2.1.3 SegFault on particular font wadalab-gothic.tt


From: David Turner
Subject: Re: [Devel] BUG : FT 2.1.3 SegFault on particular font wadalab-gothic.ttf
Date: Sat, 23 Nov 2002 17:52:30 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826

Hello Paul,

Paul Cheyrou-lagreze wrote:
Opening http://www.wafu.ne.jp/3dlogo/fonts/wadalab-gothic.ttf segfault in ps3_hints_apply () My code is
if (FT_New_Face (FTlib, fontname, -1, &(font->face)) == 0)
    err = FT_New_Face (FTlib, fontname, 0, &(font->face));
(First Call works, it recognise the file format, but the second segfault.)

That's very strange, for the following reasons:

  - I'm unable to reproduce the bug on my computer
    (FreeType loads the font fine)

  - "ps3_hints_apply" is only used when trying to hint
    a Postscript-based font, while yours is a TrueType
    one (I've checked by looking the font in a hex
    editor), so this function should never be called !!

seems, something different is happening. If you're on Linux, may
I suggest you to run your program through the "valgrind" tool to
spot any memory overwrites ?

Regards,

- David Turner
- The FreeType Project  (www.freetype.org)





reply via email to

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