Hi I'm trying to understand why PrStef does not use the fonts I defined for shooting the videos StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 15). StandardFonts defaultFont: (LogicalFont familyName: 'Source Code Sans' pointSize: 13). StandardFonts listFont: (LogicalFont familyName: 'Source Code Sans' pointSize: 18). StandardFonts menuFont: (LogicalFont familyName: 'Source Code Sans' pointSize: 18). StandardFonts buttonFont: (LogicalFont familyName: 'Source Code Sans' pointSize: 12). I tried to avoid to convert a text into a string... may be showLesson: aLesson withTitle: aString self window setLabel: aString. self sourceTextModel setText: aLesson lesson. self isOpenInWindow ifFalse: [ self open ] but I do not know :( Stef
2016-02-24 12:18 GMT+01:00 stepharo <stepharo@free.fr>:
Hi
I'm trying to understand why PrStef does not use the fonts I defined for shooting the videos
StandardFonts codeFont: (LogicalFont familyName: 'Source Code Pro' pointSize: 15). StandardFonts defaultFont: (LogicalFont familyName: 'Source Code Sans' pointSize: 13). StandardFonts listFont: (LogicalFont familyName: 'Source Code Sans' pointSize: 18). StandardFonts menuFont: (LogicalFont familyName: 'Source Code Sans' pointSize: 18). StandardFonts buttonFont: (LogicalFont familyName: 'Source Code Sans' pointSize: 12).
I tried to avoid to convert a text into a string...
may be
showLesson: aLesson withTitle: aString self window setLabel: aString. self sourceTextModel setText: aLesson lesson. self isOpenInWindow ifFalse: [ self open ]
but I do not know :(
Stef
Maybe both, beForSmalltalkCode and beForSmalltalkScripting in RubScrolledTextMorph should use self textArea font: StandardFonts codeFont At the moment, only beForSmalltalkCode sets this font.
may be
showLesson: aLesson withTitle: aString self window setLabel: aString. self sourceTextModel setText: aLesson lesson. self isOpenInWindow ifFalse: [ self open ]
but I do not know :(
Stef
Maybe both, beForSmalltalkCode and beForSmalltalkScripting in RubScrolledTextMorph should use self textArea font: StandardFonts codeFont
At the moment, only beForSmalltalkCode sets this font.
Yes I did the same as you, I tried to add beForSmalltalkScripting self textArea beForSmalltalkScripting. self textArea font: StandardFonts codeFont But without success. I'm puzzled. Stef
Am 24.02.2016 5:26 nachm. schrieb "stepharo" <stepharo@free.fr>:
may be
showLesson: aLesson withTitle: aString self window setLabel: aString. self sourceTextModel setText: aLesson lesson. self isOpenInWindow ifFalse: [ self open ]
but I do not know :(
Stef
Maybe both, beForSmalltalkCode and beForSmalltalkScripting in RubScrolledTextMorph should use self textArea font: StandardFonts codeFont
At the moment, only beForSmalltalkCode sets this font.
Yes I did the same as you, I tried to add
beForSmalltalkScripting self textArea beForSmalltalkScripting.
self textArea font: StandardFonts codeFont
But without success. I'm puzzled. Stef
And you need to reset the tutorial, it reuses the existing lesson view.
Am 24.02.2016 5:29 nachm. schrieb "Nicolai Hess" <nicolaihess@gmail.com>:
Am 24.02.2016 5:26 nachm. schrieb "stepharo" <stepharo@free.fr>:
may be
showLesson: aLesson withTitle: aString self window setLabel: aString. self sourceTextModel setText: aLesson lesson. self isOpenInWindow ifFalse: [ self open ]
but I do not know :(
Stef
Maybe both, beForSmalltalkCode and beForSmalltalkScripting in RubScrolledTextMorph should use self textArea font: StandardFonts codeFont
At the moment, only beForSmalltalkCode sets this font.
Yes I did the same as you, I tried to add
beForSmalltalkScripting self textArea beForSmalltalkScripting.
self textArea font: StandardFonts codeFont
But without success. I'm puzzled. Stef
And you need to reset the tutorial, it reuses the existing lesson view.
And maybe we should use beForSmalltalkScripting in the helpbrowser as well, because right now, you can not use "printIt"
can you add a bug entry I will fix the other and publish it. Le 24/2/16 17:31, Nicolai Hess a écrit :
Am 24.02.2016 5:29 nachm. schrieb "Nicolai Hess" <nicolaihess@gmail.com <mailto:nicolaihess@gmail.com>>:
Am 24.02.2016 5:26 nachm. schrieb "stepharo" <stepharo@free.fr
<mailto:stepharo@free.fr>>:
may be
showLesson: aLesson withTitle: aString self window setLabel: aString. self sourceTextModel setText: aLesson lesson. self isOpenInWindow ifFalse: [ self open ]
but I do not know :(
Stef
Maybe both, beForSmalltalkCode and beForSmalltalkScripting in RubScrolledTextMorph should use self textArea font: StandardFonts codeFont
At the moment, only beForSmalltalkCode sets this font.
Yes I did the same as you, I tried to add
beForSmalltalkScripting self textArea beForSmalltalkScripting.
self textArea font: StandardFonts codeFont
But without success. I'm puzzled. Stef
And you need to reset the tutorial, it reuses the existing lesson view.
And maybe we should use beForSmalltalkScripting in the helpbrowser as well, because right now, you can not use "printIt"
this is what I started to suspect!!! Ok I saw that you already commit the code you were faster than me :) Stef Le 24/2/16 17:29, Nicolai Hess a écrit :
Am 24.02.2016 5:26 nachm. schrieb "stepharo" <stepharo@free.fr <mailto:stepharo@free.fr>>:
may be
showLesson: aLesson withTitle: aString self window setLabel: aString. self sourceTextModel setText: aLesson lesson. self isOpenInWindow ifFalse: [ self open ]
but I do not know :(
Stef
Maybe both, beForSmalltalkCode and beForSmalltalkScripting in RubScrolledTextMorph should use self textArea font: StandardFonts codeFont
At the moment, only beForSmalltalkCode sets this font.
Yes I did the same as you, I tried to add
beForSmalltalkScripting self textArea beForSmalltalkScripting.
self textArea font: StandardFonts codeFont
But without success. I'm puzzled. Stef
And you need to reset the tutorial, it reuses the existing lesson view.
2016-02-24 17:45 GMT+01:00 stepharo <stepharo@free.fr>:
this is what I started to suspect!!! Ok I saw that you already commit the code you were faster than me :)
No, thats not from me. I'll check.
Stef
Le 24/2/16 17:29, Nicolai Hess a écrit :
Am 24.02.2016 5:26 nachm. schrieb "stepharo" < <stepharo@free.fr> stepharo@free.fr>:
may be
showLesson: aLesson withTitle: aString self window setLabel: aString. self sourceTextModel setText: aLesson lesson. self isOpenInWindow ifFalse: [ self open ]
but I do not know :(
Stef
Maybe both, beForSmalltalkCode and beForSmalltalkScripting in RubScrolledTextMorph should use self textArea font: StandardFonts codeFont
At the moment, only beForSmalltalkCode sets this font.
Yes I did the same as you, I tried to add
beForSmalltalkScripting self textArea beForSmalltalkScripting.
self textArea font: StandardFonts codeFont
But without success. I'm puzzled. Stef
And you need to reset the tutorial, it reuses the existing lesson view.
participants (2)
-
Nicolai Hess -
stepharo