L
Lloyd Dupont
I am using LOGFONT definition from here:
http://www.pinvoke.net/default.aspx/Structures/LOGFONT.html
I get my LOGFONT with
myFont.ToLogFont(lf);
a bit later I attempt to recreate the same font with:
Font.FromLogFont(lf);
And what is then is:
if I get the LOGFONT again (with previous call) it shows me the value I
expect, however the drawing on screen done with some default font instead of
the one I expect.
Even more strange, if I open the FontDialog and set my font, it's not
selected!
http://www.pinvoke.net/default.aspx/Structures/LOGFONT.html
I get my LOGFONT with
myFont.ToLogFont(lf);
a bit later I attempt to recreate the same font with:
Font.FromLogFont(lf);
And what is then is:
if I get the LOGFONT again (with previous call) it shows me the value I
expect, however the drawing on screen done with some default font instead of
the one I expect.
Even more strange, if I open the FontDialog and set my font, it's not
selected!