About v4 strike fonts

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

About v4 strike fonts

Stéphane Ducasse
When I move a window I get the following visual effect with strike  
font loaded


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

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

Re: About v4 strike fonts

Stéphane Ducasse
I get  0.0

and I use 4.1.1.beta2U which is the latest vm available on mac.

Stef

On Aug 9, 2009, at 4:35 PM, Juan Vuletich wrote:

> Stéphane Ducasse wrote:
>> When I move a window I get the following visual effect with strike  
>> font loaded
>>
>>
>> ------------------------------------------------------------------------
>>
> Print the following:
>
> | f1 f2  |
>  f1 := Form extent: 8@8 depth: 32.
>  f1 fillColor: (Color r: 1.0 g: 1.0 b: 0.7 alpha: 0.6).
>  f2 := Form extent: 8@8 depth: 32.
>  f2 fillColor: (Color r: 0.5 g: 1.0 b: 0.7 alpha: 0.7).
> (BitBlt toForm: f1) sourceForm: f2; combinationRule: 20; copyBits.
>  (f1 colorAt: 2@2) alpha
>
> If you don't get 1.0 as the result, your VM is missing my April fix.  
> If you do get 1.0, please zip and upload your image somewhere so I  
> can take a look.
>
> Cheers,
> Juan Vuletich


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: About v4 strike fonts

Stéphane Ducasse



So I do not know what to think. I have the latest vm and this is the  
one which executed the image.
Of course we will have to change this vmVersion to write the exact  
pharo image
number which is here 10413

Stef
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

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

Re: About v4 strike fonts

Damien Cassou
2009/8/9 Stéphane Ducasse <[hidden email]>:
> So I do not know what to think. I have the latest vm and this is the one
> which executed the image.
> Of course we will have to change this vmVersion to write the exact pharo
> image
> number which is here 10413

I think that the version printed is the one that generated the VM
sources. You can't change it without regenerating the VM or hacking
the C source code.

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: About v4 strike fonts

johnmci
10 years back the VM source was in the image, this included vmmaker  
and an encoded zip file
for all the C source files need to build the VM on the platform, aka  
macintosh.

Out of that the vmVersion primitive would just return the update  
number of the image used
to build the VM because they were synchronized.

Today that number has little meaning, and is different on each  
platform, since it reflects
the image used to build the VM, and says nothing about which version  
of vmmaker was
used to make the VM.

http://isqueak.org/getAttributeIntoLength


On 9-Aug-09, at 10:08 AM, Damien Cassou wrote:

> 2009/8/9 Stéphane Ducasse <[hidden email]>:
>> So I do not know what to think. I have the latest vm and this is  
>> the one
>> which executed the image.
>> Of course we will have to change this vmVersion to write the exact  
>> pharo
>> image
>> number which is here 10413
>
> I think that the version printed is the one that generated the VM
> sources. You can't change it without regenerating the VM or hacking
> the C source code.
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> "Lambdas are relegated to relative obscurity until Java makes them
> popular by not having them." James Iry
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: About v4 strike fonts

johnmci
In reply to this post by Stéphane Ducasse
Ok, yesterday I had grabbed the Pharo1.0beta latest update:  #10401  
from the download link on the pharo
page in order to rebuild the iPhone ebook st80docs (I'll say more once  
Apple approves).

So this morning I fired up the image using a macintosh carbon  
4.1.1beta2U vm then executed

>> | f1 f2  |
>> f1 := Form extent: 8@8 depth: 32.
>> f1 fillColor: (Color r: 1.0 g: 1.0 b: 0.7 alpha: 0.6).
>> f2 := Form extent: 8@8 depth: 32.
>> f2 fillColor: (Color r: 0.5 g: 1.0 b: 0.7 alpha: 0.7).
>> (BitBlt toForm: f1) sourceForm: f2; combinationRule: 20; copyBits.
>> (f1 colorAt: 2@2) alpha


and I get  1.0


I note  http://article.gmane.org/gmane.comp.lang.smalltalk.sapphire.devel/8433
Maybe you have the 2007  BitBltPlugin.bundle  loaded?



On 9-Aug-09, at 9:37 AM, Juan Vuletich wrote:

> Stéphane Ducasse wrote:
>>
>>
>>
>>
>> So I do not know what to think. I have the latest vm and this is  
>> the one which executed the image.
>> Of course we will have to change this vmVersion to write the exact  
>> pharo image
>> number which is here 10413
>>
>> Stef
>>
>>
> Neither do I. The attach is what I get. John, can you shed some  
> light on this?
>
> BTW, leaving now. Will be back in about 8 hours, and check mail then.
>
> Cheers,
> Juan Vuletich
> <display.png>

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: About v4 strike fonts

