Fwd: [Pharo-dev] Font problem is still there

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

Fwd: [Pharo-dev] Font problem is still there

Stéphane Ducasse
Hi guys.

This is strange that moose is using a so old version of Athens.

Stef


Begin forwarded message:

From: Igor Stasenko <[hidden email]>
Subject: Re: [Pharo-dev] Font problem is still there
Date: 28 Mar 2014 14:03:17 GMT+1
To: Pharo Development List <[hidden email]>
Reply-To: Pharo Development List <[hidden email]>

so, i checked both in 4.9 and 5.0 Moose images on linux...
got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

in my working image, where i work every day it is:

Athens-Cairo-SvenVanCaekenberghe.64

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,
because it makes no sense to find a fix in something which outdated and thrown away many months ago.

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.


Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:

Inline images 1


P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,
not one which year(s) old.

--
Best regards,
Igor Stasenko.


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

Re: Fwd: [Pharo-dev] Font problem is still there

Tudor Girba-2
Hi,

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem
"
This is a workaround fir the bug described here:
"
Gofer new 
smalltalkhubUser: 'Pharo' project: 'Pharo30';
package: 'Athens-Cairo' constraint: [ :version |
version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];
package: 'Athens-Core' constraint: [ :version | 
version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];
load

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

Cheers,
Doru




On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:
Hi guys.

This is strange that moose is using a so old version of Athens.

Stef


Begin forwarded message:

From: Igor Stasenko <[hidden email]>
Subject: Re: [Pharo-dev] Font problem is still there
Date: 28 Mar 2014 14:03:17 GMT+1
To: Pharo Development List <[hidden email]>
Reply-To: Pharo Development List <[hidden email]>

so, i checked both in 4.9 and 5.0 Moose images on linux...
got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

in my working image, where i work every day it is:

Athens-Cairo-SvenVanCaekenberghe.64

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,
because it makes no sense to find a fix in something which outdated and thrown away many months ago.

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.


Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:

Inline images 1


P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,
not one which year(s) old.

--
Best regards,
Igor Stasenko.


_______________________________________________
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: Fwd: [Pharo-dev] Font problem is still there

Blondeau Vincent

+1.

 

So, I did on a fresh Moose 5.0 Image under W7:

Gofer new

    smalltalkhubUser: 'Pharo' project: 'Athens';

    configuration;

    loadDevelopment.

 

And :

AthensSceneView new scene: [ :canvas | |s| 

                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).

                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).

               

                canvas pathTransform restoreAfter: [

                               canvas pathTransform translateX: 0 Y: 50.

                               canvas setPaint: Color black.

                               canvas drawString:s ]

               

];openInWindow

 

And I got :

 

And under a fresh Pharo 3.0 :

 

 

Vincent

 

De : [hidden email] [mailto:[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there

 

Hi,

 

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

 

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem

"

This is a workaround fir the bug described here:

"

Gofer new 

smalltalkhubUser: 'Pharo' project: 'Pharo30';

package: 'Athens-Cairo' constraint: [ :version |

version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];

package: 'Athens-Core' constraint: [ :version | 

version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];

load

 

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

 

Cheers,

Doru

 

 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys.

 

This is strange that moose is using a so old version of Athens.

 

Stef

 

 

Begin forwarded message:



From: Igor Stasenko <[hidden email]>

Subject: Re: [Pharo-dev] Font problem is still there

Date: 28 Mar 2014 14:03:17 GMT+1

To: Pharo Development List <[hidden email]>

Reply-To: Pharo Development List <[hidden email]>

 

so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

 

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

 

in my working image, where i work every day it is:


Athens-Cairo-SvenVanCaekenberghe.64

 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,

because it makes no sense to find a fix in something which outdated and thrown away many months ago.

 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.

Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:


Inline images 1

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,

not one which year(s) old.


--
Best regards,
Igor Stasenko.

 


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



 

--

 

"Every thing has its own flow"




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

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

Re: [Pharo-dev] Re: Fwd: Font problem is still there

Tudor Girba-2
I also tried based on a Moose 5.0 image on OS X 10.9.2:

Gofer new
    smalltalkhubUser: 'Pharo' project: 'Athens';
    configuration;
    loadDevelopment.
 
AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow

And I still get the problem:

Inline image 1

Doru



On Fri, Mar 28, 2014 at 2:36 PM, Blondeau Vincent <[hidden email]> wrote:

+1.

 

So, I did on a fresh Moose 5.0 Image under W7:

Gofer new

    smalltalkhubUser: 'Pharo' project: 'Athens';

    configuration;

    loadDevelopment.

 

And :

AthensSceneView new scene: [ :canvas | |s| 

                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).

                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).

               

                canvas pathTransform restoreAfter: [

                               canvas pathTransform translateX: 0 Y: 50.

                               canvas setPaint: Color black.

                               canvas drawString:s ]

               

];openInWindow

 

And I got :

 

And under a fresh Pharo 3.0 :

 

 

Vincent

 

