Cambria Math big top and bottom margin

前端 未结 1 562
借酒劲吻你
借酒劲吻你 2020-12-19 08:12

I wanted to show some mathematical expressions in a winforms textbox. So I thought the \"Cambria Math\" font would be a good choice but the text looked strange due the high

相关标签:
1条回答
  • 2020-12-19 08:45

    Cambria Math uses Microsoft's mathematical OpenType extensions.

    Word 2007 and later understand these and display the text with reasonable spacing.

    However, notepad and Word 2000 display the text with enormous spacing, just like winforms. I guess the font has this much space by default because some characters (like U+2320, top half integral) are much larger than the alphanumerics.

    If you use Cambria Math with a font engine (such as the one used by winforms) that doesn't understand the math extensions, you're going to get the big spacing.

    If you're displaying simple expressions you might as well use Cambria.

    0 讨论(0)
提交回复
热议问题