Pattern file names used as categories for display
Summary:
Apparently, the categories for the patterns in the Pattern editor are taken from the pattern file names (which are currently CamelCase, but there's a fix/workaround for it in inkscape!5330 (merged)).
A real fix would be a title text in the files, though. So the patterns.svg.h file would probably need to do some parsing of the SVG files and look for a svg:title element (which can be set in Document properties).
Steps to reproduce:
- open Inkscape
- draw object
- apply pattern
- look at category names in English for patterns
What happened?
CamelCase, taken from file name
What should have happened?
Files should contain a title, and that should be used for the category name.
Version info
Inkscape 1.3-alpha (612c66627d, 2023-05-24)
GLib version: 2.72.4
GTK version: 3.24.33
glibmm version: 2.66.2
gtkmm version: 3.24.5
libxml2 version: 2.9.13
libxslt version: 1.1.34
Cairo version: 1.16.0
Pango version: 1.50.6
HarfBuzz version: 2.7.4
OS version: Linux Mint 21.1