summaryrefslogtreecommitdiff
path: root/src/Fl_PostScript.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-02-16 15:17:01 +0000
committerManolo Gouy <Manolo>2011-02-16 15:17:01 +0000
commit162895ad571db9b20c15e13f8869583d49aa13b8 (patch)
treef5b733c8fa17441afdf3fd633e8890da6bd548c3 /src/Fl_PostScript.cxx
parent3adac027c4201b37881f248b30428810f5336638 (diff)
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
Diffstat (limited to 'src/Fl_PostScript.cxx')
-rw-r--r--src/Fl_PostScript.cxx3
1 files changed, 0 insertions, 3 deletions
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();