Skip to content

Remove hexadecimal color names from palette files

Green Lightning requested to merge GreenLightning/inkscape:master into master

There is some fallback code in _loadPaletteFile that formats a hexadecimal representation from the color value if the name is empty, therefore the application behavior is not changed. However, this avoids looking up translations for these names, which improves startup time by about 300 ms on my Windows machine. Colors with regular names (like 'blue') are not affected by this change and still properly translated.

More info here: https://greenlightning.eu/programming/improving-inkscape-startup-time/

Merge request reports

Loading