Hi!
I don't know - that code is not executed in our application.
I'd expect font sizes to be in Points anyway.
You could replace the code (in XFont.cs)
Code:
if (font.Unit != GraphicsUnit.World)
throw new ArgumentException("Font must use GraphicsUnit.World.");
with the following
Code:
if (font.Unit != GraphicsUnit.World && font.Unit != GraphicsUnit.Point)
throw new ArgumentException("Font must use GraphicsUnit.World or GraphicsUnit.Point.");
and see what happens.
Maybe it'll work, maybe the line
Code:
this.size = font.Size;
requires some modification.
I think it'll work.
Please let us know whether it works or not (if it does, this change will be included with the next release).