| [ Return to Bugs & Features | Post Text | Post File | Prev | Next ]
STR #2242
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Cairo |
Summary: | Enable usage of FLTK fonts in cairo context (patch included) |
Version: | 1.4-feature |
Created By: | jakob |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]
Trouble Report Comments:
[ Post Text ]
|
#1 | jakob 04:57 Aug 21, 2009 |
| Currently in 1.3-svn there exist no way of matching cairo fonts with FLTK ones. Also the only platform independent way of using fonts in cairo context with FLTK is through the "toy" font api (which is only supposed to be used for simple testing according to official cairo docs)
In order to use text rendering with fltk-cairo I thus propose the method cairo_font_face_t* fl_cairo_font_reference(Fl_Font); which returns a reference to supplied FLTK font handle.
This also have the positive side effect of making cairo_test.cxx render identically on all three cairo platforms.
Patch with implementation for all platforms is attached and tested. | |
|
#2 | matt 12:55 Nov 14, 2010 |
| Not essential for the 1.3.0 release. Temporarily moved to 1.4 . | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |