Commit graph

16 commits

Author SHA1 Message Date
the_fiddler 44044ea415 Removed debug print statements. 2008-11-14 00:09:47 +00:00
the_fiddler 912e5c873e Whitespace is now ignored when rendering text (slight performance improvement).
Text now split into lines before measuring, to avoid buggy Mono GDI+ implementation.
Pixel unpack attribute is now used optimize glyph uploading.
Added ClampToEdge attribute to the font sheet.
2008-11-14 00:00:54 +00:00
the_fiddler 856551e212 Fixed clipping issues with font layout.
Improved glyph loading speed.
Fixed text measurement.
2008-06-24 20:35:37 +00:00
the_fiddler a52666d9e6 Now use the new MeasureText function. 2008-06-24 18:29:02 +00:00
the_fiddler 3e6a2e4e9b Corrected two while loops (they should have been plain if-statements, not loops). 2008-06-22 16:31:48 +00:00
the_fiddler 426cb6432d Corrected a stupid error where MeasureCharacterRanges was called with incorrect parameters. 2008-06-22 16:31:00 +00:00
the_fiddler 8e4287b46e Updated TextPrinter.PerformLayout to use the new GdiPlus-based MeasureCharacterRanges function. 2008-06-22 16:30:01 +00:00
the_fiddler fa0e5ee0d0 Removed unnecessary memory allocations.
Removed out-of-date comment.
2008-06-21 23:24:24 +00:00
the_fiddler 84d1a13355 Added protected and public getters and setters to TextHandle. 2008-05-24 07:52:36 +00:00
the_fiddler 6ce200cdae Allow the user to code his own ITextPrinterImplementation. 2008-05-24 07:47:30 +00:00
the_fiddler 7920b65ac4 * TextPrinter.cs: Updated licensing information and fixed some spacing
problems.
2008-05-05 17:13:22 +00:00
the_fiddler d154c7fe0b Should only call GL.PopAttrib() once in TextPrinter.End() 2008-04-17 22:41:27 +00:00
the_fiddler 4eca16d79f Fixed dynamic text rendering when no text is precached at all. 2008-04-13 18:29:36 +00:00
the_fiddler 9d1f1ecc4c Push/Pop AttribMask.ColorBufferBit in TextPrinter.Begin/End
float[] viewport should have 4 members, not 6.
2008-03-13 09:34:09 +00:00
the_fiddler ef16a9d296 Moved OpenTK.Fonts to OpenTK.Graphics namespace. 2008-03-08 14:38:10 +00:00
the_fiddler 7751c07e6f Moved OpenTK.Fonts to from OpenTK OpenTK.Utilities.
Added OpenTK.Utilities.dll reference to Examples.
Moved assembly-level attributes from GameWindow.cs to Configuration.cs.
2008-03-08 14:06:59 +00:00
Renamed from Source/OpenTK/Fonts/TextPrinter.cs (Browse further)