the_fiddler
93b950ec22
Bumped version number.
2009-08-11 21:16:49 +00:00
the_fiddler
fbab14bb7a
Merged fix for issue [ #1089 ]: "TextPrinter is affected by TextureGen* and TextureEnvMode" from 0.9.8 branch.
2009-08-09 18:54:35 +00:00
the_fiddler
5408787be8
Updated version information.
2009-08-04 10:01:33 +00:00
the_fiddler
9806230a2e
Ported fix for bug [ #1005 ]: Using TextPrinterOptions.Default does not allow text to change color
2009-07-18 08:44:14 +00:00
the_fiddler
e8cf64a177
Added missing XML docs.
2009-06-28 10:49:10 +00:00
the_fiddler
df6671cb4a
Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace.
2009-06-25 11:42:05 +00:00
the_fiddler
36edcad914
Merged OpenTK.Compute from the cl branch.
...
Merged changes from the 0.9.8 branch.
Updated version numbers for 0.9.9 release.
2009-06-24 15:47:41 +00:00
the_fiddler
65500986a2
Applied GL1TextOutputProvider.Clear() fix from 0.9.8 branch.
2009-06-19 13:06:39 +00:00
the_fiddler
efdaf64476
GraphicsContext.GetCurrentContext now returns an IGraphicsContext instead of a GraphicsContext.
...
Fixed Texture2D finalizer.
Removed GraphicsContext.[Enter|Exit]BeginRegion(). GL.Begin|End now calls IGraphicsContext.ErrorChecking = false.
2009-06-04 10:34:12 +00:00
the_fiddler
043d79e26a
Mesa3d indirect reports bogus InvalidOperation error when using ListMode.CompileAndExecute (bug reported as https://bugs.freedesktop.org/show_bug.cgi?id=22014 ). Use ListMode.Compile as a workaround.
2009-05-31 15:48:05 +00:00
the_fiddler
7328c5c0af
Updated changelog, release notes and bumped version numbers in preparation for release.
2009-05-31 15:17:12 +00:00
the_fiddler
b6c81ee278
Added display list cache to GL1TextOutputProvider. This change improves peak TextPrinter speed by more than 10x (1.6M glyphs per second as measured on a 1.8GHz Core 2 with a 8400M card). We still need a cache eviction strategy.
...
Modified ITextOutputProvider interface to pass TextBlocks by reference.
2009-05-31 10:12:41 +00:00
the_fiddler
88f1ce081f
Do not render text that doesn't fit inside the clip rectangle. Fixes bug [ #847 ]: "TextPrinter layout when width, height are zero." ( http://www.opentk.com/node/847 ).
2009-05-30 17:58:41 +00:00
the_fiddler
2fd79b720e
Added workaround for broken Mono GDI+ text offset.
...
Commented-out unused code.
2009-05-30 17:35:42 +00:00
the_fiddler
deadbdf6cb
Merged TextPrinter optimization changes from gw-next2 branch.
2009-05-27 18:40:29 +00:00
the_fiddler
5cb476942a
Fixed a large number of XML documentation warnings.
2009-05-17 15:06:26 +00:00
the_fiddler
a7ce3c0c4e
Use managed Stack<Matrix4> instead of the OpenGL matrix stack, as the latter may be broken in some driver implementations (e.g. S3 graphics twister).
2009-05-11 10:32:15 +00:00
the_fiddler
466e4af8f5
Use rgba textures instead of alpha on SavagePro/Twister renderers. Workaround for bug [ #833 ] "TextPrinter problem" ( http://www.opentk.com/node/833 ).
2009-05-07 10:38:05 +00:00
the_fiddler
c62f510927
Reset texture matrix in GL1TextOutputProvider .Begin() and restore in GL1TextOutputProvider .End(). Fixes bug [ #810 ] "Bad texture matrix in TextPrinter" ( http://www.opentk.com/node/810 )).
2009-05-05 20:13:21 +00:00
the_fiddler
bae796307d
Updated version numbers and documentation for the 0.9.6 release.
2009-03-25 22:46:31 +00:00
the_fiddler
48ad1cad60
* Fonts/IFont.cs: marked as obsolete.
2009-03-25 21:49:52 +00:00
the_fiddler
87c04d5bfc
Prepare for 0.9.4 release.
2009-03-01 09:55:22 +00:00
the_fiddler
74d5fc8f40
Fixed GL1.1 fallback when GL.BlendColor is not supported.
2009-02-28 22:33:30 +00:00
the_fiddler
a3d1902ab2
Bumped version number to 0.9.3.
2009-02-22 16:25:45 +00:00
the_fiddler
6678fe52c3
Removed an unused Bitmap reference.
2009-02-22 12:12:16 +00:00
the_fiddler
69b17fa43f
Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files.
2009-02-22 10:43:35 +00:00
the_fiddler
60d79fa297
Removed invalid space from the GdiPlusGlyphRasterizer.cs filename.
2009-02-22 09:44:10 +00:00
the_fiddler
18a6ad3247
Applied rdrake's patch:
...
* fixes output with TextQuality.High and a non-white current color.
* pushes/pops CurrentBit attribute when rendering text.
2009-02-14 08:12:14 +00:00
the_fiddler
db690b144f
Merged text branch and updated changelog.
2009-02-13 19:09:38 +00:00
the_fiddler
dbfe063aee
Prevent LoadGlyph from thrashing the PixelStore attribute.
2008-11-19 18:00:28 +00:00
the_fiddler
ebc25d1660
Fixed handling of multiple newlines.
...
Removed unused code.
2008-11-18 19:27:26 +00:00
the_fiddler
d605db520f
Fall back to Clamp, if ClampToEdge is not supported.
2008-11-18 12:44:52 +00:00
the_fiddler
39d1bea45f
Removed debug print statements.
2008-11-14 00:09:47 +00:00
the_fiddler
6c43fdb8c2
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
23c4dac622
General cleanup:
...
Glyph is now a struct.
Code layout follows OpenTK format.
Added missing doc-strings.
2008-07-04 19:23:12 +00:00
the_fiddler
28f0a59249
Removed two warnings.
2008-07-04 16:41:17 +00:00
the_fiddler
1e6a61e1e1
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
097e3f37db
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
c230cfa3b2
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
a20b8407a2
Fixed clipping issues with font layout.
...
Improved glyph loading speed.
Fixed text measurement.
2008-06-24 20:35:37 +00:00
the_fiddler
8d0e358569
Added a region directive to conform to OpenTK standards.
2008-06-24 18:29:11 +00:00
the_fiddler
f347036a6b
Now use the new MeasureText function.
2008-06-24 18:29:02 +00:00
the_fiddler
f2ac359999
Renamed MeasureCharacterRanges to MeasureText.
...
Sped up MeasureText.
Added MeasureText overloads.
Obsoleted MeasureString function.
2008-06-24 18:27:51 +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
314bec1c66
Implemented MeasureCharacterRanges function using the new GdiPlus bindings.
2008-06-22 16:29:13 +00:00
the_fiddler
724296dc65
Removed unnecessary memory allocations.
...
Removed out-of-date comment.
2008-06-21 23:24:24 +00:00
the_fiddler
71fda048a6
Improved code layout. Added #region directives.
2008-06-21 23:23:33 +00:00
the_fiddler
da15592dd4
Fixed some code-style issues.
2008-06-21 20:46:31 +00:00