Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Convert upp Font size to LOGFONT size
Re: Convert upp Font size to LOGFONT size [message #15184 is a reply to message #15162] Tue, 08 April 2008 05:18 Go to previous messageGo to previous message
mobilehunter is currently offline  mobilehunter
Messages: 87
Registered: November 2006
Member
I got this formula from MSDN
fontHeight=-MulDiv(DotToPt(formatinfo.GetHeight()), GetDeviceCaps(hdc, LOGPIXELSY), 72);


I just compared the UWord and WordPad for the font size using visual cues only, bad comparison though:).
It seems font size inside UWord bigger than WordPad. I compared using english alphabet.

I also compared the character inside WordPad with character inside UWord's IME window, both have the same size.

[Updated on: Tue, 08 April 2008 08:17]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: What about "::" in LoadIniFile?
Next Topic: [BUG] CommandLine() returns non-unicode arguments
Goto Forum:
  


Current Time: Mon May 13 22:52:06 CEST 2024

Total time taken to generate the page: 0.01808 seconds