Am 20.01.2010 17:29, schrieb Andreas Höschler:
> Hi Fred,
> 
>> This is not a loop in GNUstep, as your other mail suggests. The
>> recursion is working as expected as you can see on the decreasing level
>> parameter (Don't expect me to explain the details of the GSLayoutManager
>> here, you really don't want to know).
> 
> :-)
> 
>> What goes wrong is the glyph lookup in the font. The character it
>> searches the glyph for is 64256. This is the "ff" ligature and it your
>> font doesn't support it, it should just return NULL from the function
>> FTC_CMapCache_Lookup. But there is one thing that could be strange here,
>> the cmap_index is 0, this could be correct or the result of a missing
>> FT_ENCODING_UNICODE encoding in this font. The code in [FTFontInfo
>> -initWithFontName:matrix:screenFont:] doesn't differentiate between
>> these two cases.
>> Looks like your font is not suitable for GNUstep and the code doesn't
>> detect this correctly.
> 
>     ls /opt/GNUstep/Local/Library/Fonts/
> 
> Helvetica.nfont
> 
> Shouldn't this work with the only font that comes with GNUstep?
> 
> Thanks a lot,
> 
>  Andreas
> 

What you could try to do is to change the line 288 of ftfont.m into
 unicodeCmap = -1;

That is -1 instead of 0 and recompile and install back again. Then run
your application again in the debugger and report back the back trace
you are getting now.

Cheers
Fred


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to