[Cuis-dev] Support for TrueType fonts in Cuis
dnorton at mindspring.com
Mon May 13 11:37:22 PDT 2019
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.
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?
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!
More information about the Cuis-dev