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 » U++ Library : Other (not classified elsewhere) » different compiler produces different look? [SOLVED]
BugFixedDead.gif  different compiler produces different look? [SOLVED] [message #5913] Tue, 24 October 2006 17:26 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

this is what I see with MSC8

index.php?t=getfile&id=307&private=0

and this is what I see with mingw

index.php?t=getfile&id=308&private=0

I used Display to set the appearence of some columns. The same program show differently the same Courier font depending by the compiler. Is this normal?

Luigi


struct FontDisplay : Display {
	virtual void Paint(Draw& w, const Rect& r, const Value& q,
		               Color ink, Color paper, dword style) const
	{		
		Font fnt = Courier(14); //Font(q, r.Height() - 2);
		String txt = AsString(q);
	 	w.DrawRect(r, paper);
		w.DrawText(r.left + 2, r.top + (r.Height() - GetTextSize(txt, fnt).cy) / 2, txt, fnt, ink); 
		//w.DrawText(r.left + 2+1, r.top + (r.Height() - GetTextSize(txt, fnt).cy) / 2, txt, fnt, ink); 
	}
};

[Updated on: Wed, 25 October 2006 15:43]

Report message to a moderator

 
Read Message BugFixedDead.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Export U++ project to Visual Studio
Next Topic: Topic and tpp files: are they compiled?
Goto Forum:
  


Current Time: Tue May 14 08:08:34 CEST 2024

Total time taken to generate the page: 0.02658 seconds