Description of the Bug Report
It seems nanosvg, which FLTK uses internally, does not rasterize some images correctly. Seems to have a problem with a monochrome .svg.
The resulting file will have a nice RGBA image in the button.
Change main.cpp for the "broken.svg".
Compile again.
The button will have no svg image. It should display an "A" image.
You can open either image on inkscape and you will see they are both valid .svg.
Expected behavior
Work with both .svg
FLTK Version
Git 1.5 HEAD
FLTK Configure / Build Options
N/A
Operating System / Platform:
Please be as precise as possible, e.g. "Linux: Ubuntu 20.04"
OS: Linux Ubuntu 26.04 LTS
Additional context
Add any other context about the problem here.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/1599@github.com>
Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.