diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-01-22 18:44:13 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-01-22 18:44:13 +0100 |
| commit | 915ea80f4590280e431fb4ebbec0c6496b9a054e (patch) | |
| tree | 582a05863e70d0e88df50e313a80b5e7d717de70 /fltk_version.dat | |
| parent | 2bcfcc332d9a6bc121af102f5a5d5d9eba02b603 (diff) | |
Windows: replace "Arial" by "Microsoft Sans Serif" for the FL_HELVETICA font family
Users who need the old behavior for strict backwards compatibility under Windows can load the previous (Arial) font at program startup with only a few lines of code:
#ifdef _WIN32
// reset Windows fonts to pre-1.4.2 state
Fl::set_font(FL_HELVETICA, " Arial");
Fl::set_font(FL_HELVETICA + 1, "BArial");
Fl::set_font(FL_HELVETICA + 2, "IArial");
Fl::set_font(FL_HELVETICA + 3, "PArial");
#endif
Diffstat (limited to 'fltk_version.dat')
0 files changed, 0 insertions, 0 deletions
