discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Building GNUstep on Solaris


From: Fred Kiefer
Subject: Re: Building GNUstep on Solaris
Date: Thu, 21 Jan 2010 22:33:32 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0

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




reply via email to

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