[squeak-dev] Help: fonts in PluggableTextSpec

Marcel Taeumel marcel.taeumel at hpi.de
Mon May 20 08:24:44 UTC 2019


Hi Subbu,

you have a point. Such defaults in tool-builder specs are interfering with defaults in morphs (or other widgets).

Which effects did you observe after making this change?

Best,
Marcel
Am 15.03.2019 07:44:34 schrieb K K Subbu <kksubbu.ml at gmail.com>:
Hi,

PluggableTextSpec>>font returns a default font if font is not specified.
This results in default font overriding any fonts in the plugged
textmorphs :-( as in the case of Help->FontSizeSummary. The exact font
to be used to render text should be determined lazily by textMorph and
not in pluggable text spec.

My proposed fix has a wide ranging effect, so I am posting it here for a
critique before finalizing a patch to Inbox.

Thanks and Regards .. Subbu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190520/130dce57/attachment.html>


More information about the Squeak-dev mailing list