Is this problem about font solved for now?
Alexandre On Feb 24, 2014, at 6:07 PM, Alexandre Bergel <[hidden email]> wrote: > Hi! > > I’ve just tried in a fresh up-to-date moose image: > <Screen Shot 2014-02-24 at 6.05.40 PM.png> > <Screen Shot 2014-02-24 at 6.06.35 PM.png> > > The odd font behavior you have shown in the previous emails, seems to happens after some time… I have seen it in the past. > > Alexandre > > > > On Feb 19, 2014, at 6:37 AM, Tudor Girba <[hidden email]> wrote: > >> Exactly, that is my current hypothesis, but I do not know exactly where to look. >> >> Doru >> >> >> On Wed, Feb 19, 2014 at 9:58 AM, Vincent Blondeau <[hidden email]> wrote: >> Le 19/02/2014 07:06, Tudor Girba a écrit : >>> Hi, >>> >>> I tried to debug a bit more. >>> >>> First, I noticed that Roassal was using the FreeTypeFont and Trachel the LogicalFont. I now changed Roassal to also use the LogicalFont. This did not solve the issue, but it does ease the comparison. (Just ensure that you clean the cached fonts from ROFontOrganizerAthens if you already worked in the same image before loading the new code) >> >>> Then, I noticed that even Trachel does not yet quite work: some letters still appear larger than others. However, at least in the case of Trachel, the width of the characters correspond to the size of the rendering (and this seems to still be a problem in Roassal). >>> >>> See attachments: >>> >>> <Mail Attachment.png> >>> >>> <Mail Attachment.png> >>> >>> The strange thing is that if you debug, it seems that the code is basically the same in both cases. I am stuck. Ideas? >> >> Look at the level of the canvas's creation, maybe the properties are not the same... >> >> Vincent >> >>> >>> Doru >>> >>> >>> >>> >>> >>> >>> On Tue, Feb 18, 2014 at 1:48 PM, Vincent Blondeau <[hidden email]> wrote: >>> Hi, >>> >>> For Roassal, I loaded the older packages of Athens-Core and Athens-Cairo : >>> >>> Name: Athens-Core-MarcusDenker.34 >>> Author: MarcusDenker >>> Time: 5 July 2013, 10:59:47.206954 am >>> UUID: e844b2d4-b091-42a4-9be0-17101dcdbd30 >>> Ancestors: Athens-Core-MarcusDenker.33, Athens-Core-ErwanDouaille.33 >>> >>> Name: Athens-Cairo-MarcusDenker.51 >>> Author: MarcusDenker >>> Time: 26 August 2013, 4:03:06.190096 pm >>> UUID: 9e1bfddb-67f7-4a36-864d-11060b8b6881 >>> Ancestors: Athens-Cairo-SebastianTleye.50 >>> >>> And I have no problem in font displaying ! >>> >>> In the newer version, they have implemented the text rendering with NativeBoost. >>> >>> As Roassal2 works fine with the newer version, I don't know if this is a problem with Roassal or with Athens-Cairo. >>> Maybe you should look at it ? >>> >>> Cheers, >>> >>> Vincent >>> >>> >>> >>> >>> Le 18/02/2014 07:43, Tudor Girba a écrit : >>>> Thanks, Vincent. >>>> >>>> I integrated your change in Trachel. It works well now. >>>> >>>> Doru >>>> >>>> >>>> On Mon, Feb 17, 2014 at 11:02 AM, Vincent Blondeau <[hidden email]> wrote: >>>> Hi, >>>> >>>> The following code solve the issue under Roassal2 (Tested under Linux) : >>>> >>>> >>>> TRLabelShape class>>getFontForSize: aNumber >>>> ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber >>>> >>>> For Roassal, the fonts used are the same that in Roassal2 so I don't think that is the problem. >>>> >>>> But it seems that the Athens Font Renderer has been changed (CairoFreetypeFontRenderer) the 4 February (Athens-Cairo-MarcusDenker.62). >>>> This the only thing I see with my knowledges on Roassal. And I don't know how to solve it. Maybe does Alexandre know ? >>>> >>>> Cheers, >>>> >>>> Vincent >>>> >>>> Le 15/02/2014 23:13, Tudor Girba a écrit : >>>>> But, does anyone know what has changed recently in this area? >>>>> >>>>> My guess is that the change comes from Pharo. Or? >>>>> >>>>> Doru >>>>> >>>>> >>>>> On Sat, Feb 15, 2014 at 10:52 PM, Tudor Girba <[hidden email]> wrote: >>>>> Hi Vincent, >>>>> >>>>> What is the status on this? >>>>> >>>>> At this moment, essentially all visualizations containing text are broken (Roassal, Roassal2, GraphET). This is a show stopper. >>>>> >>>>> Doru >>>>> >>>>> >>>>> On Fri, Feb 14, 2014 at 4:20 PM, Vincent Blondeau <[hidden email]> wrote: >>>>> Le 13/02/2014 15:27, Alexandre Bergel a écrit : >>>>> >>>>> Let me know about your progresses with the font problem. >>>>> Everything should be treated in Trachel I have the impression. >>>>> I have found a solution to fix the bug: >>>>> >>>>> TRLabelShape class>>getFontForSize: aNumber >>>>> ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber >>>>> >>>>> In this, it creates an other font with the good size. Because if you don't do that, you always have the same problem. >>>>> >>>>> "StandardFonts defaultFont familyName" should be enough to get the font to use. Maybe we have to change something else in Roassal2. >>>>> >>>>> >>>>> Cheers, >>>>> >>>>> Vincent >>>>> >>>>> >>>>> >>>>> Alexandre >>>>> >>>>> >>>>> On Feb 13, 2014, at 2:18 AM, Vincent Blondeau <[hidden email]> wrote: >>>>> >>>>> Le 13/02/2014 03:32, Alexandre Bergel a écrit : >>>>> No problem to use Roassal 2 instead ! >>>>> >>>>> But I have the same issue on the examples. >>>>> >>>>> Which issue? >>>>> >>>>> The font display issue.. >>>>> >>>>> RTDowserExample new coolStuff : >>>>> >>>>> <ghcgceef.png> >>>>> That is under Linux. It's not very readable. >>>>> >>>>> And I think there is the same issue with W7 >>>>> If you want some help, I can. But I need some pointers :) >>>>> >>>>> I have the impression, that the class TRLabelShape has to be improved. >>>>> For example, consider the following method: >>>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>>> TRLabelShape class>>getFontForSize: aNumber >>>>> ^ LogicalFont familyName: 'Arial' pointSize: aNumber >>>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>>> >>>>> The font name is hardcoded, which is not a good idea since you may have a different font set on your machine. It would be great to use the installed font, used by Pharo. >>>>> >>>>> That a good idea ! Because under Linux, the Arial font doesn't exists.... >>>>> >>>>> >>>>> But with this : >>>>> LogicalFont familyName: 'Source Sans Pro' pointSize: 12 >>>>> You have : >>>>> <ijdgccca.png> >>>>> >>>>> I will search how to use the system fonts. >>>>> By the way, have you tried: RTExample new rotatingLabelsAnimated >>>>> >>>>> That doesn't work :( rotatingLabelsAnimated is not a valid message to a RTExample ... >>>>> :-) >>>>> Alexandre >>>>> >>>>> >>>>> >>>>> Cheers, >>>>> >>>>> Vincent >>>>> >>>>> -----Message d'origine----- >>>>> De : >>>>> [hidden email] [mailto:[hidden email] >>>>> ] >>>>> De la part de Alexandre Bergel >>>>> Envoyé : mercredi 12 février 2014 15:50 >>>>> À : Moose-related development >>>>> Objet : [Moose-dev] Re: Roassal Issue with Text Displaying >>>>> >>>>> Hi! >>>>> >>>>> I have spent a lot of time on trying to understand font, and many bugs are >>>>> still there. I would indeed be happy to have help on this... >>>>> >>>>> Why trying to use Roassal2 instead? Your code will stay the same, but it >>>>> will directly use Athens. >>>>> >>>>> Cheers, >>>>> Alexandre >>>>> >>>>> >>>>> On Feb 12, 2014, at 1:55 AM, Vincent Blondeau >>>>> >>>>> <[hidden email]> >>>>> wrote: >>>>> >>>>> >>>>> Hello everyone, >>>>> >>>>> Under the latest version of Moose, I am confronted to some problems of >>>>> >>>>> text displaying with Roassal. The text letters are not in the same font. >>>>> >>>>> A first example : >>>>> <dfcbaide.png> >>>>> A second example : >>>>> <cagichjd.png> >>>>> And if I zoom in or out, the text is correctly displayed... >>>>> <ceciibjj.png> >>>>> >>>>> That's strange.. >>>>> >>>>> I am on Ubuntu x64 and I have the same issue on W7. >>>>> >>>>> Cheers, >>>>> >>>>> Vincent >>>>> _______________________________________________ >>>>> Moose-dev mailing list >>>>> >>>>> [hidden email] >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>> -- >>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>>>> Alexandre Bergel >>>>> http://www.bergel.eu >>>>> >>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>>> _______________________________________________ >>>>> 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 >>>>> >>>>> >>>>> >>>>> -- >>>>> www.tudorgirba.com >>>>> >>>>> "Every thing has its own flow" >>>>> >>>>> >>>>> >>>>> -- >>>>> www.tudorgirba.com >>>>> >>>>> "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 >>>> >>>> >>>> >>>> >>>> -- >>>> www.tudorgirba.com >>>> >>>> "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 >>> >>> >>> >>> >>> -- >>> www.tudorgirba.com >>> >>> "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 >> >> >> >> >> -- >> www.tudorgirba.com >> >> "Every thing has its own flow" >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Mixing capital letters seems to cause the problem
Roassal2 seems to be not affected by this behavior. Alexandre On Feb 24, 2014, at 6:11 PM, Alexandre Bergel <[hidden email]> wrote: Is this problem about font solved for now? -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Oh no…
It now happens… This bug is frustrating… Alexandre On Feb 24, 2014, at 6:33 PM, Alexandre Bergel <[hidden email]> wrote: Mixing capital letters seems to cause the problem -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Yes, it is frustrating. Welcome back :) Doru On Mon, Feb 24, 2014 at 10:43 PM, Alexandre Bergel <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi,
Maybe you should ask in the Pharo mailing list ? Because when you use the old Athens packages, this very strange behaviour vanishes .... Vincent Le 25/02/2014 07:25, Tudor Girba a écrit :
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Yes, please :) @Vincent: I think at this point you know the most about the issue. Would you like to take charge of it and bring it on the Pharo mailing list? Doru
On Tue, Feb 25, 2014 at 10:17 AM, Vincent Blondeau <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
> Yes, please :)
> > @Vincent: I think at this point you know the most about the issue. Would you like to take charge of it and bring it on the Pharo mailing list? Yes Vincent. Can you do it? The only thing I can do is forwarding the picture to the pharo mailing list and crying for help Alexandre > > > On Tue, Feb 25, 2014 at 10:17 AM, Vincent Blondeau <[hidden email]> wrote: > Hi, > > Maybe you should ask in the Pharo mailing list ? > Because when you use the old Athens packages, this very strange behaviour vanishes .... > > Vincent > > Le 25/02/2014 07:25, Tudor Girba a écrit : >> Yes, it is frustrating. Welcome back :) >> >> Doru >> >> >> On Mon, Feb 24, 2014 at 10:43 PM, Alexandre Bergel <[hidden email]> wrote: >> Oh no… >> >> It now happens… >> >> <Mail Attachment.png> >> >> This bug is frustrating… >> >> Alexandre >> >> >> On Feb 24, 2014, at 6:33 PM, Alexandre Bergel <[hidden email]> wrote: >> >>> Mixing capital letters seems to cause the problem >>> <Screen Shot 2014-02-24 at 6.32.30 PM.png> >>> >>> >>> Roassal2 seems to be not affected by this behavior. >>> >>> Alexandre >>> >>> >>> On Feb 24, 2014, at 6:11 PM, Alexandre Bergel <[hidden email]> wrote: >>> >>>> Is this problem about font solved for now? >>>> >>>> Alexandre >>>> >>>> >>>> On Feb 24, 2014, at 6:07 PM, Alexandre Bergel <[hidden email]> wrote: >>>> >>>>> Hi! >>>>> >>>>> I’ve just tried in a fresh up-to-date moose image: >>>>> <Screen Shot 2014-02-24 at 6.05.40 PM.png> >>>>> <Screen Shot 2014-02-24 at 6.06.35 PM.png> >>>>> >>>>> The odd font behavior you have shown in the previous emails, seems to happens after some time… I have seen it in the past. >>>>> >>>>> Alexandre >>>>> >>>>> >>>>> >>>>> On Feb 19, 2014, at 6:37 AM, Tudor Girba <[hidden email]> wrote: >>>>> >>>>>> Exactly, that is my current hypothesis, but I do not know exactly where to look. >>>>>> >>>>>> Doru >>>>>> >>>>>> >>>>>> On Wed, Feb 19, 2014 at 9:58 AM, Vincent Blondeau <[hidden email]> wrote: >>>>>> Le 19/02/2014 07:06, Tudor Girba a écrit : >>>>>>> Hi, >>>>>>> >>>>>>> I tried to debug a bit more. >>>>>>> >>>>>>> First, I noticed that Roassal was using the FreeTypeFont and Trachel the LogicalFont. I now changed Roassal to also use the LogicalFont. This did not solve the issue, but it does ease the comparison. (Just ensure that you clean the cached fonts from ROFontOrganizerAthens if you already worked in the same image before loading the new code) >>>>>> >>>>>>> Then, I noticed that even Trachel does not yet quite work: some letters still appear larger than others. However, at least in the case of Trachel, the width of the characters correspond to the size of the rendering (and this seems to still be a problem in Roassal). >>>>>>> >>>>>>> See attachments: >>>>>>> >>>>>>> <Mail Attachment.png> >>>>>>> >>>>>>> <Mail Attachment.png> >>>>>>> >>>>>>> The strange thing is that if you debug, it seems that the code is basically the same in both cases. I am stuck. Ideas? >>>>>> >>>>>> Look at the level of the canvas's creation, maybe the properties are not the same... >>>>>> >>>>>> Vincent >>>>>> >>>>>>> >>>>>>> Doru >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Feb 18, 2014 at 1:48 PM, Vincent Blondeau <[hidden email]> wrote: >>>>>>> Hi, >>>>>>> >>>>>>> For Roassal, I loaded the older packages of Athens-Core and Athens-Cairo : >>>>>>> >>>>>>> Name: Athens-Core-MarcusDenker.34 >>>>>>> Author: MarcusDenker >>>>>>> Time: 5 July 2013, 10:59:47.206954 am >>>>>>> UUID: e844b2d4-b091-42a4-9be0-17101dcdbd30 >>>>>>> Ancestors: Athens-Core-MarcusDenker.33, Athens-Core-ErwanDouaille.33 >>>>>>> >>>>>>> Name: Athens-Cairo-MarcusDenker.51 >>>>>>> Author: MarcusDenker >>>>>>> Time: 26 August 2013, 4:03:06.190096 pm >>>>>>> UUID: 9e1bfddb-67f7-4a36-864d-11060b8b6881 >>>>>>> Ancestors: Athens-Cairo-SebastianTleye.50 >>>>>>> >>>>>>> And I have no problem in font displaying ! >>>>>>> >>>>>>> In the newer version, they have implemented the text rendering with NativeBoost. >>>>>>> >>>>>>> As Roassal2 works fine with the newer version, I don't know if this is a problem with Roassal or with Athens-Cairo. >>>>>>> Maybe you should look at it ? >>>>>>> >>>>>>> Cheers, >>>>>>> >>>>>>> Vincent >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Le 18/02/2014 07:43, Tudor Girba a écrit : >>>>>>>> Thanks, Vincent. >>>>>>>> >>>>>>>> I integrated your change in Trachel. It works well now. >>>>>>>> >>>>>>>> Doru >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Feb 17, 2014 at 11:02 AM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> The following code solve the issue under Roassal2 (Tested under Linux) : >>>>>>>> >>>>>>>> >>>>>>>> TRLabelShape class>>getFontForSize: aNumber >>>>>>>> ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber >>>>>>>> >>>>>>>> For Roassal, the fonts used are the same that in Roassal2 so I don't think that is the problem. >>>>>>>> >>>>>>>> But it seems that the Athens Font Renderer has been changed (CairoFreetypeFontRenderer) the 4 February (Athens-Cairo-MarcusDenker.62). >>>>>>>> This the only thing I see with my knowledges on Roassal. And I don't know how to solve it. Maybe does Alexandre know ? >>>>>>>> >>>>>>>> Cheers, >>>>>>>> >>>>>>>> Vincent >>>>>>>> >>>>>>>> Le 15/02/2014 23:13, Tudor Girba a écrit : >>>>>>>>> But, does anyone know what has changed recently in this area? >>>>>>>>> >>>>>>>>> My guess is that the change comes from Pharo. Or? >>>>>>>>> >>>>>>>>> Doru >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sat, Feb 15, 2014 at 10:52 PM, Tudor Girba <[hidden email]> wrote: >>>>>>>>> Hi Vincent, >>>>>>>>> >>>>>>>>> What is the status on this? >>>>>>>>> >>>>>>>>> At this moment, essentially all visualizations containing text are broken (Roassal, Roassal2, GraphET). This is a show stopper. >>>>>>>>> >>>>>>>>> Doru >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Feb 14, 2014 at 4:20 PM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>>> Le 13/02/2014 15:27, Alexandre Bergel a écrit : >>>>>>>>> >>>>>>>>> Let me know about your progresses with the font problem. >>>>>>>>> Everything should be treated in Trachel I have the impression. >>>>>>>>> I have found a solution to fix the bug: >>>>>>>>> >>>>>>>>> TRLabelShape class>>getFontForSize: aNumber >>>>>>>>> ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber >>>>>>>>> >>>>>>>>> In this, it creates an other font with the good size. Because if you don't do that, you always have the same problem. >>>>>>>>> >>>>>>>>> "StandardFonts defaultFont familyName" should be enough to get the font to use. Maybe we have to change something else in Roassal2. >>>>>>>>> >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> >>>>>>>>> Vincent >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Alexandre >>>>>>>>> >>>>>>>>> >>>>>>>>> On Feb 13, 2014, at 2:18 AM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>>> >>>>>>>>> Le 13/02/2014 03:32, Alexandre Bergel a écrit : >>>>>>>>> No problem to use Roassal 2 instead ! >>>>>>>>> >>>>>>>>> But I have the same issue on the examples. >>>>>>>>> >>>>>>>>> Which issue? >>>>>>>>> >>>>>>>>> The font display issue.. >>>>>>>>> >>>>>>>>> RTDowserExample new coolStuff : >>>>>>>>> >>>>>>>>> <ghcgceef.png> >>>>>>>>> That is under Linux. It's not very readable.. >>>>>>>>> >>>>>>>>> >>>>>>>>> And I think there is the same issue with W7 >>>>>>>>> If you want some help, I can. But I need some pointers :) >>>>>>>>> >>>>>>>>> I have the impression, that the class TRLabelShape has to be improved. >>>>>>>>> For example, consider the following method: >>>>>>>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>>>>>>> TRLabelShape class>>getFontForSize: aNumber >>>>>>>>> ^ LogicalFont familyName: 'Arial' pointSize: aNumber >>>>>>>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>>>>>>> >>>>>>>>> The font name is hardcoded, which is not a good idea since you may have a different font set on your machine. It would be great to use the installed font, used by Pharo. >>>>>>>>> >>>>>>>>> That a good idea ! Because under Linux, the Arial font doesn't exists.... >>>>>>>>> >>>>>>>>> >>>>>>>>> But with this : >>>>>>>>> LogicalFont familyName: 'Source Sans Pro' pointSize: 12 >>>>>>>>> You have : >>>>>>>>> <ijdgccca.png> >>>>>>>>> >>>>>>>>> I will search how to use the system fonts. >>>>>>>>> By the way, have you tried: RTExample new rotatingLabelsAnimated >>>>>>>>> >>>>>>>>> That doesn't work :( rotatingLabelsAnimated is not a valid message to a RTExample ... >>>>>>>>> :-) >>>>>>>>> Alexandre >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> >>>>>>>>> Vincent >>>>>>>>> >>>>>>>>> -----Message d'origine----- >>>>>>>>> De : >>>>>>>>> [hidden email] [mailto:[hidden email] >>>>>>>>> ] >>>>>>>>> De la part de Alexandre Bergel >>>>>>>>> Envoyé : mercredi 12 février 2014 15:50 >>>>>>>>> À : Moose-related development >>>>>>>>> Objet : [Moose-dev] Re: Roassal Issue with Text Displaying >>>>>>>>> >>>>>>>>> Hi! >>>>>>>>> >>>>>>>>> I have spent a lot of time on trying to understand font, and many bugs are >>>>>>>>> still there. I would indeed be happy to have help on this... >>>>>>>>> >>>>>>>>> Why trying to use Roassal2 instead? Your code will stay the same, but it >>>>>>>>> will directly use Athens. >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> Alexandre >>>>>>>>> >>>>>>>>> >>>>>>>>> On Feb 12, 2014, at 1:55 AM, Vincent Blondeau >>>>>>>>> >>>>>>>>> <[hidden email]> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> Hello everyone, >>>>>>>>> >>>>>>>>> Under the latest version of Moose, I am confronted to some problems of >>>>>>>>> >>>>>>>>> text displaying with Roassal. The text letters are not in the same font.. >>>>>>>>> >>>>>>>>> >>>>>>>>> A first example : >>>>>>>>> <dfcbaide.png> >>>>>>>>> A second example : >>>>>>>>> <cagichjd.png> >>>>>>>>> And if I zoom in or out, the text is correctly displayed... >>>>>>>>> <ceciibjj.png> >>>>>>>>> >>>>>>>>> That's strange.. >>>>>>>>> >>>>>>>>> I am on Ubuntu x64 and I have the same issue on W7. >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> >>>>>>>>> Vincent >>>>>>>>> _______________________________________________ >>>>>>>>> Moose-dev mailing list >>>>>>>>> >>>>>>>>> [hidden email] >>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>>>>> -- >>>>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>>>>>>>> Alexandre Bergel >>>>>>>>> http://www.bergel.eu >>>>>>>>> >>>>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> 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 >>>>>>>>> _______________________________________________ >>>>>>>>> Moose-dev mailing list >>>>>>>>> Moose-dev@iam..unibe.ch >>>>>>>>> >>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Moose-dev mailing list >>>>>>>>> [hidden email] >>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> www.tudorgirba.com >>>>>>>>> >>>>>>>>> "Every thing has its own flow" >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> www.tudorgirba.com >>>>>>>>> >>>>>>>>> "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 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> www.tudorgirba.com >>>>>>>> >>>>>>>> "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 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> www.tudorgirba.com >>>>>>> >>>>>>> "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 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> www.tudorgirba.com >>>>>> >>>>>> "Every thing has its own flow" >>>>>> _______________________________________________ >>>>>> Moose-dev mailing list >>>>>> [hidden email] >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>> >>>>> -- >>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: >>>>> >>>>> Alexandre Bergel http://www.bergel.eu >>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Moose-dev mailing list >>>>> [hidden email] >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>> >>>> -- >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: >>>> >>>> Alexandre Bergel http://www.bergel.eu >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Moose-dev mailing list >>>> [hidden email] >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>> >>> -- >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: >>> >>> Alexandre Bergel http://www.bergel.eu >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> >> >> >> >> -- >> www.tudorgirba.com >> >> "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 > > > > > -- > www.tudorgirba.com > > "Every thing has its own flow" > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Le 25/02/2014 13:31, Alexandre Bergel a écrit :
>> Yes, please :) >> >> @Vincent: I think at this point you know the most about the issue. Would you like to take charge of it and bring it on the Pharo mailing list? > Yes Vincent. Can you do it? The only thing I can do is forwarding the picture to the pharo mailing list and crying for help Yes I will. But I was trying to load Roassal in Pharo and try to reproduce the issue (because I think that there are going to do !). Gofer new smalltalkhubUser: 'ObjectProfile' project: 'Roassal'; package: 'ConfigurationOfRoassal'; load. (Smalltalk at: #ConfigurationOfRoassal) load And when I click on the Select Canvas button of the RoassalEasel Visualisation I get an error : StrikeFont doesNotUnderstand: #glyphRenderOn: Vincent > > Alexandre > >> >> On Tue, Feb 25, 2014 at 10:17 AM, Vincent Blondeau <[hidden email]> wrote: >> Hi, >> >> Maybe you should ask in the Pharo mailing list ? >> Because when you use the old Athens packages, this very strange behaviour vanishes .... >> >> Vincent >> >> Le 25/02/2014 07:25, Tudor Girba a écrit : >>> Yes, it is frustrating. Welcome back :) >>> >>> Doru >>> >>> >>> On Mon, Feb 24, 2014 at 10:43 PM, Alexandre Bergel <[hidden email]> wrote: >>> Oh no… >>> >>> It now happens… >>> >>> <Mail Attachment.png> >>> >>> This bug is frustrating… >>> >>> Alexandre >>> >>> >>> On Feb 24, 2014, at 6:33 PM, Alexandre Bergel <[hidden email]> wrote: >>> >>>> Mixing capital letters seems to cause the problem >>>> <Screen Shot 2014-02-24 at 6.32.30 PM.png> >>>> >>>> >>>> Roassal2 seems to be not affected by this behavior. >>>> >>>> Alexandre >>>> >>>> >>>> On Feb 24, 2014, at 6:11 PM, Alexandre Bergel <[hidden email]> wrote: >>>> >>>>> Is this problem about font solved for now? >>>>> >>>>> Alexandre >>>>> >>>>> >>>>> On Feb 24, 2014, at 6:07 PM, Alexandre Bergel <[hidden email]> wrote: >>>>> >>>>>> Hi! >>>>>> >>>>>> I’ve just tried in a fresh up-to-date moose image: >>>>>> <Screen Shot 2014-02-24 at 6.05.40 PM.png> >>>>>> <Screen Shot 2014-02-24 at 6.06.35 PM.png> >>>>>> >>>>>> The odd font behavior you have shown in the previous emails, seems to happens after some time… I have seen it in the past. >>>>>> >>>>>> Alexandre >>>>>> >>>>>> >>>>>> >>>>>> On Feb 19, 2014, at 6:37 AM, Tudor Girba <[hidden email]> wrote: >>>>>> >>>>>>> Exactly, that is my current hypothesis, but I do not know exactly where to look. >>>>>>> >>>>>>> Doru >>>>>>> >>>>>>> >>>>>>> On Wed, Feb 19, 2014 at 9:58 AM, Vincent Blondeau <[hidden email]> wrote: >>>>>>> Le 19/02/2014 07:06, Tudor Girba a écrit : >>>>>>>> Hi, >>>>>>>> >>>>>>>> I tried to debug a bit more. >>>>>>>> >>>>>>>> First, I noticed that Roassal was using the FreeTypeFont and Trachel the LogicalFont. I now changed Roassal to also use the LogicalFont. This did not solve the issue, but it does ease the comparison. (Just ensure that you clean the cached fonts from ROFontOrganizerAthens if you already worked in the same image before loading the new code) >>>>>>>> Then, I noticed that even Trachel does not yet quite work: some letters still appear larger than others. However, at least in the case of Trachel, the width of the characters correspond to the size of the rendering (and this seems to still be a problem in Roassal). >>>>>>>> >>>>>>>> See attachments: >>>>>>>> >>>>>>>> <Mail Attachment.png> >>>>>>>> >>>>>>>> <Mail Attachment.png> >>>>>>>> >>>>>>>> The strange thing is that if you debug, it seems that the code is basically the same in both cases. I am stuck. Ideas? >>>>>>> Look at the level of the canvas's creation, maybe the properties are not the same... >>>>>>> >>>>>>> Vincent >>>>>>> >>>>>>>> Doru >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Feb 18, 2014 at 1:48 PM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> For Roassal, I loaded the older packages of Athens-Core and Athens-Cairo : >>>>>>>> >>>>>>>> Name: Athens-Core-MarcusDenker.34 >>>>>>>> Author: MarcusDenker >>>>>>>> Time: 5 July 2013, 10:59:47.206954 am >>>>>>>> UUID: e844b2d4-b091-42a4-9be0-17101dcdbd30 >>>>>>>> Ancestors: Athens-Core-MarcusDenker.33, Athens-Core-ErwanDouaille.33 >>>>>>>> >>>>>>>> Name: Athens-Cairo-MarcusDenker.51 >>>>>>>> Author: MarcusDenker >>>>>>>> Time: 26 August 2013, 4:03:06.190096 pm >>>>>>>> UUID: 9e1bfddb-67f7-4a36-864d-11060b8b6881 >>>>>>>> Ancestors: Athens-Cairo-SebastianTleye.50 >>>>>>>> >>>>>>>> And I have no problem in font displaying ! >>>>>>>> >>>>>>>> In the newer version, they have implemented the text rendering with NativeBoost. >>>>>>>> >>>>>>>> As Roassal2 works fine with the newer version, I don't know if this is a problem with Roassal or with Athens-Cairo. >>>>>>>> Maybe you should look at it ? >>>>>>>> >>>>>>>> Cheers, >>>>>>>> >>>>>>>> Vincent >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Le 18/02/2014 07:43, Tudor Girba a écrit : >>>>>>>>> Thanks, Vincent. >>>>>>>>> >>>>>>>>> I integrated your change in Trachel. It works well now. >>>>>>>>> >>>>>>>>> Doru >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Feb 17, 2014 at 11:02 AM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> The following code solve the issue under Roassal2 (Tested under Linux) : >>>>>>>>> >>>>>>>>> >>>>>>>>> TRLabelShape class>>getFontForSize: aNumber >>>>>>>>> ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber >>>>>>>>> >>>>>>>>> For Roassal, the fonts used are the same that in Roassal2 so I don't think that is the problem. >>>>>>>>> >>>>>>>>> But it seems that the Athens Font Renderer has been changed (CairoFreetypeFontRenderer) the 4 February (Athens-Cairo-MarcusDenker.62). >>>>>>>>> This the only thing I see with my knowledges on Roassal. And I don't know how to solve it. Maybe does Alexandre know ? >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> >>>>>>>>> Vincent >>>>>>>>> >>>>>>>>> Le 15/02/2014 23:13, Tudor Girba a écrit : >>>>>>>>>> But, does anyone know what has changed recently in this area? >>>>>>>>>> >>>>>>>>>> My guess is that the change comes from Pharo. Or? >>>>>>>>>> >>>>>>>>>> Doru >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sat, Feb 15, 2014 at 10:52 PM, Tudor Girba <[hidden email]> wrote: >>>>>>>>>> Hi Vincent, >>>>>>>>>> >>>>>>>>>> What is the status on this? >>>>>>>>>> >>>>>>>>>> At this moment, essentially all visualizations containing text are broken (Roassal, Roassal2, GraphET). This is a show stopper. >>>>>>>>>> >>>>>>>>>> Doru >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Fri, Feb 14, 2014 at 4:20 PM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>>>> Le 13/02/2014 15:27, Alexandre Bergel a écrit : >>>>>>>>>> >>>>>>>>>> Let me know about your progresses with the font problem. >>>>>>>>>> Everything should be treated in Trachel I have the impression. >>>>>>>>>> I have found a solution to fix the bug: >>>>>>>>>> >>>>>>>>>> TRLabelShape class>>getFontForSize: aNumber >>>>>>>>>> ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber >>>>>>>>>> >>>>>>>>>> In this, it creates an other font with the good size. Because if you don't do that, you always have the same problem. >>>>>>>>>> >>>>>>>>>> "StandardFonts defaultFont familyName" should be enough to get the font to use. Maybe we have to change something else in Roassal2. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Cheers, >>>>>>>>>> >>>>>>>>>> Vincent >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Alexandre >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Feb 13, 2014, at 2:18 AM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>>>> >>>>>>>>>> Le 13/02/2014 03:32, Alexandre Bergel a écrit : >>>>>>>>>> No problem to use Roassal 2 instead ! >>>>>>>>>> >>>>>>>>>> But I have the same issue on the examples. >>>>>>>>>> >>>>>>>>>> Which issue? >>>>>>>>>> >>>>>>>>>> The font display issue.. >>>>>>>>>> >>>>>>>>>> RTDowserExample new coolStuff : >>>>>>>>>> >>>>>>>>>> <ghcgceef.png> >>>>>>>>>> That is under Linux. It's not very readable.. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> And I think there is the same issue with W7 >>>>>>>>>> If you want some help, I can. But I need some pointers :) >>>>>>>>>> >>>>>>>>>> I have the impression, that the class TRLabelShape has to be improved. >>>>>>>>>> For example, consider the following method: >>>>>>>>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>>>>>>>> TRLabelShape class>>getFontForSize: aNumber >>>>>>>>>> ^ LogicalFont familyName: 'Arial' pointSize: aNumber >>>>>>>>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>>>>>>>> >>>>>>>>>> The font name is hardcoded, which is not a good idea since you may have a different font set on your machine. It would be great to use the installed font, used by Pharo. >>>>>>>>>> >>>>>>>>>> That a good idea ! Because under Linux, the Arial font doesn't exists.... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> But with this : >>>>>>>>>> LogicalFont familyName: 'Source Sans Pro' pointSize: 12 >>>>>>>>>> You have : >>>>>>>>>> <ijdgccca.png> >>>>>>>>>> >>>>>>>>>> I will search how to use the system fonts. >>>>>>>>>> By the way, have you tried: RTExample new rotatingLabelsAnimated >>>>>>>>>> >>>>>>>>>> That doesn't work :( rotatingLabelsAnimated is not a valid message to a RTExample ... >>>>>>>>>> :-) >>>>>>>>>> Alexandre >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Cheers, >>>>>>>>>> >>>>>>>>>> Vincent >>>>>>>>>> >>>>>>>>>> -----Message d'origine----- >>>>>>>>>> De : >>>>>>>>>> [hidden email] [mailto:[hidden email] >>>>>>>>>> ] >>>>>>>>>> De la part de Alexandre Bergel >>>>>>>>>> Envoyé : mercredi 12 février 2014 15:50 >>>>>>>>>> À : Moose-related development >>>>>>>>>> Objet : [Moose-dev] Re: Roassal Issue with Text Displaying >>>>>>>>>> >>>>>>>>>> Hi! >>>>>>>>>> >>>>>>>>>> I have spent a lot of time on trying to understand font, and many bugs are >>>>>>>>>> still there. I would indeed be happy to have help on this... >>>>>>>>>> >>>>>>>>>> Why trying to use Roassal2 instead? Your code will stay the same, but it >>>>>>>>>> will directly use Athens. >>>>>>>>>> >>>>>>>>>> Cheers, >>>>>>>>>> Alexandre >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Feb 12, 2014, at 1:55 AM, Vincent Blondeau >>>>>>>>>> >>>>>>>>>> <[hidden email]> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Hello everyone, >>>>>>>>>> >>>>>>>>>> Under the latest version of Moose, I am confronted to some problems of >>>>>>>>>> >>>>>>>>>> text displaying with Roassal. The text letters are not in the same font.. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> A first example : >>>>>>>>>> <dfcbaide.png> >>>>>>>>>> A second example : >>>>>>>>>> <cagichjd.png> >>>>>>>>>> And if I zoom in or out, the text is correctly displayed... >>>>>>>>>> <ceciibjj.png> >>>>>>>>>> >>>>>>>>>> That's strange.. >>>>>>>>>> >>>>>>>>>> I am on Ubuntu x64 and I have the same issue on W7. >>>>>>>>>> >>>>>>>>>> Cheers, >>>>>>>>>> >>>>>>>>>> Vincent >>>>>>>>>> _______________________________________________ >>>>>>>>>> Moose-dev mailing list >>>>>>>>>> >>>>>>>>>> [hidden email] >>>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>>>>>> -- >>>>>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>>>>>>>>> Alexandre Bergel >>>>>>>>>> http://www.bergel.eu >>>>>>>>>> >>>>>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> 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 >>>>>>>>>> _______________________________________________ >>>>>>>>>> Moose-dev mailing list >>>>>>>>>> Moose-dev@iam..unibe.ch >>>>>>>>>> >>>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Moose-dev mailing list >>>>>>>>>> [hidden email] >>>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> www.tudorgirba.com >>>>>>>>>> >>>>>>>>>> "Every thing has its own flow" >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> www.tudorgirba.com >>>>>>>>>> >>>>>>>>>> "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 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> www.tudorgirba.com >>>>>>>>> >>>>>>>>> "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 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> www.tudorgirba.com >>>>>>>> >>>>>>>> "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 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> www.tudorgirba.com >>>>>>> >>>>>>> "Every thing has its own flow" >>>>>>> _______________________________________________ >>>>>>> Moose-dev mailing list >>>>>>> [hidden email] >>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>> -- >>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: >>>>>> >>>>>> Alexandre Bergel http://www.bergel.eu >>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Moose-dev mailing list >>>>>> [hidden email] >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>> -- >>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: >>>>> >>>>> Alexandre Bergel http://www.bergel.eu >>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Moose-dev mailing list >>>>> [hidden email] >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>> -- >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: >>>> >>>> Alexandre Bergel http://www.bergel.eu >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>> >>>> >>>> >>>> _______________________________________________ >>>> Moose-dev mailing list >>>> [hidden email] >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>> -- >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>> Alexandre Bergel http://www.bergel.eu >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >>> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>> >>> >>> >>> >>> -- >>> www.tudorgirba.com >>> >>> "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 >> >> >> >> >> -- >> www.tudorgirba.com >> >> "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 |
That's because you have to install free type fonts. Doru On Tue, Feb 25, 2014 at 1:42 PM, Vincent Blondeau <[hidden email]> wrote: Le 25/02/2014 13:31, Alexandre Bergel a écrit : "Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Le 25/02/2014 13:47, Tudor Girba a
écrit :
Ok ! Maybe that should be added to the configuration of Roassal ?
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Tudor Girba-2
Hi Pharoers,
We are encounter a problem with text displaying under Roassal. Roassal is a Moose tool to make
some graphics visualisations, principally graphs.
Some visualisations are displaying some text, like : - ROMondrianExample new centeredText - ROMondrianExample new temporaryEdges - ROMondrianExample new labeledRectangle They use AthensCanvas to render. Since the beginning of February, we experiment very strange problems with font displaying. See by yourself : What we expect : What we have : You can see that the letters in each word are not of the same size. (To reproduce do : "ROMondrianExample new labeledRectangle" in a fresh Moose image : https://ci.inria.fr/moose/job/moose-5.0/lastSuccessfulBuild/artifact/moose-5.0.zip) We thought it was a font problem. So we updated the fonts to use this one : LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aSize which is the default system font. (The fonts are located in ROFontOrganizerAthens). But the problem was not solved. After some searches, we saw that Roassal (via the ROAthensCanvas) uses AthensCairoCanvas and this class has been changed begin February to use native boost. The closed issue related is : 12765 Athens font rendering missing letters and missizing others https://pharo.fogbugz.com/f/cases/12765 That should resolve the problem instead of created one ;) So if we load the older packages of Athens-Core and Athens-Cairo (before the issue resolution): Name: Athens-Core-MarcusDenker.34 Author: MarcusDenker Time: 5 July 2013, 10:59:47.206954 am UUID: e844b2d4-b091-42a4-9be0-17101dcdbd30 Ancestors: Athens-Core-MarcusDenker.33, Athens-Core-ErwanDouaille.33 Name: Athens-Cairo-MarcusDenker.51 Author: MarcusDenker Time: 26 August 2013, 4:03:06.190096 pm UUID: 9e1bfddb-67f7-4a36-864d-11060b8b6881 Ancestors: Athens-Cairo-SebastianTleye.50 we have no problem of font displaying ! The question is : What we should adapt in Roassal to support this new implementation of Athens ? Or is Athens (by the native boost primitives) broken ? Thanks in advance ! Vincent BLONDEAU _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev Portion de message joint (152 bytes) Download Attachment |
In reply to this post by abergel
Le 25/02/2014 13:31, Alexandre Bergel a écrit :
>> Yes, please :) >> >> @Vincent: I think at this point you know the most about the issue. Would you like to take charge of it and bring it on the Pharo mailing list? > Yes Vincent. Can you do it? The only thing I can do is forwarding the picture to the pharo mailing list and crying for help > > Alexandre There is a bug opened. A temporary solution is to do : CairoBackendCache flush Tell me if the problem is solved from your points of view ? Vincent > >> >> On Tue, Feb 25, 2014 at 10:17 AM, Vincent Blondeau <[hidden email]> wrote: >> Hi, >> >> Maybe you should ask in the Pharo mailing list ? >> Because when you use the old Athens packages, this very strange behaviour vanishes .... >> >> Vincent >> >> Le 25/02/2014 07:25, Tudor Girba a écrit : >>> Yes, it is frustrating. Welcome back :) >>> >>> Doru >>> >>> >>> On Mon, Feb 24, 2014 at 10:43 PM, Alexandre Bergel <[hidden email]> wrote: >>> Oh no… >>> >>> It now happens… >>> >>> <Mail Attachment.png> >>> >>> This bug is frustrating… >>> >>> Alexandre >>> >>> >>> On Feb 24, 2014, at 6:33 PM, Alexandre Bergel <[hidden email]> wrote: >>> >>>> Mixing capital letters seems to cause the problem >>>> <Screen Shot 2014-02-24 at 6.32.30 PM.png> >>>> >>>> >>>> Roassal2 seems to be not affected by this behavior. >>>> >>>> Alexandre >>>> >>>> >>>> On Feb 24, 2014, at 6:11 PM, Alexandre Bergel <[hidden email]> wrote: >>>> >>>>> Is this problem about font solved for now? >>>>> >>>>> Alexandre >>>>> >>>>> >>>>> On Feb 24, 2014, at 6:07 PM, Alexandre Bergel <[hidden email]> wrote: >>>>> >>>>>> Hi! >>>>>> >>>>>> I’ve just tried in a fresh up-to-date moose image: >>>>>> <Screen Shot 2014-02-24 at 6.05.40 PM.png> >>>>>> <Screen Shot 2014-02-24 at 6.06.35 PM.png> >>>>>> >>>>>> The odd font behavior you have shown in the previous emails, seems to happens after some time… I have seen it in the past. >>>>>> >>>>>> Alexandre >>>>>> >>>>>> >>>>>> >>>>>> On Feb 19, 2014, at 6:37 AM, Tudor Girba <[hidden email]> wrote: >>>>>> >>>>>>> Exactly, that is my current hypothesis, but I do not know exactly where to look. >>>>>>> >>>>>>> Doru >>>>>>> >>>>>>> >>>>>>> On Wed, Feb 19, 2014 at 9:58 AM, Vincent Blondeau <[hidden email]> wrote: >>>>>>> Le 19/02/2014 07:06, Tudor Girba a écrit : >>>>>>>> Hi, >>>>>>>> >>>>>>>> I tried to debug a bit more. >>>>>>>> >>>>>>>> First, I noticed that Roassal was using the FreeTypeFont and Trachel the LogicalFont. I now changed Roassal to also use the LogicalFont. This did not solve the issue, but it does ease the comparison. (Just ensure that you clean the cached fonts from ROFontOrganizerAthens if you already worked in the same image before loading the new code) >>>>>>>> Then, I noticed that even Trachel does not yet quite work: some letters still appear larger than others. However, at least in the case of Trachel, the width of the characters correspond to the size of the rendering (and this seems to still be a problem in Roassal). >>>>>>>> >>>>>>>> See attachments: >>>>>>>> >>>>>>>> <Mail Attachment.png> >>>>>>>> >>>>>>>> <Mail Attachment.png> >>>>>>>> >>>>>>>> The strange thing is that if you debug, it seems that the code is basically the same in both cases. I am stuck. Ideas? >>>>>>> Look at the level of the canvas's creation, maybe the properties are not the same... >>>>>>> >>>>>>> Vincent >>>>>>> >>>>>>>> Doru >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Feb 18, 2014 at 1:48 PM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> For Roassal, I loaded the older packages of Athens-Core and Athens-Cairo : >>>>>>>> >>>>>>>> Name: Athens-Core-MarcusDenker.34 >>>>>>>> Author: MarcusDenker >>>>>>>> Time: 5 July 2013, 10:59:47.206954 am >>>>>>>> UUID: e844b2d4-b091-42a4-9be0-17101dcdbd30 >>>>>>>> Ancestors: Athens-Core-MarcusDenker.33, Athens-Core-ErwanDouaille.33 >>>>>>>> >>>>>>>> Name: Athens-Cairo-MarcusDenker.51 >>>>>>>> Author: MarcusDenker >>>>>>>> Time: 26 August 2013, 4:03:06.190096 pm >>>>>>>> UUID: 9e1bfddb-67f7-4a36-864d-11060b8b6881 >>>>>>>> Ancestors: Athens-Cairo-SebastianTleye.50 >>>>>>>> >>>>>>>> And I have no problem in font displaying ! >>>>>>>> >>>>>>>> In the newer version, they have implemented the text rendering with NativeBoost. >>>>>>>> >>>>>>>> As Roassal2 works fine with the newer version, I don't know if this is a problem with Roassal or with Athens-Cairo. >>>>>>>> Maybe you should look at it ? >>>>>>>> >>>>>>>> Cheers, >>>>>>>> >>>>>>>> Vincent >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Le 18/02/2014 07:43, Tudor Girba a écrit : >>>>>>>>> Thanks, Vincent. >>>>>>>>> >>>>>>>>> I integrated your change in Trachel. It works well now. >>>>>>>>> >>>>>>>>> Doru >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Feb 17, 2014 at 11:02 AM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> The following code solve the issue under Roassal2 (Tested under Linux) : >>>>>>>>> >>>>>>>>> >>>>>>>>> TRLabelShape class>>getFontForSize: aNumber >>>>>>>>> ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber >>>>>>>>> >>>>>>>>> For Roassal, the fonts used are the same that in Roassal2 so I don't think that is the problem. >>>>>>>>> >>>>>>>>> But it seems that the Athens Font Renderer has been changed (CairoFreetypeFontRenderer) the 4 February (Athens-Cairo-MarcusDenker.62). >>>>>>>>> This the only thing I see with my knowledges on Roassal. And I don't know how to solve it. Maybe does Alexandre know ? >>>>>>>>> >>>>>>>>> Cheers, >>>>>>>>> >>>>>>>>> Vincent >>>>>>>>> >>>>>>>>> Le 15/02/2014 23:13, Tudor Girba a écrit : >>>>>>>>>> But, does anyone know what has changed recently in this area? >>>>>>>>>> >>>>>>>>>> My guess is that the change comes from Pharo. Or? >>>>>>>>>> >>>>>>>>>> Doru >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sat, Feb 15, 2014 at 10:52 PM, Tudor Girba <[hidden email]> wrote: >>>>>>>>>> Hi Vincent, >>>>>>>>>> >>>>>>>>>> What is the status on this? >>>>>>>>>> >>>>>>>>>> At this moment, essentially all visualizations containing text are broken (Roassal, Roassal2, GraphET). This is a show stopper. >>>>>>>>>> >>>>>>>>>> Doru >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Fri, Feb 14, 2014 at 4:20 PM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>>>> Le 13/02/2014 15:27, Alexandre Bergel a écrit : >>>>>>>>>> >>>>>>>>>> Let me know about your progresses with the font problem. >>>>>>>>>> Everything should be treated in Trachel I have the impression. >>>>>>>>>> I have found a solution to fix the bug: >>>>>>>>>> >>>>>>>>>> TRLabelShape class>>getFontForSize: aNumber >>>>>>>>>> ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber >>>>>>>>>> >>>>>>>>>> In this, it creates an other font with the good size. Because if you don't do that, you always have the same problem. >>>>>>>>>> >>>>>>>>>> "StandardFonts defaultFont familyName" should be enough to get the font to use. Maybe we have to change something else in Roassal2. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Cheers, >>>>>>>>>> >>>>>>>>>> Vincent >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Alexandre >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Feb 13, 2014, at 2:18 AM, Vincent Blondeau <[hidden email]> wrote: >>>>>>>>>> >>>>>>>>>> Le 13/02/2014 03:32, Alexandre Bergel a écrit : >>>>>>>>>> No problem to use Roassal 2 instead ! >>>>>>>>>> >>>>>>>>>> But I have the same issue on the examples. >>>>>>>>>> >>>>>>>>>> Which issue? >>>>>>>>>> >>>>>>>>>> The font display issue.. >>>>>>>>>> >>>>>>>>>> RTDowserExample new coolStuff : >>>>>>>>>> >>>>>>>>>> <ghcgceef.png> >>>>>>>>>> That is under Linux. It's not very readable.. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> And I think there is the same issue with W7 >>>>>>>>>> If you want some help, I can. But I need some pointers :) >>>>>>>>>> >>>>>>>>>> I have the impression, that the class TRLabelShape has to be improved. >>>>>>>>>> For example, consider the following method: >>>>>>>>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>>>>>>>> TRLabelShape class>>getFontForSize: aNumber >>>>>>>>>> ^ LogicalFont familyName: 'Arial' pointSize: aNumber >>>>>>>>>> -=-=-=-=-=-=-=-=-=-=-=-= >>>>>>>>>> >>>>>>>>>> The font name is hardcoded, which is not a good idea since you may have a different font set on your machine. It would be great to use the installed font, used by Pharo. >>>>>>>>>> >>>>>>>>>> That a good idea ! Because under Linux, the Arial font doesn't exists.... >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> But with this : >>>>>>>>>> LogicalFont familyName: 'Source Sans Pro' pointSize: 12 >>>>>>>>>> You have : >>>>>>>>>> <ijdgccca.png> >>>>>>>>>> >>>>>>>>>> I will search how to use the system fonts. >>>>>>>>>> By the way, have you tried: RTExample new rotatingLabelsAnimated >>>>>>>>>> >>>>>>>>>> That doesn't work :( rotatingLabelsAnimated is not a valid message to a RTExample ... >>>>>>>>>> :-) >>>>>>>>>> Alexandre >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Cheers, >>>>>>>>>> >>>>>>>>>> Vincent >>>>>>>>>> >>>>>>>>>> -----Message d'origine----- >>>>>>>>>> De : >>>>>>>>>> [hidden email] [mailto:[hidden email] >>>>>>>>>> ] >>>>>>>>>> De la part de Alexandre Bergel >>>>>>>>>> Envoyé : mercredi 12 février 2014 15:50 >>>>>>>>>> À : Moose-related development >>>>>>>>>> Objet : [Moose-dev] Re: Roassal Issue with Text Displaying >>>>>>>>>> >>>>>>>>>> Hi! >>>>>>>>>> >>>>>>>>>> I have spent a lot of time on trying to understand font, and many bugs are >>>>>>>>>> still there. I would indeed be happy to have help on this... >>>>>>>>>> >>>>>>>>>> Why trying to use Roassal2 instead? Your code will stay the same, but it >>>>>>>>>> will directly use Athens. >>>>>>>>>> >>>>>>>>>> Cheers, >>>>>>>>>> Alexandre >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Feb 12, 2014, at 1:55 AM, Vincent Blondeau >>>>>>>>>> >>>>>>>>>> <[hidden email]> >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Hello everyone, >>>>>>>>>> >>>>>>>>>> Under the latest version of Moose, I am confronted to some problems of >>>>>>>>>> >>>>>>>>>> text displaying with Roassal. The text letters are not in the same font.. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> A first example : >>>>>>>>>> <dfcbaide.png> >>>>>>>>>> A second example : >>>>>>>>>> <cagichjd.png> >>>>>>>>>> And if I zoom in or out, the text is correctly displayed... >>>>>>>>>> <ceciibjj.png> >>>>>>>>>> >>>>>>>>>> That's strange.. >>>>>>>>>> >>>>>>>>>> I am on Ubuntu x64 and I have the same issue on W7. >>>>>>>>>> >>>>>>>>>> Cheers, >>>>>>>>>> >>>>>>>>>> Vincent >>>>>>>>>> _______________________________________________ >>>>>>>>>> Moose-dev mailing list >>>>>>>>>> >>>>>>>>>> [hidden email] >>>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>>>>>> -- >>>>>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>>>>>>>>> Alexandre Bergel >>>>>>>>>> http://www.bergel.eu >>>>>>>>>> >>>>>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> 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 >>>>>>>>>> _______________________________________________ >>>>>>>>>> Moose-dev mailing list >>>>>>>>>> Moose-dev@iam..unibe.ch >>>>>>>>>> >>>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> Moose-dev mailing list >>>>>>>>>> [hidden email] >>>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> www.tudorgirba.com >>>>>>>>>> >>>>>>>>>> "Every thing has its own flow" >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> www.tudorgirba.com >>>>>>>>>> >>>>>>>>>> "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 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> www.tudorgirba.com >>>>>>>>> >>>>>>>>> "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 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> www.tudorgirba.com >>>>>>>> >>>>>>>> "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 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> www.tudorgirba.com >>>>>>> >>>>>>> "Every thing has its own flow" >>>>>>> _______________________________________________ >>>>>>> Moose-dev mailing list >>>>>>> [hidden email] >>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>>> -- >>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: >>>>>> >>>>>> Alexandre Bergel http://www.bergel.eu >>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Moose-dev mailing list >>>>>> [hidden email] >>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>>> -- >>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: >>>>> >>>>> Alexandre Bergel http://www.bergel.eu >>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Moose-dev mailing list >>>>> [hidden email] >>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>>> -- >>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: >>>> >>>> Alexandre Bergel http://www.bergel.eu >>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>>> >>>> >>>> >>>> _______________________________________________ >>>> Moose-dev mailing list >>>> [hidden email] >>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>> -- >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>> Alexandre Bergel http://www.bergel.eu >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >>> >>> _______________________________________________ >>> Moose-dev mailing list >>> [hidden email] >>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >>> >>> >>> >>> >>> -- >>> www.tudorgirba.com >>> >>> "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 >> >> >> >> >> -- >> www.tudorgirba.com >> >> "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 |
It does not. I tried this on Windows 7: CairoBackendCache flush. RTView new add: (RTLabel elementOn: (String newFrom: ($a to: $z)));
yourself And the problem is still there. What exactly do you do? Doru On Tue, Feb 25, 2014 at 3:07 PM, Vincent Blondeau <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Le 25/02/2014 15:38, Tudor Girba a
écrit :
That you made.... : CairoBackendCache flush. ROMondrianExample new labeledRectangle
But I am under Linux x64....
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Here is what I get on Windows 7. Doru
On Tue, Feb 25, 2014 at 3:49 PM, Vincent Blondeau <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Indeed it is not solved ! .....
Have you tried to use the old Athens packages ? Is it working with them ? Under Linux I have : Le 25/02/2014 15:54, Tudor Girba a écrit :
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
I lost track of that. Can you please resend here how to load those old packages? Doru On Tue, Feb 25, 2014 at 4:00 PM, Vincent Blondeau <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Tudor Girba-2
It works well for me, I use OSX.
Alexandre On Feb 25, 2014, at 11:38 AM, Tudor Girba <[hidden email]> wrote: > It does not. > > I tried this on Windows 7: > CairoBackendCache flush. > RTView new > add: (RTLabel elementOn: (String newFrom: ($a to: $z))); > yourself > > And the problem is still there. > > What exactly do you do? > > Doru > > > On Tue, Feb 25, 2014 at 3:07 PM, Vincent Blondeau <[hidden email]> wrote: > Le 25/02/2014 13:31, Alexandre Bergel a écrit : > Yes, please :) > > > @Vincent: I think at this point you know the most about the issue. Would you like to take charge of it and bring it on the Pharo mailing list? > Yes Vincent. Can you do it? The only thing I can do is forwarding the picture to the pharo mailing list and crying for help > > Alexandre > There is a bug opened. A temporary solution is to do : > CairoBackendCache flush > > Tell me if the problem is solved from your points of view ? > > Vincent > > > > On Tue, Feb 25, 2014 at 10:17 AM, Vincent Blondeau <[hidden email]> wrote: > Hi, > > Maybe you should ask in the Pharo mailing list ? > Because when you use the old Athens packages, this very strange behaviour vanishes .... > > Vincent > > Le 25/02/2014 07:25, Tudor Girba a écrit : > Yes, it is frustrating. Welcome back :) > > Doru > > > On Mon, Feb 24, 2014 at 10:43 PM, Alexandre Bergel <[hidden email]> wrote: > Oh no… > > It now happens… > > <Mail Attachment.png> > > This bug is frustrating… > > Alexandre > > > On Feb 24, 2014, at 6:33 PM, Alexandre Bergel <[hidden email]> wrote: > > Mixing capital letters seems to cause the problem > <Screen Shot 2014-02-24 at 6.32.30 PM.png> > > > Roassal2 seems to be not affected by this behavior. > > Alexandre > > > On Feb 24, 2014, at 6:11 PM, Alexandre Bergel <[hidden email]> wrote: > > Is this problem about font solved for now? > > Alexandre > > > On Feb 24, 2014, at 6:07 PM, Alexandre Bergel <[hidden email]> wrote: > > Hi! > > I’ve just tried in a fresh up-to-date moose image: > <Screen Shot 2014-02-24 at 6.05.40 PM.png> > <Screen Shot 2014-02-24 at 6.06.35 PM.png> > > The odd font behavior you have shown in the previous emails, seems to happens after some time… I have seen it in the past. > > Alexandre > > > > On Feb 19, 2014, at 6:37 AM, Tudor Girba <[hidden email]> wrote: > > Exactly, that is my current hypothesis, but I do not know exactly where to look. > > Doru > > > On Wed, Feb 19, 2014 at 9:58 AM, Vincent Blondeau <[hidden email]> wrote: > Le 19/02/2014 07:06, Tudor Girba a écrit : > Hi, > > I tried to debug a bit more. > > First, I noticed that Roassal was using the FreeTypeFont and Trachel the LogicalFont. I now changed Roassal to also use the LogicalFont. This did not solve the issue, but it does ease the comparison. (Just ensure that you clean the cached fonts from ROFontOrganizerAthens if you already worked in the same image before loading the new code) > Then, I noticed that even Trachel does not yet quite work: some letters still appear larger than others. However, at least in the case of Trachel, the width of the characters correspond to the size of the rendering (and this seems to still be a problem in Roassal). > > See attachments: > > <Mail Attachment.png> > > <Mail Attachment.png> > > The strange thing is that if you debug, it seems that the code is basically the same in both cases. I am stuck. Ideas? > Look at the level of the canvas's creation, maybe the properties are not the same... > > Vincent > > Doru > > > > > > > On Tue, Feb 18, 2014 at 1:48 PM, Vincent Blondeau <[hidden email]> wrote: > Hi, > > For Roassal, I loaded the older packages of Athens-Core and Athens-Cairo : > > Name: Athens-Core-MarcusDenker.34 > Author: MarcusDenker > Time: 5 July 2013, 10:59:47.206954 am > UUID: e844b2d4-b091-42a4-9be0-17101dcdbd30 > Ancestors: Athens-Core-MarcusDenker.33, Athens-Core-ErwanDouaille.33 > > Name: Athens-Cairo-MarcusDenker.51 > Author: MarcusDenker > Time: 26 August 2013, 4:03:06.190096 pm > UUID: 9e1bfddb-67f7-4a36-864d-11060b8b6881 > Ancestors: Athens-Cairo-SebastianTleye.50 > > And I have no problem in font displaying ! > > In the newer version, they have implemented the text rendering with NativeBoost. > > As Roassal2 works fine with the newer version, I don't know if this is a problem with Roassal or with Athens-Cairo. > Maybe you should look at it ? > > Cheers, > > Vincent > > > > > Le 18/02/2014 07:43, Tudor Girba a écrit : > Thanks, Vincent. > > I integrated your change in Trachel. It works well now. > > Doru > > > On Mon, Feb 17, 2014 at 11:02 AM, Vincent Blondeau <[hidden email]> wrote: > Hi, > > The following code solve the issue under Roassal2 (Tested under Linux) : > > > TRLabelShape class>>getFontForSize: aNumber > ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber > > For Roassal, the fonts used are the same that in Roassal2 so I don't think that is the problem. > > But it seems that the Athens Font Renderer has been changed (CairoFreetypeFontRenderer) the 4 February (Athens-Cairo-MarcusDenker.62). > This the only thing I see with my knowledges on Roassal. And I don't know how to solve it. Maybe does Alexandre know ? > > Cheers, > > Vincent > > Le 15/02/2014 23:13, Tudor Girba a écrit : > But, does anyone know what has changed recently in this area? > > My guess is that the change comes from Pharo. Or? > > Doru > > > On Sat, Feb 15, 2014 at 10:52 PM, Tudor Girba <[hidden email]> wrote: > Hi Vincent, > > What is the status on this? > > At this moment, essentially all visualizations containing text are broken (Roassal, Roassal2, GraphET). This is a show stopper. > > Doru > > > On Fri, Feb 14, 2014 at 4:20 PM, Vincent Blondeau <[hidden email]> wrote: > Le 13/02/2014 15:27, Alexandre Bergel a écrit : > > Let me know about your progresses with the font problem. > Everything should be treated in Trachel I have the impression. > I have found a solution to fix the bug: > > TRLabelShape class>>getFontForSize: aNumber > ^ LogicalFont familyName: StandardFonts defaultFont familyName pointSize: aNumber > > In this, it creates an other font with the good size. Because if you don't do that, you always have the same problem. > > "StandardFonts defaultFont familyName" should be enough to get the font to use. Maybe we have to change something else in Roassal2. > > > Cheers, > > Vincent > > > > Alexandre > > > On Feb 13, 2014, at 2:18 AM, Vincent Blondeau <[hidden email]> wrote: > > Le 13/02/2014 03:32, Alexandre Bergel a écrit : > No problem to use Roassal 2 instead ! > > But I have the same issue on the examples. > > Which issue? > > The font display issue.. > > RTDowserExample new coolStuff : > > <ghcgceef.png> > That is under Linux. It's not very readable.. > > > And I think there is the same issue with W7 > If you want some help, I can. But I need some pointers :) > > I have the impression, that the class TRLabelShape has to be improved. > For example, consider the following method: > -=-=-=-=-=-=-=-=-=-=-=-= > TRLabelShape class>>getFontForSize: aNumber > ^ LogicalFont familyName: 'Arial' pointSize: aNumber > -=-=-=-=-=-=-=-=-=-=-=-= > > The font name is hardcoded, which is not a good idea since you may have a different font set on your machine. It would be great to use the installed font, used by Pharo. > > That a good idea ! Because under Linux, the Arial font doesn't exists.... > > > But with this : > LogicalFont familyName: 'Source Sans Pro' pointSize: 12 > You have : > <ijdgccca.png> > > I will search how to use the system fonts. > By the way, have you tried: RTExample new rotatingLabelsAnimated > > That doesn't work :( rotatingLabelsAnimated is not a valid message to a RTExample ... > :-) > Alexandre > > > > Cheers, > > Vincent > > -----Message d'origine----- > De : > [hidden email] [mailto:[hidden email] > ] > De la part de Alexandre Bergel > Envoyé : mercredi 12 février 2014 15:50 > À : Moose-related development > Objet : [Moose-dev] Re: Roassal Issue with Text Displaying > > Hi! > > I have spent a lot of time on trying to understand font, and many bugs are > still there. I would indeed be happy to have help on this... > > Why trying to use Roassal2 instead? Your code will stay the same, but it > will directly use Athens. > > Cheers, > Alexandre > > > On Feb 12, 2014, at 1:55 AM, Vincent Blondeau > > <[hidden email]> > wrote: > > > Hello everyone, > > Under the latest version of Moose, I am confronted to some problems of > > text displaying with Roassal. The text letters are not in the same font.. > > > A first example : > <dfcbaide.png> > A second example : > <cagichjd.png> > And if I zoom in or out, the text is correctly displayed... > <ceciibjj.png> > > That's strange.. > > I am on Ubuntu x64 and I have the same issue on W7. > > Cheers, > > Vincent > _______________________________________________ > Moose-dev mailing list > > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel > http://www.bergel.eu > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > _______________________________________________ > 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 > _______________________________________________ > Moose-dev mailing list > Moose-dev@iam..unibe.ch > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > > -- > www.tudorgirba.com > > "Every thing has its own flow" > > > > -- > www.tudorgirba.com > > "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 > > > > > -- > www.tudorgirba.com > > "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 > > > > > -- > www.tudorgirba.com > > "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 > > > > > -- > www.tudorgirba.com > > "Every thing has its own flow" > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: > > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: > > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,..;: > > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > > > -- > www.tudorgirba.com > > "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 > > > > > -- > www.tudorgirba.com > > "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 > > > > -- > www.tudorgirba.com > > "Every thing has its own flow" > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Tudor Girba-2
Ok, I found the packages. Loading the old ones works fine. See below. Doru On Tue, Feb 25, 2014 at 4:10 PM, Tudor Girba <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Tudor Girba-2
Le 25/02/2014 16:10, Tudor Girba a
écrit :
Open the Pharo30 repo : MCHttpRepository location: 'http://smalltalkhub.com/mc/Pharo/Pharo30/main' user: '' password: '' In Athens-Core package load the version 34. Name: Athens-Core-MarcusDenker.34 Author: MarcusDenker Time: 5 July 2013, 10:59:47.206954 am UUID: e844b2d4-b091-42a4-9be0-17101dcdbd30 Ancestors: Athens-Core-MarcusDenker.33, Athens-Core-ErwanDouaille.33 And in Athens-Cairo load the version 51 Name: Athens-Cairo-MarcusDenker.51 Author: MarcusDenker Time: 26 August 2013, 4:03:06.190096 pm UUID: 9e1bfddb-67f7-4a36-864d-11060b8b6881 Ancestors: Athens-Cairo-SebastianTleye.50 Vincent
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |