Skip to content

Fix PrintingPage style when changing colorscheme

Louis Schul requested to merge work/printing_style_fix into master

Changing color scheme in the PrintingPage was removing the fonts style.

This fix the issue in 2 ways:

  • Add the highlightColor and use the correct palette in ColorSchemer::getUsefullColors

  • Handle missing style info in TextDisplay::changeStyle

If a style info is missing, for exemple, fonts when we change color in the PrintingPage, we will now fallback to the default value.

Merge request reports

Loading