Home » U++ Library support » U++ Library : Other (not classified elsewhere) » different compiler produces different look? [SOLVED]
different compiler produces different look? [SOLVED] [message #5913] |
Tue, 24 October 2006 17:26 |
|
forlano
Messages: 1189 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
Hello,
this is what I see with MSC8
and this is what I see with mingw
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
|
|
|
Goto Forum:
Current Time: Sat Jun 08 09:33:25 CEST 2024
Total time taken to generate the page: 0.02076 seconds
|