[Cuis-dev] [Ann] Unicode Text Editors

Juan Vuletich JuanVuletich at zoho.com
Thu May 12 12:32:55 PDT 2022


On 5/11/2022 3:41 PM, Luciano Notarfrancesco via Cuis-dev wrote:

> ...
> If you mean “together” in the Browser, maybe we can move Utf8String, 
> Utf32String and UnicodeCodePoint to the category ‘Kernel-Text’ 
> together with String and Character.
>

Someday I'd like to bootstrap a small kernel image. It won't contain 
Unicode at all. That's why I didn't put them in Kernel.

> I noticed the image grew about 100MB after loading DejaVu Sans. Now 
> we’re loading all glyphs. But I don’t think this is going to be a 
> problem for me because I can easily remove all the glyphs I don’t use 
> in my image (the vast majority of them). We are not storing redundant 
> contour data for all the code points that don’t have a glyph like 
> 16r1D53A, right? I took a quick look at the instance of 
> TTFontDescription and there seems to be data for this code point, but 
> probably I made a mistake because I’m not familiar with this…

Oh! Good catch! You are right! That didn't matter when I originally 
wrote that code, for 8 bit Character and String. Now it is a huge waste. 
Earlier today I fixed it and pushed the updates. Memory usage should 
drop by about a half.

Thank you so much for finding this issue!

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://patents.justia.com/inventor/juan-manuel-vuletich
https://twitter.com/JuanVuletich



More information about the Cuis-dev mailing list