|
|
@MoAlyousef Your test program misses to set a font. This results in undefined behavior.
Please add something like fl_font(FL_HELVETICA, 16); before your fl_draw() call. This should fix the issue (it does for me).
Is this a specific issue of the test program (missing fl_font()), or is this the case in the original program?
That said:
- I wonder why it works with string sizes other than 1 (maybe because of 1-byte-string (width) caching?)
- for me the original test program crashes with or w/o using Pango (using Xft)
- I wonder why the crash dump shows the file
src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_xft.cxx whose name indicates that it should be used with xft (and not with Pango?). I could check this myself but I'm currently busy with other stuff, sorry.
Points 1 and 3 may be something for @ManoloFLTK. Manolo?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
[ Direct Link to Message ] | |
|
| |