De : [hidden email] [mailto:[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there

 

Hi,

 

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

 

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem

"

This is a workaround fir the bug described here:

"

Gofer new 

smalltalkhubUser: 'Pharo' project: 'Pharo30';

package: 'Athens-Cairo' constraint: [ :version |

version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];

package: 'Athens-Core' constraint: [ :version | 

version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];

load

 

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

 

Cheers,

Doru

 

 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys.

 

This is strange that moose is using a so old version of Athens.

 

Stef

 

 

Begin forwarded message:



From: Igor Stasenko <[hidden email]>

Subject: Re: [Pharo-dev] Font problem is still there

Date: 28 Mar 2014 14:03:17 GMT+1

To: Pharo Development List <[hidden email]>

Reply-To: Pharo Development List <[hidden email]>

 

so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

 

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

 

in my working image, where i work every day it is:


Athens-Cairo-SvenVanCaekenberghe.64

 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,

because it makes no sense to find a fix in something which outdated and thrown away many months ago.

 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.

Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:


Inline images 1

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,

not one which year(s) old.


--
Best regards,
Igor Stasenko.

 


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



 

--

 

"Every thing has its own flow"




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.



--

"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: [Pharo-dev] Re: Fwd: Font problem is still there

Stéphane Ducasse
In reply to this post by Blondeau Vincent
vincent 

Did you changed the freetype settings?

Setf

On 28 Mar 2014, at 14:36, Blondeau Vincent <[hidden email]> wrote:

+1.
 
So, I did on a fresh Moose 5.0 Image under W7:
Gofer new
    smalltalkhubUser: 'Pharo' project: 'Athens';
    configuration;
    loadDevelopment.
 
And :
AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow
 
And I got :
<image001.png>
<image002.png>
 
And under a fresh Pharo 3.0 :
 
<image003.png>
 
Vincent
 
De : [hidden email] [[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there
 
Hi,
 
This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:
 
GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem
"
This is a workaround fir the bug described here:
"
Gofer new 
smalltalkhubUser: 'Pharo' project: 'Pharo30';
package: 'Athens-Cairo' constraint: [ :version |
version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];
package: 'Athens-Core' constraint: [ :version | 
version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];
load
 
Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:
 
Cheers,
Doru
 
 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:
Hi guys.
 
This is strange that moose is using a so old version of Athens.
 
Stef
 
 
Begin forwarded message:


From: Igor Stasenko <[hidden email]>
Subject: Re: [Pharo-dev] Font problem is still there
Date: 28 Mar 2014 14:03:17 GMT+1
To: Pharo Development List <[hidden email]>
Reply-To: Pharo Development List <[hidden email]>
 
so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51
 
- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.
 
in my working image, where i work every day it is:

Athens-Cairo-SvenVanCaekenberghe.64
 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,
because it makes no sense to find a fix in something which outdated and thrown away many months ago. 
 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.

Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:

<image004.jpg>

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,
not one which year(s) old.

-- 
Best regards,
Igor Stasenko.
 


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



 
--
 
"Every thing has its own flow"



Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.


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

Re: [Pharo-dev] Re: Fwd: Font problem is still there

Stéphane Ducasse
In reply to this post by Tudor Girba-2
Did you check that you get the latest version of athens 2.5 ?


I also tried based on a Moose 5.0 image on OS X 10.9.2:

Gofer new
    smalltalkhubUser: 'Pharo' project: 'Athens';
    configuration;
    loadDevelopment.
 
AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow

And I still get the problem:

<an AthensSceneView(824442880).png>

Doru



On Fri, Mar 28, 2014 at 2:36 PM, Blondeau Vincent <[hidden email]> wrote:

+1.

 

So, I did on a fresh Moose 5.0 Image under W7:

Gofer new

    smalltalkhubUser: 'Pharo' project: 'Athens';

    configuration;

    loadDevelopment.

 

And :

AthensSceneView new scene: [ :canvas | |s| 

                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).

                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).

               

                canvas pathTransform restoreAfter: [

                               canvas pathTransform translateX: 0 Y: 50.

                               canvas setPaint: Color black.

                               canvas drawString:s ]

               

];openInWindow

 

And I got :

<image001.png>

<image002.png>

 

And under a fresh Pharo 3.0 :

 

<image003.png>

 

Vincent

 

De : [hidden email] [mailto:[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there

 

Hi,

 

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

 

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem

"

This is a workaround fir the bug described here:

"

Gofer new 

smalltalkhubUser: 'Pharo' project: 'Pharo30';

package: 'Athens-Cairo' constraint: [ :version |

version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];

package: 'Athens-Core' constraint: [ :version | 

version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];

load

 

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

 

Cheers,

Doru

 

 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys.

 

This is strange that moose is using a so old version of Athens.

 

Stef

 

 

Begin forwarded message:



From: Igor Stasenko <[hidden email]>

Subject: Re: [Pharo-dev] Font problem is still there

Date: 28 Mar 2014 14:03:17 GMT+1

To: Pharo Development List <[hidden email]>

Reply-To: Pharo Development List <[hidden email]>

 

so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

 

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

 

in my working image, where i work every day it is:


Athens-Cairo-SvenVanCaekenberghe.64

 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,

because it makes no sense to find a fix in something which outdated and thrown away many months ago.

 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.

Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:


<image004.jpg>

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,

not one which year(s) old.


--
Best regards,
Igor Stasenko.

 


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



 

--

 

"Every thing has its own flow"




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.



--

"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: [Pharo-dev] Re: Fwd: Font problem is still there

Tudor Girba-2
Yes, I did. The script loads the latest development version which is 2.5.

Doru


On Fri, Mar 28, 2014 at 2:45 PM, Stéphane Ducasse <[hidden email]> wrote:
Did you check that you get the latest version of athens 2.5 ?


I also tried based on a Moose 5.0 image on OS X 10.9.2:

Gofer new
    smalltalkhubUser: 'Pharo' project: 'Athens';
    configuration;
    loadDevelopment.
 
AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow

And I still get the problem:

<an AthensSceneView(824442880).png>

Doru



On Fri, Mar 28, 2014 at 2:36 PM, Blondeau Vincent <[hidden email]> wrote:

+1.

 

So, I did on a fresh Moose 5.0 Image under W7:

Gofer new

    smalltalkhubUser: 'Pharo' project: 'Athens';

    configuration;

    loadDevelopment.

 

And :

AthensSceneView new scene: [ :canvas | |s| 

                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).

                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).

               

                canvas pathTransform restoreAfter: [

                               canvas pathTransform translateX: 0 Y: 50.

                               canvas setPaint: Color black.

                               canvas drawString:s ]

               

];openInWindow

 

And I got :

<image001.png>

<image002.png>

 

And under a fresh Pharo 3.0 :

 

<image003.png>

 

Vincent

 

De : [hidden email] [mailto:[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there

 

Hi,

 

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

 

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem

"

This is a workaround fir the bug described here:

"

Gofer new 

smalltalkhubUser: 'Pharo' project: 'Pharo30';

package: 'Athens-Cairo' constraint: [ :version |

version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];

package: 'Athens-Core' constraint: [ :version | 

version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];

load

 

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

 

Cheers,

Doru

 

 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys.

 

This is strange that moose is using a so old version of Athens.

 

Stef

 

 

Begin forwarded message:



From: Igor Stasenko <[hidden email]>

Subject: Re: [Pharo-dev] Font problem is still there

Date: 28 Mar 2014 14:03:17 GMT+1

To: Pharo Development List <[hidden email]>

Reply-To: Pharo Development List <[hidden email]>

 

so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

 

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

 

in my working image, where i work every day it is:


Athens-Cairo-SvenVanCaekenberghe.64

 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,

because it makes no sense to find a fix in something which outdated and thrown away many months ago.

 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.

Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:


<image004.jpg>

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,

not one which year(s) old.


--
Best regards,
Igor Stasenko.

 


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



 

--

 

"Every thing has its own flow"




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.



--

"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




--

"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: [Pharo-dev] Re: Fwd: Font problem is still there

Blondeau Vincent
In reply to this post by Stéphane Ducasse

No, I did not change the Free type in the pharo settings.

 

But if I do it under Moose, I got :

 

De : [hidden email] [mailto:[hidden email]] De la part de Stéphane Ducasse
Envoyé : vendredi 28 mars 2014 14:44
À : Pharo Development List
Cc : Moose-related development
Objet : [Moose-dev] Re: [Pharo-dev] Re: Fwd: Font problem is still there

 

vincent 

 

Did you changed the freetype settings?

 

Setf

 

On 28 Mar 2014, at 14:36, Blondeau Vincent <[hidden email]> wrote:



+1.

 

So, I did on a fresh Moose 5.0 Image under W7:

Gofer new

    smalltalkhubUser: 'Pharo' project: 'Athens';

    configuration;

    loadDevelopment.

 

And :

AthensSceneView new scene: [ :canvas | |s| 

                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).

                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).

               

                canvas pathTransform restoreAfter: [

                               canvas pathTransform translateX: 0 Y: 50.

                               canvas setPaint: Color black.

                               canvas drawString:s ]

               

];openInWindow

 

And I got :

<image001.png>

<image002.png>

 

And under a fresh Pharo 3.0 :

 

<image003.png>

 

Vincent

 

De : [hidden email] [[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there

 

Hi,

 

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

 

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem

"

This is a workaround fir the bug described here:

"

Gofer new 

smalltalkhubUser: 'Pharo' project: 'Pharo30';

package: 'Athens-Cairo' constraint: [ :version |

version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];

package: 'Athens-Core' constraint: [ :version | 

version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];

load

 

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

 

Cheers,

Doru

 

 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys.

 

This is strange that moose is using a so old version of Athens.

 

Stef

 

 

Begin forwarded message:




From: Igor Stasenko <[hidden email]>

Subject: Re: [Pharo-dev] Font problem is still there

Date: 28 Mar 2014 14:03:17 GMT+1

To: Pharo Development List <[hidden email]>

Reply-To: Pharo Development List <[hidden email]>

 

so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

 

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

 

in my working image, where i work every day it is:


Athens-Cairo-SvenVanCaekenberghe.64

 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,

because it makes no sense to find a fix in something which outdated and thrown away many months ago. 

 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.


Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:


<image004.jpg>

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,

not one which year(s) old.


-- 
Best regards,
Igor Stasenko.

 


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



 

--

 

"Every thing has its own flow"

 



Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

 




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

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

Re: [Pharo-dev] Re: Re: Fwd: Font problem is still there

Tudor Girba-2
In the Moose image, the fonts are already set to free type fonts.

Doru


On Fri, Mar 28, 2014 at 2:50 PM, Blondeau Vincent <[hidden email]> wrote:

No, I did not change the Free type in the pharo settings.

 

But if I do it under Moose, I got :

 

De : [hidden email] [mailto:[hidden email]] De la part de Stéphane Ducasse
Envoyé : vendredi 28 mars 2014 14:44
À : Pharo Development List
Cc : Moose-related development
Objet : [Moose-dev] Re: [Pharo-dev] Re: Fwd: Font problem is still there

 

vincent 

 

Did you changed the freetype settings?

 

Setf

 

On 28 Mar 2014, at 14:36, Blondeau Vincent <[hidden email]> wrote:



+1.

 

So, I did on a fresh Moose 5.0 Image under W7:

Gofer new

    smalltalkhubUser: 'Pharo' project: 'Athens';

    configuration;

    loadDevelopment.

 

And :

AthensSceneView new scene: [ :canvas | |s| 

                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).

                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).

               

                canvas pathTransform restoreAfter: [

                               canvas pathTransform translateX: 0 Y: 50.

                               canvas setPaint: Color black.

                               canvas drawString:s ]

               

];openInWindow

 

And I got :

<image001.png>

<image002.png>

 

And under a fresh Pharo 3.0 :

 

<image003.png>

 

Vincent

 

De : [hidden email] [[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there

 

Hi,

 

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

 

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem

"

This is a workaround fir the bug described here:

"

Gofer new 

smalltalkhubUser: 'Pharo' project: 'Pharo30';

package: 'Athens-Cairo' constraint: [ :version |

version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];

package: 'Athens-Core' constraint: [ :version | 

version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];

load

 

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

 

Cheers,

Doru

 

 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys.

 

This is strange that moose is using a so old version of Athens.

 

Stef

 

 

Begin forwarded message:




From: Igor Stasenko <[hidden email]>

Subject: Re: [Pharo-dev] Font problem is still there

Date: 28 Mar 2014 14:03:17 GMT+1

To: Pharo Development List <[hidden email]>

Reply-To: Pharo Development List <[hidden email]>

 

so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

 

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

 

in my working image, where i work every day it is:


Athens-Cairo-SvenVanCaekenberghe.64

 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,

because it makes no sense to find a fix in something which outdated and thrown away many months ago. 

 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.


Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:


<image004.jpg>

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,

not one which year(s) old.


-- 
Best regards,
Igor Stasenko.

 


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



 

--

 

"Every thing has its own flow"

 



Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

 




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.



--

"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: [Pharo-dev] Re: Fwd: Font problem is still there

Igor Stasenko
In reply to this post by Tudor Girba-2



On 28 March 2014 14:42, Tudor Girba <[hidden email]> wrote:
I also tried based on a Moose 5.0 image on OS X 10.9.2:

Gofer new
    smalltalkhubUser: 'Pharo' project: 'Athens';
    configuration;
    loadDevelopment.
 
AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow

And I still get the problem:

by 'still' you mean you loaded up-to-date version of Athens into your moose image and it still doesn't works?
because Moose 5.0 image which i downloaded earlier today has very old Athens version.


Inline image 1

Doru


--
Best regards,
Igor Stasenko.

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

Re: [Pharo-dev] Re: Re: Fwd: Font problem is still there

Igor Stasenko
In reply to this post by Blondeau Vincent
This error message usually happens because it cannot find the freetype font for given font name,
and substitutes it with system-default bitmap font, which are *not* supported by Athens.

(LogicalFont familyName: 'crazy non existing font name' pointSize:10)
realFont => a StrikeFont(Bitmap DejaVu Sans 9 14)

so, please check your font(s) setup and fonts you using.



On 28 March 2014 14:50, Blondeau Vincent <[hidden email]> wrote:

No, I did not change the Free type in the pharo settings.

 

But if I do it under Moose, I got :

 

De : [hidden email] [mailto:[hidden email]] De la part de Stéphane Ducasse
Envoyé : vendredi 28 mars 2014 14:44
À : Pharo Development List
Cc : Moose-related development
Objet : [Moose-dev] Re: [Pharo-dev] Re: Fwd: Font problem is still there

 

vincent 

 

Did you changed the freetype settings?

 

Setf

 

On 28 Mar 2014, at 14:36, Blondeau Vincent <[hidden email]> wrote:



+1.

 

So, I did on a fresh Moose 5.0 Image under W7:

Gofer new

    smalltalkhubUser: 'Pharo' project: 'Athens';

    configuration;

    loadDevelopment.

 

And :

AthensSceneView new scene: [ :canvas | |s| 

                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).

                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).

               

                canvas pathTransform restoreAfter: [

                               canvas pathTransform translateX: 0 Y: 50.

                               canvas setPaint: Color black.

                               canvas drawString:s ]

               

];openInWindow

 

And I got :

<image001.png>

<image002.png>

 

And under a fresh Pharo 3.0 :

 

<image003.png>

 

Vincent

 

De : [hidden email] [[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there

 

Hi,

 

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

 

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem

"

This is a workaround fir the bug described here:

"

Gofer new 

smalltalkhubUser: 'Pharo' project: 'Pharo30';

package: 'Athens-Cairo' constraint: [ :version |

version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];

package: 'Athens-Core' constraint: [ :version | 

version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];

load

 

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

 

Cheers,

Doru

 

 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys.

 

This is strange that moose is using a so old version of Athens.

 

Stef

 

 

Begin forwarded message:




From: Igor Stasenko <[hidden email]>

Subject: Re: [Pharo-dev] Font problem is still there

Date: 28 Mar 2014 14:03:17 GMT+1

To: Pharo Development List <[hidden email]>

Reply-To: Pharo Development List <[hidden email]>

 

so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

 

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

 

in my working image, where i work every day it is:


Athens-Cairo-SvenVanCaekenberghe.64

 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,

because it makes no sense to find a fix in something which outdated and thrown away many months ago. 

 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.


Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:


<image004.jpg>

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,

not one which year(s) old.


-- 
Best regards,
Igor Stasenko.

 


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



 

--

 

"Every thing has its own flow"

 



Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

 




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.



--
Best regards,
Igor Stasenko.

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

Re: [Pharo-dev] Re: Fwd: Font problem is still there

Tudor Girba-2
In reply to this post by Igor Stasenko
I added the code in the mail precisely to leave out any ambiguities :).

The first part of the snippet (as also listed by Vincent) loads the very latest development version of Athens configuration. So, yes, I think I loaded the latest code.

Doru


On Fri, Mar 28, 2014 at 2:57 PM, Igor Stasenko <[hidden email]> wrote:



On 28 March 2014 14:42, Tudor Girba <[hidden email]> wrote:
I also tried based on a Moose 5.0 image on OS X 10.9.2:

Gofer new
    smalltalkhubUser: 'Pharo' project: 'Athens';
    configuration;
    loadDevelopment.
 
AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow

And I still get the problem:

by 'still' you mean you loaded up-to-date version of Athens into your moose image and it still doesn't works?
because Moose 5.0 image which i downloaded earlier today has very old Athens version.


Inline image 1

Doru


--
Best regards,
Igor Stasenko.



--

"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: [Pharo-dev] Re: Re: Fwd: Font problem is still there

Tudor Girba-2
In reply to this post by Igor Stasenko
Exactly. This is why he pointed out that he got this error in a fresh Pharo 3.0 image :).

In a Moose image, free type fonts are installed properly, hence we do not get the error. We only get the wrong rendering.

Doru


On Fri, Mar 28, 2014 at 3:00 PM, Igor Stasenko <[hidden email]> wrote:
This error message usually happens because it cannot find the freetype font for given font name,
and substitutes it with system-default bitmap font, which are *not* supported by Athens.

(LogicalFont familyName: 'crazy non existing font name' pointSize:10)
realFont => a StrikeFont(Bitmap DejaVu Sans 9 14)

so, please check your font(s) setup and fonts you using.



On 28 March 2014 14:50, Blondeau Vincent <[hidden email]> wrote:

No, I did not change the Free type in the pharo settings.

 

But if I do it under Moose, I got :

 

De : [hidden email] [mailto:[hidden email]] De la part de Stéphane Ducasse
Envoyé : vendredi 28 mars 2014 14:44
À : Pharo Development List
Cc : Moose-related development
Objet : [Moose-dev] Re: [Pharo-dev] Re: Fwd: Font problem is still there

 

vincent 

 

Did you changed the freetype settings?

 

Setf

 

On 28 Mar 2014, at 14:36, Blondeau Vincent <[hidden email]> wrote:



+1.

 

So, I did on a fresh Moose 5.0 Image under W7:

Gofer new

    smalltalkhubUser: 'Pharo' project: 'Athens';

    configuration;

    loadDevelopment.

 

And :

AthensSceneView new scene: [ :canvas | |s| 

                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).

                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).

               

                canvas pathTransform restoreAfter: [

                               canvas pathTransform translateX: 0 Y: 50.

                               canvas setPaint: Color black.

                               canvas drawString:s ]

               

];openInWindow

 

