From e4f645d60f6cc6197674f913bd52b4032c91aa45 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 28 Apr 2015 13:30:12 +0000 Subject: Changed the fonts used for the FL_COURIER font family on the Mac. It used to be 'Courier New' that was judged too thin. 'Courier' will be used now. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10722 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 2 ++ src/fl_font_mac.cxx | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGES b/CHANGES index f6e03e89e..7637cb52a 100644 --- a/CHANGES +++ b/CHANGES @@ -34,6 +34,8 @@ CHANGES IN FLTK 1.3.4 RELEASED: ??? ?? ???? (lpr/lpq) when SystemV-style commands (lp/lpstat) are not available. - Drawing alpha-blended images under X11 is now accelerated with Xrender. + - The fonts used for the FL_COURIER font family was changed on the Mac OS X + platform from 'Courier New' to 'Courier' because it was too thin. Bug fixes diff --git a/src/fl_font_mac.cxx b/src/fl_font_mac.cxx index 895eef826..0a741a7de 100644 --- a/src/fl_font_mac.cxx +++ b/src/fl_font_mac.cxx @@ -182,10 +182,10 @@ static Fl_Fontdesc built_in_table_PS[] = { // PostScript font names preferred wh {"Arial-BoldMT"}, {"Arial-ItalicMT"}, {"Arial-BoldItalicMT"}, -{"CourierNewPSMT"}, -{"CourierNewPS-BoldMT"}, -{"CourierNewPS-ItalicMT"}, -{"CourierNewPS-BoldItalicMT"}, +{"Courier"}, +{"Courier-Bold"}, +{"Courier-Oblique"}, +{"Courier-BoldOblique"}, {"TimesNewRomanPSMT"}, {"TimesNewRomanPS-BoldMT"}, {"TimesNewRomanPS-ItalicMT"}, @@ -202,8 +202,8 @@ static Fl_Fontdesc built_in_table_full[] = { // full font names used before 10.5 {"Arial Bold"}, {"Arial Italic"}, {"Arial Bold Italic"}, - {"Courier New"}, - {"Courier New Bold"}, + {"Courier"}, + {"Courier Bold"}, {"Courier New Italic"}, {"Courier New Bold Italic"}, {"Times New Roman"}, -- cgit v1.2.3