[squeak-dev] TrueTypeFont and Unicode Characters

Tobias Pape Das.Linux at gmx.de
Thu Apr 30 11:58:12 UTC 2020


Hi

> On 30.04.2020, at 13:49, Eric Gade <eric.gade at gmail.com> wrote:
> 
> Thanks Marcel.
> 
> I have used the specified Font Importer tool now, but am still having the same issue. 

I'm not sure we are actually loading all glyphs.
Also note, that nothing in the font (like substitiution tables) are actually supported :/
sorry.

Best regards
	-Tobias

> 
> On Thu, Apr 30, 2020 at 3:43 AM Marcel Taeumel <marcel.taeumel at hpi.de> wrote:
> Hi Eric!
> 
> > I have "imported" this font using the FileList tool and it does appear as a TextStyle
> 
> Please use the Font Importer to import such fonts. You can find it in the Tools menu.
> 
> 
> 
> Best,
> Marcel
>> Am 30.04.2020 04:22:12 schrieb Eric Gade <eric.gade at gmail.com>:
>> 
>> Hello,
>> 
>> I am trying to load a particular TrueTypeFont that represents the Cuneiform signs in the Cuneiform Unicode block.
>> You can find some information on this page.
>> 
>> Specifically, I'm attempting to work with the Neo-Assyrian font on that page ('Assurbanipal.ttf' in the zip file). I have also tried the Old Babylonian fonts with similar results.
>> 
>> I have "imported" this font using the FileList tool and it does appear as a TextStyle. However, if I attempt to run:
>> 
>> ```
>> m := TextMorph new
>> beAllFont: ((TextStyle named: 'Assurbanipal') fontOfSize: 36);
>> backgroundColor: Color white.
>> 
>> signString := (Unicode value: 16r12038) asString.
>> m contents: signString.
>> 
>> m openInHand.
>> ```
>> 
>> I get a TextMorph that appears blank. Either I am doing something incorrectly or the system cannot render the glyph at that code point (which should be the sign "AĆ "). Any ideas?
>> -- 
>> Eric





More information about the Squeak-dev mailing list