[squeak-dev] Re: The Trunk: Morphic-topa.784.mcz

Tobias Pape Das.Linux at gmx.de
Thu Mar 19 12:06:55 UTC 2015


On 19.03.2015, at 11:54, Marcel Taeumel <marcel.taeumel at student.hpi.uni-potsdam.de> wrote:

> Would it be difficult to let the user decide/override which font sizes to
> import?

Yeno :D
To quote TTCFont class >> #pointSizes

	"The default sizes that are created when a TextStyle is created.  You can add new sizes by the new-size feature."
	^ #(9 12 15 24 36).

So, it is possible to change the point size of a TTCFont internally
and TextStyles also support this somewhat, but actually _adding_ a point
size takes code; after import/install you could do

	((TextStyle named: 'Gill Sans') addNewFontSize: 8)

but there's no UI.

> 
> Best,
> Marcel





More information about the Squeak-dev mailing list