开发者

Get single glyph metrics (.net)

How can I get full information about single glyph from choosen font (for example Arial -> symbol "A")

This picture descri开发者_StackOverflow中文版be what variables I need to find:

Get single glyph metrics (.net)


You can start with the FontFamily class.

and this CP article http://www.codeproject.com/KB/GDI-plus/ExtendedGraphicsII.aspx


I don't think FontFamily will give any information about a particular glyph, but the DirectWrite interface might work: (I haven't used it yet)

  • Glyphs and Glyph Runs
  • IDWriteFontFace::GetGlyphIndices
  • IDWriteFontFace::GetDesignGlyphMetrics
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