Menu

#4 FTSimpleLayout advance raster pos

open
None
5
2010-05-23
2008-09-19
Anonymous
No

I like the rendering with FTSimpleLayout, but what I miss is an option to change properties of my text, for example color, halfway the text. I think a solution would be to advance the raster-position, so that you can render some text, change a few options and then render some more text starting from where your last text ended.

Discussion

  • Sam Hocevar

    Sam Hocevar - 2010-05-23
    • assigned_to: nobody --> sammy
     
  • Sam Hocevar

    Sam Hocevar - 2010-05-23

    How would you think about a callback system? Inserting control characters in your string, which, when seen by the renderer, cause it to execute the callback with relevant context information.

     

Log in to post a comment.