Posted Monday, 15 September, 2008 - 08:19 by max0180
thanks.
but it didnt work.
printer.Draw("hello", font);
(TypeLoadException - Type OpenTK.Patform.GdiPus in Assembly OpenTK, Version..., Culture = neutral, PublicKeyToken = null could not be loaded)
Comments
Re: OpenTK.Fonts
Yes they work but there is no OpenTK.Fonts;
using OpenTK.Graphics;
.
.
ITextPrinter printer = new TextPrinter();
TextureFont font=new TextureFont(new Font(FontFamily.GenericSerif, 24.0f));
.
.
printer.Begin();
printer.Draw("Hello world", font);
printer.End();
.
.
Re: OpenTK.Fonts
thanks.
but it didnt work.
printer.Draw("hello", font);
(TypeLoadException - Type OpenTK.Patform.GdiPus in Assembly OpenTK, Version..., Culture = neutral, PublicKeyToken = null could not be loaded)
Ive got no idea?
Re: OpenTK.Fonts
ok i figured it out.
Ive forgotten to place all openTK.config files in this directory
Re: OpenTK.Fonts
Just to let you know that I'm working on a method to remove the need for dll.config files.