diff options
| author | Manolo Gouy <Manolo> | 2011-01-24 20:05:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-24 20:05:34 +0000 |
| commit | e3a96057c11c715e61f4b2fe1f29d9a11d1fff26 (patch) | |
| tree | 642c33a3fbd532b5b56bada7615e8e0994f13a61 /src/Fl_Font.H | |
| parent | 5824eb4eb955815e2012774836ffd33fad622411 (diff) | |
Fix STR #2530 (Mac OS only)-continued. Use 512 blocks of 128 character widths
(instead of 256x256) because this reduces greatly the opening time of windows
with several new fonts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Font.H')
| -rw-r--r-- | src/Fl_Font.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Font.H b/src/Fl_Font.H index 75478b626..950d2e3b0 100644 --- a/src/Fl_Font.H +++ b/src/Fl_Font.H @@ -63,8 +63,8 @@ public: ATSUTextLayout layout; # if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 CTFontRef fontref; - // the unicode span is divided in 256 blocks of 256 characters - float *width[256]; // array of arrays of character widths + // the unicode span is divided in 512 blocks of 128 characters + float *width[512]; // array of arrays of character widths # endif ATSUStyle style; short ascent, descent, q_width; |
