JSUI: font styles, and doubleantialiasing


    Jul 11 2006 | 5:33 pm
    A couple of issues from deep in my JSUI bunker:
    i) Can I have a Sketch method for changing font style (regular, bold,
    italic etc.) as well as font face and size?
    ii) I noticed that, when I'm rendering text, it generally comes out
    rather fuzzy compared to what I'd see in another application. When I
    turn off fsaa in a Sketch, the characters look fine - and look
    antialiased. So I'm wondering whether a Sketch with fsaa=1 is
    actually antialiasing text *twice* (once from the text renderer, and
    once via fsaa)? If so, is there a workround? (An obvious plan would
    be to create a non-fsaa subsketch for text and copypixels() it to the
    main Sketch.)
    -- N.
    nick rothwell -- composition, systems, performance -- http://
    www.cassiel.com