[squeak-dev] The Trunk: Collections-mt.886.mcz

K K Subbu kksubbu.ml at gmail.com
Wed Apr 22 15:51:44 UTC 2020


On 22/04/20 1:17 PM, Marcel Taeumel wrote:
>  > I'd rather have its own package. I don't think about most of text in 
> the domain of graphics ;D
> 
> In such a package, Fonts, TextStyle, Paragraph, etc. would be, too. ;-)

In theory, Text (string decorations) comes under graphics. In practice, 
there is difference between fine text used in spans like paragraphs and 
gross text used in shapes like Text Art.

Fine text needs careful handling beyond simple graphic transformations. 
Word wrapping are not just graphical ops. They need to account for 
language-dependent direction, hyphenation and ligatures. Fonts are not 
just an array of vector shapes but have rendering hints and tweaks for 
various resolutions. So fine text needs its own package.

Larger text (like Text Art) does come under graphics and can behave like 
any other graphic shapes. Text Art could be part of graphics.

Regards .. Subbu


More information about the Squeak-dev mailing list