U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » RichText,QTF,RTF... » Zooming font of RichText to the size of StdFont
Re: Zooming font of RichText to the size of StdFont [message #19677 is a reply to message #19666] Sun, 04 January 2009 15:07 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
No. Smile

If I remember well, it should be

Zoom(StdFont().GetHeight(), 100);

for the default font size, which is 100 dots (pixels).

Anyway, result still does not have to be perfect, because final height and requested height are two different things...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extracting StymeManager
Next Topic: RichTextLayoutTracer example improvement
Goto Forum:
  


Current Time: Thu Sep 17 21:37:36 GMT+2 2026

Total time taken to generate the page: 0.00811 seconds