And I got :

<image001.png>

<image002.png>

 

And under a fresh Pharo 3.0 :

 

<image003.png>

 

Vincent

 

De : [hidden email] [[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there

 

Hi,

 

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

 

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem

"

This is a workaround fir the bug described here:

"

Gofer new 

smalltalkhubUser: 'Pharo' project: 'Pharo30';

package: 'Athens-Cairo' constraint: [ :version |

version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];

package: 'Athens-Core' constraint: [ :version | 

version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];

load

 

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

 

Cheers,

Doru

 

 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys.

 

This is strange that moose is using a so old version of Athens.

 

Stef

 

 

Begin forwarded message:




From: Igor Stasenko <[hidden email]>

Subject: Re: [Pharo-dev] Font problem is still there

Date: 28 Mar 2014 14:03:17 GMT+1

To: Pharo Development List <[hidden email]>

Reply-To: Pharo Development List <[hidden email]>

 

so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

 

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

 

in my working image, where i work every day it is:


Athens-Cairo-SvenVanCaekenberghe.64

 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,

because it makes no sense to find a fix in something which outdated and thrown away many months ago. 

 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.


Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:


<image004.jpg>

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,

not one which year(s) old.


-- 
Best regards,
Igor Stasenko.

 


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



 

--

 

"Every thing has its own flow"

 



Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

 




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.



--
Best regards,
Igor Stasenko.



--

"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: [Pharo-dev] Re: Fwd: Font problem is still there

Igor Stasenko
In reply to this post by Tudor Girba-2



On 28 March 2014 15:01, Tudor Girba <[hidden email]> wrote:
I added the code in the mail precisely to leave out any ambiguities :).

The first part of the snippet (as also listed by Vincent) loads the very latest development version of Athens configuration. So, yes, I think I loaded the latest code.

Doru

and that code snippet works only if you have FreeSans font in your system.. which not exists on Mac OS (at least in my installation)..

i took the latest pharo 3.0 image:

curl get.pharo.org/30 | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2587  100  2587    0     0  70999      0 --:--:-- --:--:-- --:--:--  421k
Downloading the latest 30 Image:
    http://files.pharo.org/image/30/latest.zip
Pharo.image
193-51-236-207:pharo sig$ ./pharo-ui Pharo.image

- went to font settings and updated the font list from system.


And then evaluated:

AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'Arial' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow

 And here's what i got:
Inline images 2

And the screenshot you given cannot be true, because 20 points font size should be much larger than 10 point (the font used for label above with
zoom/pan metrics).

Note, i did not loaded anything into pharo image.. just evaluated the above snippet..
on my machine, which is:  10.8.3 mac os

--
Best regards,
Igor Stasenko.

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

Re: [Pharo-dev] Re: Fwd: Font problem is still there

Tudor Girba-2
Excellent.

I confirm the same result in the latest Moose image (which no longer loads anything related to Athens).

It works out of the box without any resetting of the fonts (by using the already installed Source Sans Pro.

Cheers,
Doru


Inline image 2


On Fri, Mar 28, 2014 at 3:15 PM, Igor Stasenko <[hidden email]> wrote:



On 28 March 2014 15:01, Tudor Girba <[hidden email]> wrote:
I added the code in the mail precisely to leave out any ambiguities :).

The first part of the snippet (as also listed by Vincent) loads the very latest development version of Athens configuration. So, yes, I think I loaded the latest code.

Doru

and that code snippet works only if you have FreeSans font in your system.. which not exists on Mac OS (at least in my installation)..

i took the latest pharo 3.0 image:

curl get.pharo.org/30 | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2587  100  2587    0     0  70999      0 --:--:-- --:--:-- --:--:--  421k
Downloading the latest 30 Image:
    http://files.pharo.org/image/30/latest.zip
Pharo.image
193-51-236-207:pharo sig$ ./pharo-ui Pharo.image

- went to font settings and updated the font list from system.


And then evaluated:

AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'Arial' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow

 And here's what i got:
Inline images 2

And the screenshot you given cannot be true, because 20 points font size should be much larger than 10 point (the font used for label above with
zoom/pan metrics).

Note, i did not loaded anything into pharo image.. just evaluated the above snippet..
on my machine, which is:  10.8.3 mac os

--
Best regards,
Igor Stasenko.



--

"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: [Pharo-dev] Re: Re: Fwd: Font problem is still there

Stéphane Ducasse
In reply to this post by Tudor Girba-2

On 28 Mar 2014, at 14:55, Tudor Girba <[hidden email]> wrote:

In the Moose image, the fonts are already set to free type fonts.

yes but if you uncheck and recheck freetype
the embedded fonts are lost
-> substition 
-> substitution failed.
-> get a strike font and boum.

Doru


On Fri, Mar 28, 2014 at 2:50 PM, Blondeau Vincent <[hidden email]> wrote:

No, I did not change the Free type in the pharo settings.

 

But if I do it under Moose, I got :

<image001.png>

 

De : [hidden email] [mailto:[hidden email]] De la part de Stéphane Ducasse
Envoyé : vendredi 28 mars 2014 14:44
À : Pharo Development List
Cc : Moose-related development
Objet : [Moose-dev] Re: [Pharo-dev] Re: Fwd: Font problem is still there

 

vincent 

 

Did you changed the freetype settings?

 

Setf

 

On 28 Mar 2014, at 14:36, Blondeau Vincent <[hidden email]> wrote:



+1.

 

So, I did on a fresh Moose 5.0 Image under W7:

Gofer new

    smalltalkhubUser: 'Pharo' project: 'Athens';

    configuration;

    loadDevelopment.

 

And :

AthensSceneView new scene: [ :canvas | |s| 

                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).

                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).

               

                canvas pathTransform restoreAfter: [

                               canvas pathTransform translateX: 0 Y: 50.

                               canvas setPaint: Color black.

                               canvas drawString:s ]

               

];openInWindow

 

