[squeak-dev] Re: The Trunk: Morphic-topa.784.mcz
Bert Freudenberg
bert at freudenbergs.de
Thu Mar 19 13:58:18 UTC 2015
On 19.03.2015, at 13:06, Tobias Pape <Das.Linux at gmx.de> wrote:
>
>
> 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.
There used to be UI. We lost it when the font menu was replaced with the font dialog.
- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4115 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150319/43af5c97/smime.bin
More information about the Squeak-dev
mailing list
|