Changing the size of a font

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

Changing the size of a font

Alexandre Bergel-4
Hi All,

Is there a not-so-slow way to change programmatically the size of a  
font?
I tried 'TextStyle defaultFont pointSize: 8', but I have no idea what  
pointSize really does.
It has to do with the real font.

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
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: Changing the size of a font

Damien Cassou
http://code.google.com/p/pharo/wiki/CodeSnippets

On Tue, Mar 31, 2009 at 10:05 PM, Alexandre Bergel
<[hidden email]> wrote:

> Hi All,
>
> Is there a not-so-slow way to change programmatically the size of a
> font?
> I tried 'TextStyle defaultFont pointSize: 8', but I have no idea what
> pointSize really does.
> It has to do with the real font.
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



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

_______________________________________________
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: Changing the size of a font

Stéphane Ducasse
you see damien :)


On Apr 1, 2009, at 8:26 AM, Damien Cassou wrote:

> http://code.google.com/p/pharo/wiki/CodeSnippets
>
> On Tue, Mar 31, 2009 at 10:05 PM, Alexandre Bergel
> <[hidden email]> wrote:
>> Hi All,
>>
>> Is there a not-so-slow way to change programmatically the size of a
>> font?
>> I tried 'TextStyle defaultFont pointSize: 8', but I have no idea what
>> pointSize really does.
>> It has to do with the real font.
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> _______________________________________________
> 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: Changing the size of a font

Damien Cassou
On Wed, Apr 1, 2009 at 11:24 AM, Stéphane Ducasse
<[hidden email]> wrote:
> you see damien :)

that's why you are a Professor and I'm a student ;-)

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

_______________________________________________
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: Changing the size of a font

Stéphane Ducasse
>>
> that's why you are a Professor and I'm a student ;-)

Ok luke.
I just know that I feel stupid when I do not know something
and that this is cool to collect these snippets :)

Stef


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