And I got :

<image001.png>

<image002.png>

 

And under a fresh Pharo 3.0 :

 

<image003.png>

 

Vincent

 

De : [hidden email] [[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there

 

Hi,

 

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

 

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem

"

This is a workaround fir the bug described here:

"

Gofer new 

smalltalkhubUser: 'Pharo' project: 'Pharo30';

package: 'Athens-Cairo' constraint: [ :version |

version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];

package: 'Athens-Core' constraint: [ :version | 

version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];

load

 

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

 

Cheers,

Doru

 

 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys.

 

This is strange that moose is using a so old version of Athens.

 

Stef

 

 

Begin forwarded message:




From: Igor Stasenko <[hidden email]>

Subject: Re: [Pharo-dev] Font problem is still there

Date: 28 Mar 2014 14:03:17 GMT+1

To: Pharo Development List <[hidden email]>

Reply-To: Pharo Development List <[hidden email]>

 

so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

 

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

 

in my working image, where i work every day it is:


Athens-Cairo-SvenVanCaekenberghe.64

 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,

because it makes no sense to find a fix in something which outdated and thrown away many months ago. 

 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.


Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:


<image004.jpg>

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,

not one which year(s) old.


-- 
Best regards,
Igor Stasenko.

 


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



 

--

 

"Every thing has its own flow"

 



Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

 




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.



--

"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: [Pharo-dev] Re: Fwd: Font problem is still there

pharo4Stef@free.fr
In reply to this post by Tudor Girba-2

On 28 Mar 2014, at 15:01, Tudor Girba <[hidden email]> wrote:

I added the code in the mail precisely to leave out any ambiguities :).

The first part of the snippet (as also listed by Vincent) loads the very latest development version of Athens configuration. So, yes, I think I loaded the latest code.

but is it?
Can you check?



Doru


On Fri, Mar 28, 2014 at 2:57 PM, Igor Stasenko <[hidden email]> wrote:



On 28 March 2014 14:42, Tudor Girba <[hidden email]> wrote:
I also tried based on a Moose 5.0 image on OS X 10.9.2:

Gofer new
    smalltalkhubUser: 'Pharo' project: 'Athens';
    configuration;
    loadDevelopment.
 
AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow

And I still get the problem:

by 'still' you mean you loaded up-to-date version of Athens into your moose image and it still doesn't works?
because Moose 5.0 image which i downloaded earlier today has very old Athens version.


<an AthensSceneView(824442880).png>

Doru


--
Best regards,
Igor Stasenko.



--

"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: [Pharo-dev] Re: Fwd: Font problem is still there

pharo4Stef@free.fr
In reply to this post by Tudor Girba-2
yes but if you uncheck and recheck freetype
the embedded fonts are lost
-> substition 
-> substitution failed.
-> get a strike font and boum.

Can you confirm?

On 28 Mar 2014, at 15:26, Tudor Girba <[hidden email]> wrote:

Excellent.

I confirm the same result in the latest Moose image (which no longer loads anything related to Athens).

It works out of the box without any resetting of the fonts (by using the already installed Source Sans Pro.

Cheers,
Doru


<a WorldMorph(511705088) [wo.png>


On Fri, Mar 28, 2014 at 3:15 PM, Igor Stasenko <[hidden email]> wrote:



On 28 March 2014 15:01, Tudor Girba <[hidden email]> wrote:
I added the code in the mail precisely to leave out any ambiguities :).

The first part of the snippet (as also listed by Vincent) loads the very latest development version of Athens configuration. So, yes, I think I loaded the latest code.

Doru

and that code snippet works only if you have FreeSans font in your system.. which not exists on Mac OS (at least in my installation)..

i took the latest pharo 3.0 image:

curl get.pharo.org/30 | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2587  100  2587    0     0  70999      0 --:--:-- --:--:-- --:--:--  421k
Downloading the latest 30 Image:
    http://files.pharo.org/image/30/latest.zip
Pharo.image
193-51-236-207:pharo sig$ ./pharo-ui Pharo.image

- went to font settings and updated the font list from system.


And then evaluated:

AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'Arial' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow

 And here's what i got:
<Screen Shot 2014-03-28 at 3.11.25 PM.png>

And the screenshot you given cannot be true, because 20 points font size should be much larger than 10 point (the font used for label above with
zoom/pan metrics).

Note, i did not loaded anything into pharo image.. just evaluated the above snippet..
on my machine, which is:  10.8.3 mac os

-- 
Best regards,
Igor Stasenko.



-- 

"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: [Pharo-dev] Re: Fwd: Font problem is still there

Stéphane Ducasse
In reply to this post by Blondeau Vincent
In Pharo 3.0 this is is normal because FreeSans does not exist.

I think that we should embed a default FT font and use is as default. 
Now since embedded fonts are lost when reloading Freetrype fonts.
The reloading of FreeType should be fixed.

Stef

And :
AthensSceneView new scene: [ :canvas | |s| 
                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).
                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).
               
                canvas pathTransform restoreAfter: [
                               canvas pathTransform translateX: 0 Y: 50.
                               canvas setPaint: Color black.
                               canvas drawString:s ]
               
];openInWindow
 
