Commit graph

14 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
486a3cf645 Use StringFormat.GenericDefault when loading glyphs, to account for overhangs (especially visible in e.g. italics).
Remove an unused variable in MeasureText.
2008-07-01 18:50:49 +00:00
the_fiddler
ee34df5b16 Reverted StringFormat.GenericDefault change.
Explicitly specified StringFormat.GenericTypographic when rasterizing glyphs, to avoid mismatch between rasterization and measuring.
2008-06-29 10:56:51 +00:00
the_fiddler
d7173edb60 Use GenericDefault instead of GenericTypographic for MeasureCharacterRanges, in order to correctly calculate the bounding boxes of glyphs and strings. 2008-06-28 17:44:24 +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
c0803a2e03 Renamed MeasureCharacterRanges to MeasureText.
Sped up MeasureText.
Added MeasureText overloads.
Obsoleted MeasureString function.
2008-06-24 18:27:51 +00:00
the_fiddler
6801dc3e94 Implemented MeasureCharacterRanges function using the new GdiPlus bindings. 2008-06-22 16:29:13 +00:00
the_fiddler
80020a02f1 Improved code layout. Added #region directives. 2008-06-21 23:23:33 +00:00
the_fiddler
bf8a555bc9 Fixed some code-style issues. 2008-06-21 20:46:31 +00:00
the_fiddler
57b097f7d0 Moved OpenTK.Graphics.OpenGL to OpenTK.Graphics. 2008-04-13 16:45:56 +00:00
the_fiddler
5ff51ba9fe Moved OpenTK.OpenAL to OpenTK.Audio.
Added SoundReader class.
Added OpenTK.Math.Functions.NextPowerOfTwo 
Fixed several AL functions, and added overloads to AL.BufferData.
Added OpenAL wave playback sample.
2008-04-04 19:46:08 +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/TextureFont.cs (Browse further)