[Pharo-dev] Red Box of Doom when changing the Roassal Canvas of the Easle to Athens

Alexandre Bergel alexandre.bergel at me.com
Tue Nov 26 15:22:39 EST 2013


Have you tried to use the mouse distribution?
https://ci.inria.fr/moose/job/moose-5.0/lastSuccessfulBuild/artifact/moose-5.0.zip

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Nov 26, 2013, at 5:16 PM, kilon alios <kilon.alios at gmail.com> wrote:

> Nope I am afraid the problem remains. 
> 
> I went in Settings, did the select , unselect thing. Selected Monaco. Restored Roassal back to Morphic. Went to Easel , selected Canvas -> Athens and I get the MNU and Red Box of Doom once again. Tried Times New Roman and Courier , same problem. 
> 
> 
> On Tue, Nov 26, 2013 at 10:02 PM, Alexandre Bergel <alexandre.bergel at me.com> wrote:
> Hi Kilon,
> 
> You need to change the font of Pharo.
> World Menu/systems/settings/Appearance
> Select "Use Free Font”. If it is selected, then unselect it and select it again.
> Change the source font of your image. Monaco is quite fine I find.
> 
> Do your example again, you should not get the error anymore.
> 
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 
> 
> 
> On Nov 26, 2013, at 3:47 PM, kilon alios <kilon.alios at gmail.com> wrote:
> 
> > I get a MNU when I try to set Canvas in Easel (Roassal) to Athens. This is strange because I use also a very recent image and latest version from both Roassal and Athens at Win7 and I have no such problem.
> >
> > I am now on Macos 10.7
> >
> > I had a similar problem when I tried to render text with Athens. Here is the stack.
> >
> > StrikeFont(Object)>>doesNotUnderstand: #glyphRendererOn:
> > AthensCairoCanvas>>setFont:
> > ROAthensCanvas>>drawString:at:font:color:
> > ROLabel>>drawOn:for: in Block: [ :line | ...
> > Array(SequenceableCollection)>>do:
> > ROLabel(ROAbstractLabel)>>linesOf:do:
> > ROLabel>>drawOn:for:
> > ROLabel(ROShape)>>chainedDrawOn:for:
> > ROBorder(ROShape)>>chainedDrawOn:for:
> > ROBox(ROShape)>>chainedDrawOn:for:
> > ROElement(ROAbstractComponent)>>drawOn:
> > ROViewStack(ROView)>>drawElementsOn: in Block: [ :n | n drawOn: canvas ]
> > OrderedCollection>>do:
> > ROViewStack(ROView)>>elementsToRenderDo: in Block: [ :assoc | assoc value do: aBlock ]
> > OrderedCollection>>do:
> > ROViewStack(ROView)>>elementsToRenderDo:
> > ROViewStack(ROView)>>drawElementsOn:
> > ROViewStack>>drawOn:
> > ROAthensMorph>>drawOn: in Block: [ :cs | ...
> > AthensCairoSurface>>drawDuring: in Block: [ ...
> > BlockClosure>>ensure:
> > AthensCairoSurface>>drawDuring:
> > ROAthensMorph>>drawOn:
> > FormCanvas(Canvas)>>draw:
> > FormCanvas(Canvas)>>drawMorph:
> > ROAthensMorph(Morph)>>fullDrawOn: in Block: [ ...
> > FormCanvas>>roundCornersOf:in:during:
> > FormCanvas(Canvas)>>roundCornersOf:during:
> > ROAthensMorph(Morph)>>fullDrawOn: in Block: [ ...
> > BlockClosure>>on:do:
> >
> 
> 
> 





More information about the Pharo-dev mailing list