Roassal Easel - Red X of Death

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

Roassal Easel - Red X of Death

Sean P. DeNigris
Administrator
In freshly downloaded Moose latest, opening the Roassal Easel from the world menu -> MNU StrikeFont>>#glyphRendererOn:. Known bug?
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Sean P. DeNigris
Administrator
Sean P. DeNigris wrote
In freshly downloaded Moose latest... Known bug?
Also RTCharterBuilder examples are broken. Most need #numberOfLinesOfCode -> #linesOfCode. I wasn't sure how to fix #exampleHistogram.
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Sean P. DeNigris
Administrator
Sean P. DeNigris wrote
Most need #numberOfLinesOfCode -> #linesOfCode
This transformation seems to be needed in many of the examples throughout Roassal & PBE2.

Also, in Roassal 3D:
- Up arrow in R3RoassalExample>>#exampleSphereLayout ->MessageNotUnderstood: KeyboardEvent>>direction
- R3RoassalExample examples (seemingly especially the "nice colors" ones) intermittently crash the VM with "line 11: 58266 Abort trap: 6" to the console (Mac 10.9.3)
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Tudor Girba-2
In reply to this post by Sean P. DeNigris
Hi,

My guess is that you took a Pharo image and then loaded Moose in it without installing the Moose settings. Correct?

In that case, it is correct that it is a known bug. The issue is that Pharo comes with StrikeFonts installed, and Roassal needs FreeTypeFont. That is one of the reasons we use:

GTImageSetupCommandLineHandler new activateWithoutSaving.

Cheers,
Doru


On Wed, Aug 20, 2014 at 2:30 AM, Sean P. DeNigris <[hidden email]> wrote:
In freshly downloaded Moose latest, opening the Roassal Easel from the world
menu -> MNU StrikeFont>>#glyphRendererOn:. Known bug?



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Roassal-Easel-Red-X-of-Death-tp4773878.html
Sent from the Moose mailing list archive at Nabble.com.
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Sean P. DeNigris
Administrator
Tudor Girba-2 wrote
My guess is that you took a Pharo image and then loaded Moose in it without
installing the Moose settings. Correct?
No I downloaded from http://bit.ly/lastMoose . Maybe a conflict with my startup scripts...
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Tudor Girba-2
It must be some conflict, because I cannot reproduce it given that we are installing the free type fonts. Could you check?

Doru


On Wed, Aug 20, 2014 at 1:17 PM, Sean P. DeNigris <[hidden email]> wrote:
Tudor Girba-2 wrote
> My guess is that you took a Pharo image and then loaded Moose in it
> without
> installing the Moose settings. Correct?

No I downloaded from http://bit.ly/lastMoose . Maybe a conflict with my
startup scripts...



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Roassal-Easel-Red-X-of-Death-tp4773878p4773932.html
Sent from the Moose mailing list archive at Nabble.com.
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Sean P. DeNigris
Administrator
Tudor Girba-2 wrote
It must be some conflict, because I cannot reproduce it given that we are
installing the free type fonts. Could you check?
Use Free type is checked in the settings
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Tudor Girba-2
That is not the thing. That setting only says that you can use FT fonts. You need to check the actual font that is being used.

Doru


On Wed, Aug 20, 2014 at 1:51 PM, Sean P. DeNigris <[hidden email]> wrote:
Tudor Girba-2 wrote
> It must be some conflict, because I cannot reproduce it given that we are
> installing the free type fonts. Could you check?

Use Free type is checked in the settings



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Roassal-Easel-Red-X-of-Death-tp4773878p4773939.html
Sent from the Moose mailing list archive at Nabble.com.
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Ben Coman
In reply to this post by Tudor Girba-2
Tudor Girba wrote:
Hi,

My guess is that you took a Pharo image and then loaded Moose in it without installing the Moose settings. Correct?

In that case, it is correct that it is a known bug. The issue is that Pharo comes with StrikeFonts installed, and Roassal needs FreeTypeFont. That is one of the reasons we use:

GTImageSetupCommandLineHandler new activateWithoutSaving.

Cheers,
Doru

