| [ Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]
STR #3243
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Documentation |
Summary: | Doc changes: setting fl_font before calling fl_measure() |
Version: | 1.3-current |
Created By: | engelsman |
Assigned To: | AlbrechtS |
Fix Version: | 1.3.4 (SVN: v11847) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | engelsman 08:53 Jul 29, 2015 |
| fl_measure() appears in several places in the docs, but not every one mentions the need to set the current font using fl_font(), and that fl_measure() might return unexpected values, even zero.
This patch addresses some of these places but might need extra work to include similar warnings for fl_text_extents(). | |
|
#2 | AlbrechtS 02:02 Jul 24, 2016 |
| Fixed in Subversion repository.
Fixed in branch-1.3-porting as well (r 11848).
Thanks for the patch.
Closing this STR now. Please feel free to open another STR with other changes for fl_text_extents(). | |
[ Return to Bugs & Features ]
|
| |