And I got :
<image001.png>
<image002.png>
 
And under a fresh Pharo 3.0 :
 
<image003.png>
 
Vincent
 
De : [hidden email] [[hidden email]] De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there
 
Hi,
 
This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:
 
GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem
"
This is a workaround fir the bug described here:
"
Gofer new 
smalltalkhubUser: 'Pharo' project: 'Pharo30';
package: 'Athens-Cairo' constraint: [ :version |
version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];
package: 'Athens-Core' constraint: [ :version | 
version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];
load
 
Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:
 
Cheers,
Doru
 
 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:
Hi guys.
 
This is strange that moose is using a so old version of Athens.
 
Stef
 
 
Begin forwarded message:


From: Igor Stasenko <[hidden email]>
Subject: Re: [Pharo-dev] Font problem is still there
Date: 28 Mar 2014 14:03:17 GMT+1
To: Pharo Development List <[hidden email]>
Reply-To: Pharo Development List <[hidden email]>
 
so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51
 
- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.
 
in my working image, where i work every day it is:

Athens-Cairo-SvenVanCaekenberghe.64
 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,
because it makes no sense to find a fix in something which outdated and thrown away many months ago. 
 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.

Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:

<image004.jpg>

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,
not one which year(s) old.

-- 
Best regards,
Igor Stasenko.
 


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



 
--
 
