15 return points * 96 / 72;
31 styleName +=
" Italic";
33 return "fonts/" + fontName + styleName +
".ttf";
static string GetFontPath(string fontName, FontStyle style)
Build the path of a font in the database given the name of the font family and the font style...
SharpDX.DirectWrite.Font Font
static float PointsToPixels(float points)
Converts a font size from points to pixels. Can't just let GDI+ do this for us, because we want ident...