Moved Quartz OS X fonts half a pixel up.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2006-08-19 19:20:56 +00:00
parent 86e2fa621a
commit dadcbb61b3
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ void fl_draw(const char* str, int n, int x, int y) {
MoveTo(x, y); MoveTo(x, y);
DrawText((const char *)str, 0, n); DrawText((const char *)str, 0, n);
#elif defined(__APPLE_QUARTZ__) #elif defined(__APPLE_QUARTZ__)
fl_draw(str, n, (float)x, (float)y); fl_draw(str, n, (float)x-0.0f, (float)y-0.5f);
#else #else
# error : neither Quartz no Quickdraw chosen # error : neither Quartz no Quickdraw chosen
#endif #endif