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.