Commit graph

14 commits

Author SHA1 Message Date
the_fiddler a20b8407a2 Fixed clipping issues with font layout.
Improved glyph loading speed.
Fixed text measurement.
2008-06-24 20:35:37 +00:00
the_fiddler f347036a6b Now use the new MeasureText function. 2008-06-24 18:29:02 +00:00
the_fiddler 768dd51e74 Corrected two while loops (they should have been plain if-statements, not loops). 2008-06-22 16:31:48 +00:00
the_fiddler f40073b1b9 Corrected a stupid error where MeasureCharacterRanges was called with incorrect parameters. 2008-06-22 16:31:00 +00:00
the_fiddler 4b47612234 Updated TextPrinter.PerformLayout to use the new GdiPlus-based MeasureCharacterRanges function. 2008-06-22 16:30:01 +00:00
the_fiddler 724296dc65 Removed unnecessary memory allocations.
Removed out-of-date comment.
2008-06-21 23:24:24 +00:00
the_fiddler c63102621f Added protected and public getters and setters to TextHandle. 2008-05-24 07:52:36 +00:00
the_fiddler b98fe61653 Allow the user to code his own ITextPrinterImplementation. 2008-05-24 07:47:30 +00:00
the_fiddler 47b0d1f0fe * TextPrinter.cs: Updated licensing information and fixed some spacing
problems.
2008-05-05 17:13:22 +00:00
the_fiddler d83a3ce6f9 Should only call GL.PopAttrib() once in TextPrinter.End() 2008-04-17 22:41:27 +00:00
the_fiddler 40b074179e Fixed dynamic text rendering when no text is precached at all. 2008-04-13 18:29:36 +00:00
the_fiddler d15062a6f5 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 1e397fcee5 Moved OpenTK.Fonts to OpenTK.Graphics namespace. 2008-03-08 14:38:10 +00:00
the_fiddler ca68971695 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)