| [ Return to Bugs & Features | Roadmap 1.3 | Post Text | Post File | SVN ⇄ GIT | Prev | Next ]
STR #2875
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 2 - Specific to an operating system |
Subsystem: | X11 |
Summary: | More general methods to select fonts with attributes BOLD/ITALIC (Patch supplied) |
Version: | 1.3-feature |
Created By: | chris |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]
Trouble Report Comments:
[ Post Text ]
|
#1 | chris 05:38 Oct 03, 2012 |
| As described in the thread "FL_BOLD/FL_ITALIC & Xft font sorting" in fltk.development on October 3rd 2012, the method used in FLTK to obtain a bold or italic font from a given font (OR'ing in a constant to fontnumber) does'nt work reliably for external fonts.
The supplied patch adds a few methods to do this in a more general way. It also changes Fl_Browser and Fl_Help_View, which currently use the unreliable way, making them work with all fonts. | |
|
#2 | greg.ercolano 15:15 Oct 28, 2017 |
| Hmm, this looks like a good code improvement.
I don't know much about the font system internals to weigh in, but I'll bet Ian/Manolo and possibly Albrecht might have some opinion on this.
Seems a better route to go.. | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |