TrueTypeTextStyle

Summary: It provides support for beautiful fonts.
Author: Yoshiki Ohshima
Owner: Yoshiki Ohshima (yo)
Co-maintainers: <None>
Categories:
Homepage: http://wiki.squeak.org/squeak/2939
PackageInfo name: <Not entered>
RSS feed:

Description:

This change set will allow you to use TrueType based outline glyphs as a TextStyle. Once you load this change set, you will see 'ComicSansMS' style in the 'Change font' halo menu of the TextMorphs. You can add new styles by calling TTCFontnewTextStyleFromTTFile: or, on 3.4, by selecting 'install true type font' from the FileList.

Thanks to Phil Hargett, the service mechanism for 3.4 FileList is added. Also, following his suggestions, now you can use TTCFont in MVC as well.

This change set was first written for the multilingualized Squeak and .TTC (TrueType Collection) file. The name of the class and the category name are reminiscent of it.

In version 4, bold, italic, and bold italic faces can be handled properly. Install the same family fonts and choose them from the Emphasis and Alignment halo.

In version 5, you can now use truetype in Nebraska. You have to install the fonts on both side before you launch Nebraska. You can also add new font size for a style.

Releases


Back