Author: matt
Date: 2010-10-30 09:32:04 -0700 (Sat, 30 Oct 2010)
New Revision: 7773
Log:
Added alternative names for Xft. On all Linux distors I tested, it makes no
difference. If there are Unixes that need other names, the ifdef should be
changed accordingly.
Modified:
branches/branch-1.3/src/fl_font_xft.cxx
Modified: branches/branch-1.3/src/fl_font_xft.cxx
===================================================================
--- branches/branch-1.3/src/fl_font_xft.cxx 2010-10-30 16:10:37 UTC (rev
7772)
+++ branches/branch-1.3/src/fl_font_xft.cxx 2010-10-30 16:32:04 UTC (rev
7773)
@@ -69,6 +69,7 @@
// The predefined fonts that FLTK has:
static Fl_Fontdesc built_in_table[] = {
+#if 1
{" sans"},
{"Bsans"},
{"Isans"},
@@ -84,7 +85,25 @@
{" symbol"},
{" screen"},
{"Bscreen"},
-{" dingbats"},
+{" zapf dingbats"},
+#else
+{" helvetica"},
+{"Bhelvetica"},
+{"Ihelvetica"},
+{"Phelvetica"},
+{" courier"},
+{"Bcourier"},
+{"Icourier"},
+{"Pcourier"},
+{" times"},
+{"Btimes"},
+{"Itimes"},
+{"Ptimes"},
+{" symbol"},
+{" lucidatypewriter"},
+{"Blucidatypewriter"},
+{" zapf dingbats"},
+#endif
};
Fl_Fontdesc* fl_fonts = built_in_table;
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit