KAJed's picture

OpenTK Fonts... don't exist?

Forgive me if this has been addressed somewhere... but I'm a little confused.

Thus far I'm loving OpenTK. Using OpenGL and C# gets a huge thumbs up. However, it seems that all the of the OpenTK font assemblies and related classes don't exist in the most recent beta. Rather they exist in the project but nothing is being compiled or used (even the example is deffed out).

What's the deal? Am I missing something? Did the boat leave and I wasn't on it?


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Text-related stuff now resides in OpenTK.Compatibility.dll and will eventually be moved to a separate project. Seriously, high-quality, high-speed, cross-platform text rendering doesn't belong to a low-level library. (This stuff can get very complex very fast: imagine Firefox-level complexity only with real-time performance constraints).

KAJed's picture

Agreed, in a low level library it doesn't belong. It's just that it's a little confusing when everything says it's there but its not. I'm looking at the compatibility stuff now. I think the main annoyance is having to use using statements to avoid conflicts.

KAJed's picture

Oh I forgot to mention that when I tried to use the Compatibility stuff that it didn't work. It would complain about a bad TK dll when trying to draw with the font. Not sure the problem there?

the Fiddler's picture

Make sure OpenTK.dll and OpenTK.Compatibility.dll are the same version (open your bin folder and check the versions through windows explorer).