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 » RichText,QTF,RTF... » how get font height
Re: how get font height [message #22219 is a reply to message #22205] Thu, 25 June 2009 09:55 Go to previous messageGo to previous message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
i'm afraid i'm still totally confused.
though you answered the relationship between screen and print, points and dots, you still did not mention why Arial(20) makes it fit, and what unit this 20 is in.
I tried RichTextView a; a.SetQTF(str); ...linkSize=a.GetHeight(123/* this value seems to affect nothing*/) //now this value is over 800!while former Arial(20) line gave me 24.
Don't know how to use GetRichTextStdScreenZoom otherwise. I tested 1000/GetRichTextStdScreenZoom() and got over 5300.
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: Inserting text into the current cursor position
Next Topic: Font alignment issues
Goto Forum:
  


Current Time: Sun May 12 13:00:13 CEST 2024

Total time taken to generate the page: 0.01788 seconds