[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Hi!
Korval (from allegro.cc) found a bug in TTF2PCX which would explain why it
didn't work under Win2k.
I can confirm that his fix works. I have also supplied a patch.
Details here:
http://www.allegro.cc/ubb-bin/ultimatebb.cgi?ubb=get_topic&f=6&t=000072
--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (my CS prof)
http://pages.infinit.net/voidstar/
--- \temp\ttf2pcx\character.cpp Mon Mar 15 16:40:26 1999
+++ character.cpp Fri Feb 15 09:21:28 2002
@@ -64,7 +64,7 @@
CBitmap *oldbmp = cdc.SelectObject(bmp);
cdc.FillSolidRect(0, 0, size.cx*2, size.cy, 0);
- cdc.SetTextColor(0xFFFFFFFF);
+ cdc.SetTextColor(RGB(255, 255, 255));
TextOutW(cdc.m_hDC, 0, 0, s, 1);
cdc.SelectObject(oldbmp);