"Every thing has its own flow"



Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.


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

Re: [Pharo-dev] Re: Re: Fwd: Font problem is still there

Blondeau Vincent
In reply to this post by Stéphane Ducasse

 

 

De : [hidden email] [mailto:[hidden email]] De la part de Stéphane Ducasse
Envoyé : vendredi 28 mars 2014 15:30
À : Moose-related development
Cc : Pharo Development List
Objet : [Moose-dev] Re: [Pharo-dev] Re: Re: Fwd: Font problem is still there

 

 

On 28 Mar 2014, at 14:55, Tudor Girba <[hidden email]> wrote:



In the Moose image, the fonts are already set to free type fonts.

 

yes but if you uncheck and recheck freetype

the embedded fonts are lost

-> substition 

-> substitution failed.

-> get a strike font and boum.

I confirm !

 

 

And if you can see under the A character, there is a square that should not be here… (under w7)

 

Vincent

 

Doru

 

On Fri, Mar 28, 2014 at 2:50 PM, Blondeau Vincent <[hidden email]> wrote:

No, I did not change the Free type in the pharo settings.

 

But if I do it under Moose, I got :

<image001.png>

 

De : [hidden email] [mailto:[hidden email]] De la part de Stéphane Ducasse
Envoyé : vendredi 28 mars 2014 14:44
À : Pharo Development List
Cc : Moose-related development
Objet : [Moose-dev] Re: [Pharo-dev] Re: Fwd: Font problem is still there

 

