[Pharo-dev] Bug font windows

Tudor Girba tudor at tudorgirba.com
Wed Nov 27 15:16:27 EST 2013


That is what I wanted to ask: How you built the image. Ok. I will try to
open a Pharo image built on Mac on a Windows machine and see what happens.

Cheers,
Doru


On Wed, Nov 27, 2013 at 9:11 PM, Stéphane Ducasse <stephane.ducasse at inria.fr
> wrote:

>
> On Nov 27, 2013, at 4:44 PM, Tudor Girba <tudor at tudorgirba.com> wrote:
>
> Strange. I did not encounter this until now. What exactly are you doing?
>
>
> Students of a workshop used a moose image worked perfect.
> Then today the images where not working at all. They could not reopen them
> and I suspect
> a problem with the fonts. For example I do not know on windows how the
> fonts are resolved if the image
> is built on mac.
>
> Stef
>
>
>
>
> Doru
>
>
> On Wed, Nov 27, 2013 at 2:22 PM, Stéphane Ducasse <
> stephane.ducasse at inria.fr> wrote:
>
>> Hi guys
>>
>> I'm running a workshop using Moose 4.8/4.7 on windows XP with Pharo2.0
>> and Moose worked and now it does not. I suspect something related to fonts
>> as shown by the stack trace but I could be wrong
>> I suspect that the font handle is not released and reinitialized
>> correctly.
>>
>> Any ideas?
>>
>>
>> Smalltalk stack dump:
>>   0x1e97d8 I [] in FreeTypeFace(FT2Face)>newFaceFromExternalMemory:index:
>>  0xc2d0e0c: a(n) FreeTypeFace
>>   0x1e97f4 M BlockClosure>on:do:  0xfc85e68: a(n) BlockClosure
>>   0x1e9820 I FreeTypeFace(FT2Face)>newFaceFromExternalMemory:index:
>>  0xc2d0e0c: a(n) FreeTypeFace
>>   0x1e984c I FreeTypeFace>newFaceFromExternalMemory:index:  0xc2d0e0c:
>> a(n) FreeTypeFace
>>   0x1e9874 I FreeTypeFace>create  0xc2d0e0c: a(n) FreeTypeFace
>>   0x1e9894 I FreeTypeFace>validate  0xc2d0e0c: a(n) FreeTypeFace
>>   0x1e98b4 I FreeTypeFont>face  0xfc85bd8: a(n) FreeTypeFont
>>   0x1e98f0 I FreeTypeFontProvider>fontFor:familyName:  0x8fc7a0c: a(n)
>> FreeTypeFontProvider
>>   0x1e991c M [] in
>> LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll:  0xc118520:
>> a(n) LogicalFontManager
>>   0x1e8f44 M OrderedCollection>do:  0xc11852c: a(n) OrderedCollection
>>   0x1e8f70 I [] in
>> LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll:  0xc118520:
>> a(n) LogicalFontManager
>>   0x1e8f94 M Array(SequenceableCollection)>do:  0xfc84b10: a(n) Array
>>   0x1e8fbc I
>> LogicalFontManager>bestFontFor:whenFindingAlternativeIgnoreAll:  0xc118520:
>> a(n) LogicalFontManager
>>   0x1e8fe4 I LogicalFontManager>bestFontFor:  0xc118520: a(n)
>> LogicalFontManager
>>   0x1e9008 I LogicalFont>findRealFont  0xc1184e0: a(n) LogicalFont
>>   0x1e9028 I LogicalFont>realFont  0xc1184e0: a(n) LogicalFont
>>   0x1e9048 I LogicalFont>installOn:foregroundColor:backgroundColor:
>>  0xc1184e0: a(n) LogicalFont
>>   0x1e907c I FormCanvas>drawString:from:to:in:font:color:  0xfc841bc:
>> a(n) FormCanvas
>>   0x1e90b4 I FormCanvas(Canvas)>drawString:in:font:color:  0xfc841bc:
>> a(n) FormCanvas
>>   0x1e90e4 M StringMorph>drawOn:  0xf371814: a(n) StringMorph
>>   0x1e9100 M FormCanvas(Canvas)>draw:  0xfc841bc: a(n) FormCanvas
>>   0x1e911c M FormCanvas(Canvas)>drawMorph:  0xfc841bc: a(n) FormCanvas
>>   0x1e8790 M [] in StringMorph(Morph)>fullDrawOn:  0xf371814: a(n)
>> StringMorph
>>   0x1e87a8 M FormCanvas>roundCornersOf:in:during:  0xfc841bc: a(n)
>> FormCanvas
>>   0x1e87cc M FormCanvas(Canvas)>roundCornersOf:during:  0xfc841bc: a(n)
>> FormCanvas
>>   0x1e87f0 M [] in StringMorph(Morph)>fullDrawOn:  0xf371814: a(n)
>> StringMorph
>>   0x1e880c M BlockClosure>on:do:  0xfc8448c: a(n) BlockClosure
>>   0x1e882c M StringMorph(Morph)>fullDrawOn:  0xf371814: a(n) StringMorph
>>   0x1e8848 M FormCanvas(Canvas)>fullDraw:  0xfc841bc: a(n) FormCanvas
>>   0x1e8864 M FormCanvas(Canvas)>fullDrawMorph:  0xfc841bc: a(n) FormCanvas
>>   0x1e8884 M [] in Morph>drawSubmorphsOn:  0xf371928: a(n) Morph
>>   0x1e88a4 M Array(SequenceableCollection)>reverseDo:  0xf3719ec: a(n)
>> Array
>>   0x1e88c0 M [] in Morph>drawSubmorphsOn:  0xf371928: a(n) Morph
>>   0x1e88dc M FormCanvas>clipBy:during:  0xfc82780: a(n) FormCanvas
>>   0x1e8900 M Morph>drawSubmorphsOn:  0xf371928: a(n) Morph
>>   0x1e8920 M [] in Morph>fullDrawOn:  0xf371928: a(n) Morph
>>   0x1e7fc8 M FormCanvas>roundCornersOf:in:during:  0xfc82780: a(n)
>> FormCanvas
>>   0x1e7fec M FormCanvas(Canvas)>roundCornersOf:during:  0xfc82780: a(n)
>> FormCanvas
>>   0x1e8010 M [] in Morph>fullDrawOn:  0xf371928: a(n) Morph
>>   0x1e802c M BlockClosure>on:do:  0xfc839c4: a(n) BlockClosure
>>   0x1e804c M Morph>fullDrawOn:  0xf371928: a(n) Morph
>>   0x1e8068 M FormCanvas(Canvas)>fullDraw:  0xfc82780: a(n) FormCanvas
>>   0x1e8084 M FormCanvas(Canvas)>fullDrawMorph:  0xfc82780: a(n) FormCanvas
>>   0x1e80a4 M [] in MorphTreeNodeMorph(Morph)>drawSubmorphsOn:  0xf37154c:
>> a(n) MorphTreeNodeMorph
>>   0x1e80c4 M Array(SequenceableCollection)>reverseDo:  0xf3719f4: a(n)
>> Array
>>   0x1e80e0 M [] in MorphTreeNodeMorph(Morph)>drawSubmorphsOn:  0xf37154c:
>> a(n) MorphTreeNodeMorph
>>   0x1e8100 M MorphTreeNodeMorph(Morph)>drawSubmorphsOn:  0xf37154c: a(n)
>> MorphTreeNodeMorph
>>   0x1e8120 M [] in MorphTreeNodeMorph(Morph)>fullDrawOn:  0xf37154c: a(n)
>> MorphTreeNodeMorph
>>   0x1e77e0 M FormCanvas>roundCornersOf:in:during:  0xfc82780: a(n)
>> FormCanvas
>>   0x1e7804 M FormCanvas(Canvas)>roundCornersOf:during:  0xfc82780: a(n)
>> FormCanvas
>>   0x1e7828 M [] in MorphTreeNodeMorph(Morph)>fullDrawOn:  0xf37154c: a(n)
>> MorphTreeNodeMorph
>>   0x1e7844 M BlockClosure>on:do:  0xfc82db0: a(n) BlockClosure
>>   0x1e7864 M MorphTreeNodeMorph(Morph)>fullDrawOn:  0xf37154c: a(n)
>> MorphTreeNodeMorph
>>   0x1e7880 M FormCanvas(Canvas)>fullDraw:  0xfc82780: a(n) FormCanvas
>>   0x1e789c M FormCanvas(Canvas)>fullDrawMorph:  0xfc82780: a(n) FormCanvas
>>   0x1e78d4 I [] in MorphTreeTransformMorph>drawSubmorphsOn:  0xf370b90:
>> a(n) MorphTreeTransformMorph
>>   0x1e7910 M FormCanvas>transformBy:clippingTo:during:smoothing:
>>  0xfc7ffc4: a(n) FormCanvas
>>   0x1e7008 I MorphTreeTransformMorph>drawSubmorphsOn:  0xf370b90: a(n)
>> MorphTreeTransformMorph
>>   0x1e7028 M [] in MorphTreeTransformMorph(Morph)>fullDrawOn:  0xf370b90:
>> a(n) MorphTreeTransformMorph
>>   0x1e7040 M FormCanvas>roundCornersOf:in:during:  0xfc7ffc4: a(n)
>> FormCanvas
>>   0x1e7064 M FormCanvas(Canvas)>roundCornersOf:during:  0xfc7ffc4: a(n)
>> FormCanvas
>>   0x1e7088 M [] in MorphTreeTransformMorph(Morph)>fullDrawOn:  0xf370b90:
>> a(n) MorphTreeTransformMorph
>>   0x1e70a4 M BlockClosure>on:do:  0xfc8185c: a(n) BlockClosure
>>   0x1e70c4 M MorphTreeTransformMorph(Morph)>fullDrawOn:  0xf370b90: a(n)
>> MorphTreeTransformMorph
>>   0x1e70e0 M FormCanvas(Canvas)>fullDraw:  0xfc7ffc4: a(n) FormCanvas
>>   0x1e70fc M FormCanvas(Canvas)>fullDrawMorph:  0xfc7ffc4: a(n) FormCanvas
>>   0x1e711c M [] in PaginatedMorphTreeMorph(Morph)>drawSubmorphsOn:
>>  0xf3707cc: a(n) PaginatedMorphTreeMorph
>>   0x1e6808 M Array(SequenceableCollection)>reverseDo:  0xf37a21c: a(n)
>> Array
>>   0x1e6824 M [] in PaginatedMorphTreeMorph(Morph)>drawSubmorphsOn:
>>  0xf3707cc: a(n) PaginatedMorphTreeMorph
>>   0x1e6844 M PaginatedMorphTreeMorph(Morph)>drawSubmorphsOn:  0xf3707cc:
>> a(n) PaginatedMorphTreeMorph
>>   0x1e6860 M PaginatedMorphTreeMorph(ScrollPane)>drawSubmorphsOn:
>>  0xf3707cc: a(n) PaginatedMorphTreeMorph
>>   0x1e6880 M [] in PaginatedMorphTreeMorph(Morph)>fullDrawOn:  0xf3707cc:
>> a(n) PaginatedMorphTreeMorph
>>   0x1e6898 M FormCanvas>roundCornersOf:in:during:  0xfc7ffc4: a(n)
>> FormCanvas
>>   0x1e68bc M FormCanvas(Canvas)>roundCornersOf:during:  0xfc7ffc4: a(n)
>> FormCanvas
>>   0x1e68e0 M [] in PaginatedMorphTreeMorph(Morph)>fullDrawOn:  0xf3707cc:
>> a(n) PaginatedMorphTreeMorph
>>   0x1e68fc M BlockClosure>on:do:  0xfc80460: a(n) BlockClosure
>>   0x1e691c M PaginatedMorphTreeMorph(Morph)>fullDrawOn:  0xf3707cc: a(n)
>> PaginatedMorphTreeMorph
>>   0x1e5fa8 M FormCanvas(Canvas)>fullDraw:  0xfc7ffc4: a(n) FormCanvas
>>   0x1e5fc4 M FormCanvas(Canvas)>fullDrawMorph:  0xfc7ffc4: a(n) FormCanvas
>>   0x1e5fe4 M [] in PanelMorph(Morph)>drawSubmorphsOn:  0xf370744: a(n)
>> PanelMorph
>>   0x1e6004 M Array(SequenceableCollection)>reverseDo:  0xf371b8c: a(n)
>> Array
>>   0x1e6020 M [] in PanelMorph(Morph)>drawSubmorphsOn:  0xf370744: a(n)
>> PanelMorph
>>   0x1e603c M FormCanvas>clipBy:during:  0xfc7f190: a(n) FormCanvas
>>   0x1e6060 M PanelMorph(Morph)>drawSubmorphsOn:  0xf370744: a(n)
>> PanelMorph
>>   0x1e6080 M [] in PanelMorph(Morph)>fullDrawOn:  0xf370744: a(n)
>> PanelMorph
>>   0x1e6098 M FormCanvas>roundCornersOf:in:during:  0xfc7f190: a(n)
>> FormCanvas
>>   0x1e60bc M FormCanvas(Canvas)>roundCornersOf:during:  0xfc7f190: a(n)
>> FormCanvas
>>   0x1e60e0 M [] in PanelMorph(Morph)>fullDrawOn:  0xf370744: a(n)
>> PanelMorph
>>   0x1e60fc M BlockClosure>on:do:  0xfc7f6e4: a(n) BlockClosure
>>   0x1e611c M PanelMorph(Morph)>fullDrawOn:  0xf370744: a(n) PanelMorph
>>   0x1e57e8 M FormCanvas(Canvas)>fullDraw:  0xfc7f190: a(n) FormCanvas
>>   0x1e5804 M FormCanvas(Canvas)>fullDrawMorph:  0xfc7f190: a(n) FormCanvas
>>   0x1e5824 M [] in PanelMorph(Morph)>drawSubmorphsOn:  0xf370644: a(n)
>> PanelMorph
>>   0x1e5844 M Array(SequenceableCollection)>reverseDo:  0xf372218: a(n)
>> Array
>>   0x1e5860 M [] in PanelMorph(Morph)>drawSubmorphsOn:  0xf370644: a(n)
>> PanelMorph
>>   0x1e587c M FormCanvas>clipBy:during:  0xfc7df68: a(n) FormCanvas
>>   0x1e58a0 M PanelMorph(Morph)>drawSubmorphsOn:  0xf370644: a(n)
>> PanelMorph
>>   0x1e58c0 M [] in PanelMorph(Morph)>fullDrawOn:  0xf370644: a(n)
>> PanelMorph
>>   0x1e58d8 M FormCanvas>roundCornersOf:in:during:  0xfc7df68: a(n)
>> FormCanvas
>>   0x1e58fc M FormCanvas(Canvas)>roundCornersOf:during:  0xfc7df68: a(n)
>> FormCanvas
>>   0x1e5920 M [] in PanelMorph(Morph)>fullDrawOn:  0xf370644: a(n)
>> PanelMorph
>>   0x1e500c M BlockClosure>on:do:  0xfc7e7f8: a(n) BlockClosure
>>   0x1e502c M PanelMorph(Morph)>fullDrawOn:  0xf370644: a(n) PanelMorph
>>   0x1e5048 M FormCanvas(Canvas)>fullDraw:  0xfc7df68: a(n) FormCanvas
>>   0x1e5064 M FormCanvas(Canvas)>fullDrawMorph:  0xfc7df68: a(n) FormCanvas
>>   0x1e5084 M [] in PanelMorph(Morph)>drawSubmorphsOn:  0xf36d920: a(n)
>> PanelMorph
>>   0x1e50a4 M Array(SequenceableCollection)>reverseDo:  0xf3723d8: a(n)
>> Array
>>   0x1e50c0 M [] in PanelMorph(Morph)>drawSubmorphsOn:  0xf36d920: a(n)
>> PanelMorph
>>   0x1e50dc M FormCanvas>clipBy:during:  0xfc7d1ec: a(n) FormCanvas
>>   0x1e5100 M PanelMorph(Morph)>drawSubmorphsOn:  0xf36d920: a(n)
>> PanelMorph
>>   0x1e5120 M [] in PanelMorph(Morph)>fullDrawOn:  0xf36d920: a(n)
>> PanelMorph
>>   0x1e37c4 M FormCanvas>roundCornersOf:in:during:  0xfc7d1ec: a(n)
>> FormCanvas
>>   0x1e37e8 M FormCanvas(Canvas)>roundCornersOf:during:  0xfc7d1ec: a(n)
>> FormCanvas
>>   0x1e380c M [] in PanelMorph(Morph)>fullDrawOn:  0xf36d920: a(n)
>> PanelMorph
>>   0x1e3828 M BlockClosure>on:do:  0xfc7d62c: a(n) BlockClosure
>>   0x1e3848 M PanelMorph(Morph)>fullDrawOn:  0xf36d920: a(n) PanelMorph
>>   0x1e3864 M FormCanvas(Canvas)>fullDraw:  0xfc7d1ec: a(n) FormCanvas
>>   0x1e3880 M FormCanvas(Canvas)>fullDrawMorph:  0xfc7d1ec: a(n) FormCanvas
>>   0x1e38a0 M [] in PanelMorph(Morph)>drawSubmorphsOn:  0xf36d79c: a(n)
>> PanelMorph
>>   0x1e38c0 M Array(SequenceableCollection)>reverseDo:  0xf372560: a(n)
>> Array
>>   0x1e38dc M [] in PanelMorph(Morph)>drawSubmorphsOn:  0xf36d79c: a(n)
>> PanelMorph
>>   0x1e38f8 M FormCanvas>clipBy:during:  0xfc7c414: a(n) FormCanvas
>>   0x1e391c M PanelMorph(Morph)>drawSubmorphsOn:  0xf36d79c: a(n)
>> PanelMorph
>>   0x1e47cc M [] in PanelMorph(Morph)>fullDrawOn:  0xf36d79c: a(n)
>> PanelMorph
>>   0x1e47e4 M FormCanvas>roundCornersOf:in:during:  0xfc7c414: a(n)
>> FormCanvas
>>   0x1e4808 M FormCanvas(Canvas)>roundCornersOf:during:  0xfc7c414: a(n)
>> FormCanvas
>>   0x1e482c M [] in PanelMorph(Morph)>fullDrawOn:  0xf36d79c: a(n)
>> PanelMorph
>>   0x1e4848 M BlockClosure>on:do:  0xfc7c854: a(n) BlockClosure
>>   0x1e4868 M PanelMorph(Morph)>fullDrawOn:  0xf36d79c: a(n) PanelMorph
>>   0x1e4884 M FormCanvas(Canvas)>fullDraw:  0xfc7c414: a(n) FormCanvas
>>   0x1e48a0 M FormCanvas(Canvas)>fullDrawMorph:  0xfc7c414: a(n) FormCanvas
>>   0x1e48c0 M [] in GLMSystemWindow(Morph)>drawSubmorphsOn:  0xf36b190:
>> a(n) GLMSystemWindow
>>   0x1e48e0 M Array(SequenceableCollection)>reverseDo:  0xf3725c4: a(n)
>> Array
>>   0x1e48fc M [] in GLMSystemWindow(Morph)>drawSubmorphsOn:  0xf36b190:
>> a(n) GLMSystemWindow
>>   0x1e4918 M FormCanvas>clipBy:during:  0xfc7b40c: a(n) FormCanvas
>>   0x1e3fd4 M GLMSystemWindow(Morph)>drawSubmorphsOn:  0xf36b190: a(n)
>> GLMSystemWindow
>>   0x1e3ff4 M [] in GLMSystemWindow(Morph)>fullDrawOn:  0xf36b190: a(n)
>> GLMSystemWindow
>>   0x1e400c M FormCanvas>roundCornersOf:in:during:  0xfc7b40c: a(n)
>> FormCanvas
>>   0x1e4030 M FormCanvas(Canvas)>roundCornersOf:during:  0xfc7b40c: a(n)
>> FormCanvas
>>   0x1e4054 M [] in GLMSystemWindow(Morph)>fullDrawOn:  0xf36b190: a(n)
>> GLMSystemWindow
>>   0x1e4070 M BlockClosure>on:do:  0xfc7b63c: a(n) BlockClosure
>>   0x1e4090 M GLMSystemWindow(Morph)>fullDrawOn:  0xf36b190: a(n)
>> GLMSystemWindow
>>   0x1e40ac M FormCanvas(Canvas)>fullDraw:  0xfc7b40c: a(n) FormCanvas
>>   0x1e40c8 M FormCanvas(Canvas)>fullDrawMorph:  0xfc7b40c: a(n) FormCanvas
>>   0x1e411c M [] in WorldState>drawWorld:submorphs:invalidAreasOn:
>>  0x903859c: a(n) WorldState
>>   0x1e301c I Rectangle>allAreasOutsideList:startingAt:do:  0xfc41240:
>> a(n) Rectangle
>>   0x1e3048 I Rectangle>allAreasOutsideList:do:  0xfc41240: a(n) Rectangle
>>   0x1e308c I [] in WorldState>drawWorld:submorphs:invalidAreasOn:
>>  0x903859c: a(n) WorldState
>>   0x1e30b0 M Array(SequenceableCollection)>do:  0xfc51834: a(n) Array
>>   0x1e30e8 I WorldState>drawWorld:submorphs:invalidAreasOn:  0x903859c:
>> a(n) WorldState
>>   0x1e3120 M [] in WorldState>displayWorld:submorphs:  0x903859c: a(n)
>> WorldState
>>   0x1e280c I FormCanvas>roundCornersOf:in:during:  0xfc5171c: a(n)
>> FormCanvas
>>   0x1e2838 I FormCanvas(Canvas)>roundCornersOf:during:  0xfc5171c: a(n)
>> FormCanvas
>>   0x1e2868 I WorldState>displayWorld:submorphs:  0x903859c: a(n)
>> WorldState
>>   0x1e2890 I PasteUpMorph>privateOuterDisplayWorld  0x90290c0: a(n)
>> PasteUpMorph
>>   0x1e28b0 I PasteUpMorph>displayWorld  0x90290c0: a(n) PasteUpMorph
>>   0x1e28dc I TaskbarMorph(Morph)>snapToEdgeIfAppropriate  0x904a634: a(n)
>> TaskbarMorph
>>   0x1e28fc I TaskbarMorph>updateBounds  0x904a634: a(n) TaskbarMorph
>>
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>
>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131127/5a174032/attachment-0002.html>


More information about the Pharo-dev mailing list