[visionegg] Re: Text() and fontsize

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
>

Other related posts: