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 » Draw, Display, Images, Bitmaps, Icons » Bug in DrawText and Font issue
Re: Bug in DrawText and Font issue [message #13225 is a reply to message #13218] Sun, 23 December 2007 18:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Werner wrote on Sat, 22 December 2007 16:02

luzr wrote on Sat, 22 December 2007 17:13

Well, where can I get ZapfDingbats?

Mirek


I'm terribly sorry. Although I'm very sure that I got these fonts together with a (legally!) free application I can't tell with which one. And I can't send you these fonts as they are copyrighted.

So I'll try my best to debug the program myself hoping to trap the problem.

Any hint where to look and what to look for would be appreciated.

Anyway - thanks for being willing to help me.

Werner



Draw/DrawTextWin32. My guess this is some encoding problem; there are some weird things about symbol fonts.

That said, I am not 100% happy with current code either; it really does strange things.

BTW, here is some useful code (I have made to test this issue):

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN
{
	ArrayCtrl a;
	a.AddColumn("Font");
	a.AddColumn("View");
	for(int i = 0; i < Font::GetFaceCount(); i++)
		a.Add(Font::GetFaceName(i), AttrText("Just a test!").SetFont(Font(i, 20)));
	a.SetLineCy(24);
	TopWindow app;
	app.Add(a.SizePos());
	app.Run();
}


Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Antialiasing for lines
Next Topic: Image into a polimorphic array
Goto Forum:
  


Current Time: Tue May 14 20:44:05 CEST 2024

Total time taken to generate the page: 0.02383 seconds