From b90f593ae6c6769a1244b5efebbcad3f469027ae Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 9 Sep 2004 00:55:41 +0000 Subject: News from FLTK1.1 and Quartz - listing fonts using ATS instead of QD - made bold and italic fonts work - returning correct font metrics One problem came up though: Quartz renders fonts at subpixel positions, which is great for the overall look, but unfortunatly 'fl_draw' supports only integer coordinates for printing. As a result, marking a line of text makes the rest of the line jump by a fractional pixel. Any suggestions to solve this problem are greatly appreciated! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Font.H | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Fl_Font.H') diff --git a/src/Fl_Font.H b/src/Fl_Font.H index bca85a1ea..4918f9f3f 100644 --- a/src/Fl_Font.H +++ b/src/Fl_Font.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Font.H,v 1.6.2.3.2.7 2004/08/26 00:18:42 matthiaswm Exp $" +// "$Id: Fl_Font.H,v 1.6.2.3.2.8 2004/09/09 00:55:41 matthiaswm Exp $" // // Font definitions for the Fast Light Tool Kit (FLTK). // @@ -57,7 +57,6 @@ public: short width[256]; bool knowMetrics; # elif defined(__APPLE_QUARTZ__) -#warning : minimal quartz, use ATS instead! FL_EXPORT Fl_FontSize(const char* fontname, int size); char *q_name; int size; @@ -102,5 +101,5 @@ FL_EXPORT char *fl_find_fontsize(char *name); #endif // -// End of "$Id: Fl_Font.H,v 1.6.2.3.2.7 2004/08/26 00:18:42 matthiaswm Exp $". +// End of "$Id: Fl_Font.H,v 1.6.2.3.2.8 2004/09/09 00:55:41 matthiaswm Exp $". // -- cgit v1.2.3