freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Re: Apparent infinte loop in the TrueType BCI, may be 64-bit rel


From: Werner LEMBERG
Subject: [Devel] Re: Apparent infinte loop in the TrueType BCI, may be 64-bit related.
Date: Fri, 26 Nov 2004 08:15:38 +0100 (CET)

> When attempting to render 'A' from Verdana (version 2.35) at 1408px
> (or larger), the "while (W >= 0x1004000L)" loop in Normalize doesn't
> want to terminate -- i.e. after interrupting it in the debugger, W =
> 1350222349939824672, Vx = 15396 and Vy = -1161990685.

I can't repeat that with my (32bit Linux) box, using the current CVS.

> This is with Freetype 2.1.9, as patched by Red Hat for Fedora Core 3
> and rebuilt by me with the bytecode interpreter turned on.  I used
> gcc 3.4.2-6.fc3 to build it, and I'm running an AMD64 system.

Since I don't have a 64bit system, I ask you to do some debugging.
Maybe it's easiest if you modify src/ftcommon.i in the ft2demos
package as follows:

  #define DIM_X      1350
  #define DIM_Y      1000
  #define MAXPTSIZE  1500

Then you can directly access glyph A in verdana.ttf at 1408px with

  ftview -f 36 1408 verdana.ttf


    Werner



reply via email to

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