[visionegg] Re: Text() and fontsize
- From: Simeon Fitch <simeon.fitch@xxxxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Fri, 3 Feb 2006 16:08:27 -0500
When I use the "font_size" property of the Text class, I get a different
font size (but can't get italics to work). E.g.:
text = VisionEgg.Text.Text(
position=(margin[0], y-50),
font_size=20,
text="Here is some text")
text.font.set_italic(True) # This doesn't work :-(
stimuli.append(text)
Is this the type of text you are talking about?
On 2/3/06, Douglas Taylor <dtaylor@xxxxxxx> wrote:
>
> Hi All,
>
> Is there a way to programatically change the font size.
> I tried ignore_size_parameter = False and changed the size
> parameter but this did not give good results. I ended up
> changing fontsize in the Text.py file but then I would like to
> change it back without editing the file again. Thanks much,
>
> Doug
>
>
> ======================================
> The Vision Egg mailing list
> Archives: http://www.freelists.org/archives/visionegg
> Website: http://www.visionegg.org/mailinglist.html
>
- Follow-Ups:
- [visionegg] Re: Text() and fontsize
- From: Douglas Taylor
- References:
- [visionegg] Text() and fontsize
- From: Douglas Taylor
Other related posts:
- » [visionegg] Text() and fontsize
- » [visionegg] Re: Text() and fontsize
- » [visionegg] Re: Text() and fontsize
- [visionegg] Re: Text() and fontsize
- From: Douglas Taylor
- [visionegg] Text() and fontsize
- From: Douglas Taylor