freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] Generating Windows text metrics


From: Tony Smith
Subject: [ft-devel] Generating Windows text metrics
Date: Wed, 23 Jan 2013 08:47:56 -0000

In the Windows API function ::CreateFont the height can be passed in two ways.

A negative height gives metrics for fit to a character height and a positive heights means fit to a cell height.

Here is the MSDN page for some more details.

http://msdn.microsoft.com/en-gb/library/windows/desktop/dd183499%28v=vs.85%29.aspx

 

Can Freetype also generate text metrics for both fit to character height and fit to cell height?

I'm interested in metrics such as tmAscent, tmDescent and, tmInternalLeading for both cases.

 

Regards Tony Smith

 

 

This e-mail message has been scanned and cleared by Postini / Google Message Security and the UNICOM Global security systems. This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]