Roassal Sunburst examples not working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Roassal Sunburst examples not working

Arturo Zambrano
Hi,
 I just installed Roassal in a 2.0 Pharo image
 All the examples of Sunburst raise a MNU but
in a red background window (screenshot attached). It seems that something
prevents the debugger to open.

 Any hint about this? Maybe there is a missing dependency of Roassal sunburst

thanks
art

PharoScreenshot.1.png (63K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Sunburst examples not working

Ben Coman
Hi Arturo,

The drawOn: method gets called several times a second, so you would end up with so many debuggers opening that you would loose control of your image.
Have a look in the Halos menu for an entry "debug drawing error".
For curiosity you might look at Morph>>fullDrawOn:

cheers -ben

Arturo Zambrano wrote:
Hi,
 I just installed Roassal in a 2.0 Pharo image
 All the examples of Sunburst raise a MNU but
in a red background window (screenshot attached). It seems that something
prevents the debugger to open.

 Any hint about this? Maybe there is a missing dependency of Roassal sunburst

thanks
art




Reply | Threaded
Open this post in threaded view
|

Re: Roassal Sunburst examples not working

Arturo Zambrano
Hi Ben,
 thanks, I will try to see what  is going wrong with sunburst

regards



On Sun, Feb 2, 2014 at 11:40 AM, <[hidden email]> wrote:
Hi Arturo,

The drawOn: method gets called several times a second, so you would end up with so many debuggers opening that you would loose control of your image.
Have a look in the Halos menu for an entry "debug drawing error".
For curiosity you might look at Morph>>fullDrawOn:

cheers -ben

Arturo Zambrano wrote:
Hi,
 I just installed Roassal in a 2.0 Pharo image
 All the examples of Sunburst raise a MNU but
in a red background window (screenshot attached). It seems that something
prevents the debugger to open.

 Any hint about this? Maybe there is a missing dependency of Roassal sunburst

thanks
art





Reply | Threaded
Open this post in threaded view
|

Re: Roassal Sunburst examples not working

Arturo Zambrano
Hi All,
 I moved to Pharo3.

 The same error. I figured out that sunburst needed an Athens canvas.
 I figure out how to configure that evaluating:

 ROPlatform setCurrent: 'athens'

 The visualization shows up!!, but as soon as I pass the mouse cursor in front of the visualization window, I get a red window saying that: StrikeFont does not understand #glyphRendererOn:

 
1) Due to sunburst is platform dependent I suggest to add some check in order to inform the
user that it needs Athens instead of morphic canvas.
2) Any hint on how to fix the   #glyphRendererOn: MNU ? I found that FreeType and Logical fonts implement that message, but I cannot figure out how to tell Roassal to use such fonts.


Thanks













On Sun, Feb 2, 2014 at 6:12 PM, Arturo Zambrano <[hidden email]> wrote:
Hi Ben,
 thanks, I will try to see what  is going wrong with sunburst

regards



On Sun, Feb 2, 2014 at 11:40 AM, <[hidden email]> wrote:
Hi Arturo,

The drawOn: method gets called several times a second, so you would end up with so many debuggers opening that you would loose control of your image.
Have a look in the Halos menu for an entry "debug drawing error".
For curiosity you might look at Morph>>fullDrawOn:

cheers -ben

Arturo Zambrano wrote:
Hi,
 I just installed Roassal in a 2.0 Pharo image
 All the examples of Sunburst raise a MNU but
in a red background window (screenshot attached). It seems that something
prevents the debugger to open.

 Any hint about this? Maybe there is a missing dependency of Roassal sunburst

thanks
art






Reply | Threaded
Open this post in threaded view
|

Re: Roassal Sunburst examples not working

Alejandro Infante
Currently Roassal ask the system settings for the current fonts. I suggest you do the following:

World Menu > System > Settings > Appearance:
  - Activate Use Free type... (If is already activated, deactivate it and activate it again).
  - Standard Fonts > Select the fonts you want to use.

In a Moose 5.0 Image that worked for me, if you have any issue with that please let us know.

Cheers,
Alejandro


2014-02-03 Arturo Zambrano <[hidden email]>:
Hi All,
 I moved to Pharo3.

 The same error. I figured out that sunburst needed an Athens canvas.
 I figure out how to configure that evaluating:

 ROPlatform setCurrent: 'athens'

 The visualization shows up!!, but as soon as I pass the mouse cursor in front of the visualization window, I get a red window saying that: StrikeFont does not understand #glyphRendererOn:

 
1) Due to sunburst is platform dependent I suggest to add some check in order to inform the
user that it needs Athens instead of morphic canvas.
2) Any hint on how to fix the   #glyphRendererOn: MNU ? I found that FreeType and Logical fonts implement that message, but I cannot figure out how to tell Roassal to use such fonts.


Thanks













On Sun, Feb 2, 2014 at 6:12 PM, Arturo Zambrano <[hidden email]> wrote:
Hi Ben,
 thanks, I will try to see what  is going wrong with sunburst

regards



On Sun, Feb 2, 2014 at 11:40 AM, <[hidden email]> wrote:
Hi Arturo,

The drawOn: method gets called several times a second, so you would end up with so many debuggers opening that you would loose control of your image.
Have a look in the Halos menu for an entry "debug drawing error".
For curiosity you might look at Morph>>fullDrawOn:

cheers -ben

Arturo Zambrano wrote:
Hi,
 I just installed Roassal in a 2.0 Pharo image
 All the examples of Sunburst raise a MNU but
in a red background window (screenshot attached). It seems that something
prevents the debugger to open.

 Any hint about this? Maybe there is a missing dependency of Roassal sunburst

thanks
art







Reply | Threaded
Open this post in threaded view
|

Re: Roassal Sunburst examples not working

Stephan Eggermont-3
In reply to this post by Arturo Zambrano
Alejandro wrote
>World Menu > System > Settings > Appearance:
>  - Activate Use Free type... (If is already activated, deactivate it and activate it again).

FreeTypeFontProvider current updateFromSystem.
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Sunburst examples not working

Arturo Zambrano
Thanks for your help.
I tried activating freetype in the Appearance window and also programmatically doing:

FreeTypeFontProvider current updateFromSystem.

I still have the same problem.

SunburstExample  new sunburstExample1  works
SunburstExample  new sunburstExample2  fail
SunburstExample  new sunburstExample3  fail







On Tue, Feb 4, 2014 at 6:09 AM, Stephan Eggermont <[hidden email]> wrote:
Alejandro wrote
>World Menu > System > Settings > Appearance:
>  - Activate Use Free type... (If is already activated, deactivate it and activate it again).

FreeTypeFontProvider current updateFromSystem.


PharoScreenshot.png (38K) Download Attachment