Windows font Display knowledge

Source: Internet
Author: User
Tags textout


Windwos font display, using the textmetric structure to store the font of each display field. Baseline generally by ascent

calculations. The height of the font includes ascent and descent. To calculate the body font, you can use

Height, you can also use the value of the height+external leading. External Leading is

font Designer design, in order to give the upper and lower lines between Leave a space. But some text input functions

(such as: Textout/drawtext), the External leading is not considered at output.

Span style= "Color:rgb (48,48,48); font-family: ' Segoe UI ', Segoe,candara,arial,sans-serif; font-size:18px; line-height:30px "> can be used exttextout   replaces TextOut. In addition, when the programmer is designing the program,

You can also design your own line structure to control above and below gap values.




Windows font Display knowledge

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.