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

Home » U++ Library support » RichText,QTF,RTF... » Bad text quality problem in Qtf
Re: Bad text quality problem in Qtf [message #24522 is a reply to message #24509] Fri, 22 January 2010 09:32 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3460
Registered: August 2008
Senior Veteran
Hello all

I have included the simplest sample of the problem.

If you run it it gets the text bad rendered.

If you just remove Painter package, it renders the text right.

Best regards
Koldo
#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN
{
	ImageDraw idw(1200, 600);
	idw.DrawRect(0, 0, 1200, 600, White);
	idw.DrawText(0, 0, "(Hello)", Serif(400));
	
	DrawingDraw dw(350, 250);
	dw.DrawImage(0, 0, 350, 250, idw);
	QtfRichObject pict(CreateDrawingObject(dw.GetResult(), Size(350, 250), Size(350, 250)));

	PromptOK(String("[A5 Rendering problem: ") + pict.ToString());
}


Best regards
IƱaki
 
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
Read Message
Previous Topic: UWord and Windows fole association
Next Topic: Default font and fontsize in RichEdit
Goto Forum:
  


Current Time: Thu Jun 11 21:05:11 GMT+2 2026

Total time taken to generate the page: 0.00581 seconds