[etoys-notify] [JIRA] Updated: (SQ-1037) TextMorph font: ScriptingSystem fontForTiles gives DNU

Karl Ramberg (JIRA) tracker at squeakland.org
Sun Mar 25 13:40:34 EDT 2012


     [ http://tracker.squeakland.org/browse/SQ-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Ramberg updated SQ-1037:
-----------------------------

    Attachment: TextMorph-font.st.gz

Possible fix here

TextMorph>>font: aFont
	| newTextStyle |
	newTextStyle := aFont textStyle copy ifNil: [ TextStyle fontArray: { aFont } ].
	textStyle := newTextStyle.
	text addAttribute: (TextFontChange fontNumber: (newTextStyle fontIndexOfPointSize: aFont pointSize)).
	text addAttribute: (TextEmphasis new emphasisCode: aFont emphasis).
	paragraph ifNotNil: [paragraph textStyle: newTextStyle].
	

> TextMorph font: ScriptingSystem fontForTiles gives DNU
> ------------------------------------------------------
>
>                 Key: SQ-1037
>                 URL: http://tracker.squeakland.org/browse/SQ-1037
>             Project: squeakland
>          Issue Type: Feature
>          Components: etoys
>            Reporter: Karl Ramberg
>            Priority: Eventual
>             Fix For: future release
>
>         Attachments: TextMorph-font.st.gz
>
>
> TextMorph font: ScriptingSystem fontForTiles gives DNU

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the etoys-notify mailing list