Auto-solved using
textattrs = [text.size.Huge]
How can I set an arbitrary size? e.g. textattrs = [text.size(10)]
Thanks
-a-
On 27 Jul 2006, at 21:09, andrea valle wrote:
> Hi Andre, Joerg
>
> In the following example
>
> On 26 Jul 2006, at 11:20, Joerg Lehmann wrote:
>>
>>
>> from pyx import *
>>
>> c = canvas.canvas()
>>
>> b1 = box.rect(0, 0, 1, 1, relcenter=[0.5, 0.5])
>> b2 = box.rect(4, 2, 1, 1, relcenter=[0.5, 0.5])
>>
>> c.stroke(connector.arc(b1, b2), [deco.text("P", angle=90)])
>>
>> c.writeEPSfile('test')
>>
>>
>
> How do I change font size for deco.text? I guess it's obvious but can't
> figure out
>
> Many thanks
>
> -a-
>
>
>
>
>
>> ----------------------------------------------------------------------
>> -
>> --
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys -- and earn
>> cash
>> http://www.techsay.com/default.php?
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> PyX-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/pyx-user
>>
>>
> Andrea Valle
> DAMS - Facoltà di Scienze della Formazione
> Università degli Studi di Torino
> http://www.semiotiche.it/andrea
> [EMAIL PROTECTED]
>
>
> -----------------------------------------------------------------------
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> PyX-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyx-user
>
>
Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user