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... » Zooming font of RichText to the size of StdFont
Re: Prompt with non-system dpi for text at first [message #23959 is a reply to message #23870] Thu, 10 December 2009 15:52 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
luzr wrote on Sun, 29 November 2009 23:31

Thank you for reporting the problem.

I believe even better solution is to put Csizeinit call to GUI_APP_MAIN.

Thank you for your solution.

Considering new topic I propose following modified solution:
- Make public static SizeInit function to call inlined Csizeinit function.
- Use created SizeInit function in the CtrlCore/Win32Wnd.cpp::InitWin32, CtrlCore/X11App.cpp::InitX11 functions.

Normal diff for 1796 revision:
File: CtrlCore\Ctrl.cpp
770a771,775
> void Ctrl::SizeInit()
> {
> 	Csizeinit();
> }
> 

File: CtrlCore\CtrlCore.h
1328a1329,1330
> 	
> 	static void SizeInit();

File: CtrlCore\Win32Wnd.cpp
288c288
< 	Csizeinit();
---
> 	SizeInit();

File: CtrlCore\X11App.cpp
429c429
< 	Csizeinit();
---
> 	SizeInit();

[Updated on: Thu, 10 December 2009 16:13]

Report message to a moderator

 
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: Tue May 14 07:39:24 CEST 2024

Total time taken to generate the page: 0.02787 seconds