james_lohr's picture

QuickFont - Text Printing and Font Generation Library 1.0.2-final

Download: QuickFont_1.0.2_0.zip
Size: 1.52 MB
md5_file hash: f6f0fab06d9ff481fb6bf1e37b5d6b05
First released: 15 August, 2012 - 19:37
Last updated: 15 August, 2012 - 19:36

=========================== 1.0.2 ===========================

[Bug Fixes]

  • When TransformToViewport is enabled for a font, but QFont.Begin/End are not called, the font will now be rendered at the correct size
  • Measuring text no longer sets the color and binds the texture, nor does it set a blend function
  • Reload() method added for reloading a qfont objects. This is useful when using pixel-perfect fonts which need to be regenerated when changing the screen resolution.
  • QFont now correctly implements IDisposable correctly. Note: QFont objects should be explicitly exposed by the application if it required that the underlying OpenGL textures be freed during runtime.

[API Changes]

  • Removed QFont.RefreshViewport(). In its place, the following have been added which add additional functionality and flexibility:
  • Added QFont.InvalidateViewport() - Invalidates the viewport cached by QFont, causing it to be read again on the next QFont.Begin()
  • Added QFont.ForceViewportRefresh() - Forces QFont to refesh its cached viewport immediately
  • Added QFont.PushSoftwareViewport(Viewport viewport) - Pushes a Viewport defined by the application. This is faster than InvalidateViewport() / ForceViewportRefresh() and allows you to render to an FBO with a viewport different to that of the screen.
  • Added QFont.PopSoftwareViewport()