Maybe a class initialize method that would load from the Configuration Browser item Roasal could display a dialog asking the user if they want to make the required Preference changes. It would be really good for Roassal to load cleanly into a base Pharo image.  The other day I wanted to chase down some strong pointers and thought Roassal would be great for this, but it didn't work out of the box and so I resorted to rolling my own hack for this in Morphic.  Now I would normally just sue Moose to use Roassal, except it was stuff in an existing image I wanted to graph.
cheers -ben

On Wed, Aug 20, 2014 at 2:30 AM, Sean P. DeNigris <[hidden email]> wrote:
In freshly downloaded Moose latest, opening the Roassal Easel from the world
menu -> MNU StrikeFont>>#glyphRendererOn:. Known bug?



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Roassal-Easel-Red-X-of-Death-tp4773878.html
Sent from the Moose mailing list archive at Nabble.com.
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Sean P. DeNigris
Administrator
Ben Coman wrote
Now I would normally just /sue/ Moose to use Roassal
From the MIT license:
IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY

;-p
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Ben Coman
Sean P. DeNigris wrote:
Ben Coman wrote
  
Now I would normally just /sue/ Moose to use Roassal
    

>From the MIT license:
IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY

;-p



  

No no. You got it all wrong.  I have this friend Sue that is pretty tough and...

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

jfabry
In reply to this post by Ben Coman

+1 on this.

On Aug 20, 2014, at 9:36 AM, Ben Coman <[hidden email]> wrote:

> Maybe a class initialize method that would load from the Configuration Browser item Roasal could display a dialog asking the user if they want to make the required Preference changes. It would be really good for Roassal to load cleanly into a base Pharo image.  



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Sean P. DeNigris
Administrator
In reply to this post by Tudor Girba-2
Tudor Girba-2 wrote
You need to check the actual font that is being used.
I later found the same answer at http://stackoverflow.com/questions/24230020/how-to-fix-strikefont-doesnotunderstand-glyphrendereron-when-rendering-text-i

Stupid question: how can I tell from the font list which ones are FT so I can test this for you?
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Nicolai Hess
In reply to this post by jfabry
Pharo4 includes now an AthensStrikeFontRenderer, so if no FreeType font is loaded, you don't get this red x of death anymore.


2014-08-20 17:01 GMT+02:00 Johan Fabry <[hidden email]>:

+1 on this.

On Aug 20, 2014, at 9:36 AM, Ben Coman <[hidden email]> wrote:

> Maybe a class initialize method that would load from the Configuration Browser item Roasal could display a dialog asking the user if they want to make the required Preference changes. It would be really good for Roassal to load cleanly into a base Pharo image.



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Tudor Girba-2
That is great to hear.

@Sean: Just print out the result of:
StandardFonts defaultFont

Or look in the Settings/Appearange/Standard Fonts

If you see DejaVu in there, you are likely using a Bitmap font.

Doru



On Wed, Aug 20, 2014 at 10:18 PM, Nicolai Hess <[hidden email]> wrote:
Pharo4 includes now an AthensStrikeFontRenderer, so if no FreeType font is loaded, you don't get this red x of death anymore.


2014-08-20 17:01 GMT+02:00 Johan Fabry <[hidden email]>:


+1 on this.

On Aug 20, 2014, at 9:36 AM, Ben Coman <[hidden email]> wrote:

> Maybe a class initialize method that would load from the Configuration Browser item Roasal could display a dialog asking the user if they want to make the required Preference changes. It would be really good for Roassal to load cleanly into a base Pharo image.



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal Easel - Red X of Death

Ben Coman
Tudor Girba wrote:

> That is great to hear.
>
> @Sean: Just print out the result of:
> StandardFonts defaultFont
>
> Or look in the Settings/Appearange/Standard Fonts
>
> If you see DejaVu in there, you are likely using a Bitmap font.
>
> Doru
>
>

Ahhh.  I had seen DejaVu and assumed it was Truetype. How is a TrueType
DejaVu font distinguished?  Could it be possible to name strikefonts
DejaVu-StrikeFont?
cheers -ben
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev