DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L1899 Version: 1.1-current Maybe this can make it into rc3: Into gl_draw.cxx, line 228 (osx, quartz version), we call aglUseFont with a fixed "face" of 0 (default). This results in bold/italic variants being discarded on quartz. Apparently aglUseFont does not use the face style as specified into q_name. ATSUGetAttribute(style, kATSUQDBoldfaceTag, ... does not seem to return anything useful. A simple solution would be doing the same thing as we do on QD: prefix each font with its style (in fl_font_mac.cxx), then increment the name pointer in Fl_FontSize. Another solution would be some strstr: if(strstr(name, " Italic")) font |= italic; (and so on). I don't like either. Maybe there's some atsui trick I don't know. Link: http://www.fltk.org/str.php?L1899 Version: 1.1-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
