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
Prompt with non-system dpi for text at first [message #23855 is a reply to message #19666] Fri, 27 November 2009 09:41 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
Hello.
On my system I have 108 dpi instead of 96 dpi by default for fonts.
When I use Prompt function before any TopWindow class in the GUI_APP_MAIN with following test case:
#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN
{
	Zoom z = GetRichTextStdScreenZoom();
	PromptOK(NFormat("This is a text with Zoom(%d, %d)", z.m, z.d));
	z = GetRichTextStdScreenZoom();
	PromptOK(NFormat("This is the same text with Zoom(%d, %d)", z.m, z.d));
}

I have non-system dpi at first activation of the Prompt function.
index.php?t=getfile&id=2013&private=0
index.php?t=getfile&id=2014&private=0
Before introduction of new Drawing system I didn't have this problem, because U++ application was used system dpi.
Current tested revision is 1724.

[Updated on: Fri, 27 November 2009 09:47]

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 08:59:05 CEST 2024

Total time taken to generate the page: 0.02471 seconds