[Cuis-dev] Support for TrueType fonts in Cuis
Juan Vuletich
juan at jvuletich.org
Thu May 16 06:48:12 PDT 2019
On 13/05/2019 03:37 p.m., Dan Norton via Cuis-dev wrote:
> Awesome! Finally able to take a look - the search for
> LinearAlgebra.pck.st using Duck Duck Go came up empty and the GitHub
> search is useless. Resorted to Google and there it was in Numerics.
I suggest using the .sh scripts in Cuis-Smalltalk-Dev to clone / pull /
check all repos in the Cuis-Smalltalk GirHub organization at once. Much
better than searching around!
> IIRC Squeak had a really big font with outlined letters which could be
> colored within the outlines. You could make a letter as high as the
> display if desired. The class names included the term "TrueType" but
> that might have been a misnomer. Can this be ported easier to Cuis now?
Yes. Still, I suggest taking a look at what I did for Cuis. Maybe you'll
not really need to port much anyway.
Cheers,
> - Dan
>
> On Fri, 10 May 2019 11:50:56 -0300
> Juan Vuletich via Cuis-dev<cuis-dev at lists.cuis.st> wrote:
>
>> Hi Folks,
>>
>> Yes, this is the big surprise I promised yesterday!
>>
>> Now the VectorGraphics engine can rasterize TrueType glyphs. As you
>> might now, the VectorGraphics (a.k.a. Morphic 3) engine is still in
>> unoptimized Smalltalk, and too slow to draw the Morphic world in real
>> time. But it can be used to rasterize TrueType glyphs that can be
>> cached as Forms.
>>
>> Just pullAllRepos.sh (pulling just Cuis-Smalltalk-Dev is not enough).
>> Then start Cuis and install updates. Do World / Preferences / Load
>> extra fonts. Then World / Preferences / Set font..., or play with
>> World / Open... / Text Editor.
>>
>> I'm pretty sure that Cuis is now the only dev environment with high
>> quality TrueType fonts without needing any support from the host
>> platform. Yep, we are not calling FreeTypo or any other library. All
>> the code is there for us to learn, play and experiment!
>>
>> Enjoy!
>>
>> 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
@JuanVuletich
More information about the Cuis-dev
mailing list