Mariano Martinez Peck
In reply to this post by Stéphane Ducasse
Yes. This is a known problem by Juan. He told me: "You need a newer VM, with a fix I did in April. For Windows you need SqueakVM-Win32-3.11.3-bin.zip. For Mac, I'm not sure, but it needs that patch. With an older VM, the symptoms are those Mariano said. Oh, a workaround in case you don't have an updated VM is to set Display depth to 16 bits."

I don't know which is the VM fix. I cannot test it because I am in Linux.

Best,

Mariano

2009/8/9 Stéphane Ducasse <[hidden email]>
When I move a window I get the following visual effect with strike font loaded


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: About v4 strike fonts

Stéphane Ducasse
In reply to this post by johnmci
Hi john

I downloaded the vm from your web site and I got 1.0.
So I removed all the 4.4.1beta2U vm and replaced them by the latest one.
This is really strange.

Stef




On Aug 9, 2009, at 7:33 PM, John M McIntosh wrote:

> Ok, yesterday I had grabbed the Pharo1.0beta latest update:  #10401  
> from the download link on the pharo
> page in order to rebuild the iPhone ebook st80docs (I'll say more  
> once Apple approves).
>
> So this morning I fired up the image using a macintosh carbon  
> 4.1.1beta2U vm then executed
>
>>> | f1 f2  |
>>> f1 := Form extent: 8@8 depth: 32.
>>> f1 fillColor: (Color r: 1.0 g: 1.0 b: 0.7 alpha: 0.6).
>>> f2 := Form extent: 8@8 depth: 32.
>>> f2 fillColor: (Color r: 0.5 g: 1.0 b: 0.7 alpha: 0.7).
>>> (BitBlt toForm: f1) sourceForm: f2; combinationRule: 20; copyBits.
>>> (f1 colorAt: 2@2) alpha
>
>
> and I get  1.0
>
>
> I note  http://article.gmane.org/gmane.comp.lang.smalltalk.sapphire.devel/8433
> Maybe you have the 2007  BitBltPlugin.bundle  loaded?
>
>
>
> On 9-Aug-09, at 9:37 AM, Juan Vuletich wrote:
>
>> Stéphane Ducasse wrote:
>>>
>>>
>>>
>>>
>>> So I do not know what to think. I have the latest vm and this is  
>>> the one which executed the image.
>>> Of course we will have to change this vmVersion to write the exact  
>>> pharo image
>>> number which is here 10413
>>>
>>> Stef
>>>
>>>
>> Neither do I. The attach is what I get. John, can you shed some  
>> light on this?
>>
>> BTW, leaving now. Will be back in about 8 hours, and check mail then.
>>
>> Cheers,
>> Juan Vuletich
>> <display.png>
>
> --
> =
> =
> =
> =
> =
> ======================================================================
> John M. McIntosh <[hidden email]>   Twitter:  
> squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://
> www.smalltalkconsulting.com
> =
> =
> =
> =
> =
> ======================================================================
>
>
>
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: About v4 strike fonts

johnmci
Are you sure you didn't have a  BitBltPlugin.bundle  in the Resource  
folder of any of those squeak.apps you deleted?
I believe it would override the 4.1.1b2U behavior,, although someone  
could test that for me?

On 9-Aug-09, at 1:20 PM, Stéphane Ducasse wrote:

> Hi john
>
> I downloaded the vm from your web site and I got 1.0.
> So I removed all the 4.4.1beta2U vm and replaced them by the latest  
> one.
> This is really strange.
>
> Stef
>

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>   Twitter:  
squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: About v4 strike fonts

Stéphane Ducasse
I do not have the possibility to check.
I deleted all the file.

Stef

On Aug 9, 2009, at 11:27 PM, John M McIntosh wrote:

> Are you sure you didn't have a  BitBltPlugin.bundle  in the Resource  
> folder of any of those squeak.apps you deleted?
> I believe it would override the 4.1.1b2U behavior,, although someone  
> could test that for me?
>
> On 9-Aug-09, at 1:20 PM, Stéphane Ducasse wrote:
>
>> Hi john
>>
>> I downloaded the vm from your web site and I got 1.0.
>> So I removed all the 4.4.1beta2U vm and replaced them by the latest  
>> one.
>> This is really strange.
>>
>> Stef
>>
>
> --
> =
> =
> =
> =
> =
> ======================================================================
> John M. McIntosh <[hidden email]>   Twitter:  
> squeaker68882
> Corporate Smalltalk Consulting Ltd.  http://
> www.smalltalkconsulting.com
> =
> =
> =
> =
> =
> ======================================================================
>
>
>
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project