freetype-devel
[Top][All Lists]
Advanced

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

[Devel] infinite loop/autohinter crash


From: Scott Long
Subject: [Devel] infinite loop/autohinter crash
Date: Thu, 13 Dec 2001 11:52:09 -0800

Here's part of a debug session I ran on ftview, like you did. I think there 
is something fishy about the outline. outline->num_points is 1, but 
outline->num_contours is 249. I don't know a lot about what FreeType is doing 
under the hood but this still seems wrong.

I tried running ftlint on the file, but it just segfaults the same way. Is 
there a utility I can use to simply dump the contents of the ttf file in some 
readable format?

Thanks,
Scott

Program received signal SIGSEGV, Segmentation fault.
0x4002455c in ah_outline_compute_segments (outline=0x8060c18)
    at /u/rel/scott/ftest/freetype-2.0.5/src/autohint/ahglyph.c:738
738             if ( ABS( last->out_dir )  == major_dir &&
(gdb) print *outline
$1 = {memory = 0x8058b08, vert_major_dir = 2, horz_major_dir = -1,
  x_scale = 81920, y_scale = 81920, edge_distance_threshold = 0,
  max_points = 8, num_points = 1, points = 0x806b100, max_contours = 252,
  num_contours = 249, contours = 0x806ad08, num_hedges = 0,
  horz_edges = 0x806b2e8, num_vedges = 0, vert_edges = 0x806b468,
  num_hsegments = 0, horz_segments = 0x806b5f0, num_vsegments = 0,
  vert_segments = 0x806b7b0}



reply via email to

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