[ANN] Fix invisible characters in fonts

Bert Freudenberg bert at impara.de
Sun Apr 9 20:30:03 UTC 2006


I'd think so, yes. Of course it needs a bit of testing and some  
sanity check.

It overwrites all blank glyphs except for tab, cr, space, and non- 
breaking space (9, 13, 32, 160) - I hope there are no others? Re- 
blanking any others would be no problem, though, so I think it's  
fairly safe..

- Bert -

Am 08.04.2006 um 12:01 schrieb stéphane ducasse:

> Hi bert
>
> I would like to add that in 3.9. Do you think that this is wise/ 
> wished?
> Because indeed I have always problem with the students with that.
>
> Stef
>
>> Hi all,
>>
>> from time to time we get invisible characters into our source  
>> code, leading to strange compiler errors. It's really hard to spot  
>> those blank one-pixel-wide glyphs.
>>
>> Truetype fonts have a hollow rectangle to indicate missing glyphs.  
>> This package patches the StrikeFonts to show a similar hollow  
>> rectangle for any non-whitespace character that had a blank glyph:
>>
>> 	http://source.impara.de/underscore/FixInvisible-bf.1.mcz
>>
>> Tested in 3.8 and 3.9, should work in virtually any version.
>>
>> See attached image for the result.
>>
>> - Bert -





More information about the Squeak-dev mailing list