Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4 FTSimpleLayout advance raster pos

open
Sam Hocevar
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.