From 162895ad571db9b20c15e13f8869583d49aa13b8 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 16 Feb 2011 15:17:01 +0000 Subject: Improved calculation of text width and height when using the PostScript graphics context under Mac OS and MSWindows. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8438 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_PostScript.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/Fl_PostScript.cxx') diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx index 5cb5fc3bf..e763b187b 100644 --- a/src/Fl_PostScript.cxx +++ b/src/Fl_PostScript.cxx @@ -1038,9 +1038,6 @@ static void transformed_draw_extra(const char* str, int n, double x, double y, i #endif fl_font(fontnum, (Fl_Fontsize)(scale * old_size) ); fl_draw(str, n, 1, (int)(h * 0.8) ); // draw string in offscreen -#ifdef WIN32 - fl_font(0, FL_NORMAL_SIZE); // TODO: find something better -#endif // read (most of) the offscreen image uchar *img = fl_read_image(NULL, 1, 1, w, h, 0); fl_end_offscreen(); -- cgit v1.2.3