From: <Bar...@ch...> - 2007-07-26 16:12:26
|
George Williams <gw...@si...> skribis: > On Wed, 2007-07-25 at 18:30, Bar...@ch... wrote: > > I think that the addKerningClass Python function isn't parsing either > > its first or its optional last argument, or else the documentation is > > out of sync. > You are right. I took a closer look and it seems the parsing code for addKerningClass and alterKerningClass seem to have gotten swapped, so I think the parsing for alterKerningClass needs to be fixed, too. But there is other trouble when I try to 'save' or 'generate' a font to which I have added a kerning class; I get segmentation faults in code for dumping devicetables. For 'save' I get this: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47453354122528 (LWP 17381)] SFDDumpDeviceTable (sfd=0x1795c00, adjust=0x10) at sfd.c:657 For 'generate' this: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47207199472928 (LWP 17309)] 0x00000000005e1c69 in dumpgposkernclass (gpos=0x17987c0, sf=0x1635b60, sub=0xb6cc10, at=0x7fff64079390) at tottfgpos.c:1399 Another issue, if I am correct, is that getKerningClass doesn't include a 'None' class for the first class, but addKerningClass expects it. It's nice to have scripting for kerning classes. :) -- Barry.SCHWARTZ ĉe chemoelectric punkto org http://chemoelectric.org Free stuff / Senpagaj varoj: http://crudfactory.com 'Democracies don't war; democracies are peaceful countries.' - Bush (http://www.whitehouse.gov/news/releases/2005/12/20051219-2.html) |