vincent 

 

Did you changed the freetype settings?

 

Setf

 

On 28 Mar 2014, at 14:36, Blondeau Vincent <[hidden email]> wrote:

 

+1.

 

So, I did on a fresh Moose 5.0 Image under W7:

Gofer new

    smalltalkhubUser: 'Pharo' project: 'Athens';

    configuration;

    loadDevelopment.

 

And :

AthensSceneView new scene: [ :canvas | |s| 

                 canvas setFont: (LogicalFont familyName: 'FreeSans' pointSize: 20).

                s:= String newFrom: ($A to: $Z),($a to: $z), ($0 to: $9).

               

                canvas pathTransform restoreAfter: [

                               canvas pathTransform translateX: 0 Y: 50.

                               canvas setPaint: Color black.

                               canvas drawString:s ]

               

];openInWindow

 

And I got :

<image001.png>

<image002.png>

 

And under a fresh Pharo 3.0 :

 

<image003.png>

 

Vincent

 

De : [hidden email] [[hidden email]De la part de Tudor Girba
Envoyé : vendredi 28 mars 2014 14:28
À : Moose-related development
Objet : [Moose-dev] Re: Fwd: [Pharo-dev] Font problem is still there

 

Hi,

 

This was discussed before both on the Moose and on the Pharo mailing list. We are loading explicitly an older version of Athens because we could not work at all with the one that came from Pharo, and nobody reacted at the time to the font issue:

 

GTImageSetupCommandLineHandler>>loadOlderAthensPackagesToCorrectTheFontCachingProblem

"

This is a workaround fir the bug described here:

"

Gofer new 

smalltalkhubUser: 'Pharo' project: 'Pharo30';

package: 'Athens-Cairo' constraint: [ :version |

version author = 'MarcusDenker' and: [ version versionNumber = 51 ] ];

package: 'Athens-Core' constraint: [ :version | 

version author = 'MarcusDenker' and: [ version versionNumber = 34 ] ];

load

 

Now it's great that you are looking at it. So, I now removed it from the setup and the image is now relying on the latest Pharo 3.0. The build is running now:

 

Cheers,

Doru

 

 

 

On Fri, Mar 28, 2014 at 2:18 PM, Stéphane Ducasse <[hidden email]> wrote:

Hi guys.

 

This is strange that moose is using a so old version of Athens.

 

Stef

 

 

Begin forwarded message:



From: Igor Stasenko <[hidden email]>

Subject: Re: [Pharo-dev] Font problem is still there

Date: 28 Mar 2014 14:03:17 GMT+1

To: Pharo Development List <[hidden email]>

Reply-To: Pharo Development List <[hidden email]>

 

so, i checked both in 4.9 and 5.0 Moose images on linux...

got weird results and sometimes crashes.

in 5.0 image the version is:
Athens-Cairo-MarcusDenker.51

 

- this one uses pretty old code, which renders text using 'toy' cairo api for text rendering.

 

in my working image, where i work every day it is:


Athens-Cairo-SvenVanCaekenberghe.64

 

and there's also couple important fixes since .51 as well as different font rendering code which no longer using toy api..

so, guys, if you want me to continue, please try using latest versions and report problems about it,

because it makes no sense to find a fix in something which outdated and thrown away many months ago. 

 

Load the latest dev version of Athens from smalltalkhub (it is version 2.5)

ConfigurationOfAthens loadDevelopment.

try it out.

Here's what i got on latest fresh vanilla out of the box Pharo 3.0 image on linux system:


<image004.jpg>

 

P.S. i am not saying that it is *impossible* that there is problems in new version, just asking you to report problems with that version,

not one which year(s) old.


-- 
Best regards,
Igor Stasenko.

 


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



 

--

 

"Every thing has its own flow"

 



Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

 

 



Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.



 

--

 

"Every thing has its own flow"

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

 




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité de Worldline ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Worldline liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

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