[Q] [Q] StrikeFontSet display problem for separators in 3.8

Sungjin Chun chunsj at embian.com
Mon Oct 2 09:39:53 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've found the source of the problem. When glyph of a character is
requested and the character's ascii value is less than font's minimum
ascii value, then ? is returned. This is why ? is displayed for tab or
other special characters.

Yoshiki Ohshima wrote:
>> I've installed version 4 of AccuFont package and changed default font as
>> accujen. The problem is that if I replace the StrikeFont with
>> StrikeFontSet made with original font like this:
>>
>> accujenArray _ (TextConstants at: #Accujen) fontArray.
>> a12 _ accujenArray at: 3.
>> af12 _ StrikeFontSet newFontArray: {a12}.
>> accujenArray at: 3 put: af12.
>>
>> then, the separator characters like tab, cr and others displayed as
>> something like '?' glyph. If I revert it as StrikeFont then, it just
>> displayed as normal invisible glyph.
>>
>> Can anyone know this problem? Can anyone help me? I'm using 3.8
> 
>   I tried the same thing in 3.8.  I copied and pasted the code above
> into a workspace evaluated it, and then changed the code in the
> workspace to "Accujen 12", but it looks ok.
> 
>   Is there something not shown in the above code?  Are you using a
> character with different language tab other than 0?  If so, you may
> set up the fallbackFont instance variable.
> 
>   Sorry for slow response.  Hope this helps,
> 
> -- Yoshiki
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFIN5pQqspS1+XJHgRAll2AJ9xkEJM0pDCN5puDvC3N5fhYE+BmgCghLHE
2/+zJZDSYyaGw4LjCHiwuqY=
=4MZI
-----END PGP SIGNATURE-----



More information about the Squeak-dev mailing list