Skip to content

Font screenshot additions and CDATA text#500

Open
mcrha wants to merge 4 commits into
hughsie:mainfrom
mcrha:wip/font-screenshot-environment
Open

Font screenshot additions and CDATA text#500
mcrha wants to merge 4 commits into
hughsie:mainfrom
mcrha:wip/font-screenshot-environment

Conversation

@mcrha

@mcrha mcrha commented Feb 4, 2026

Copy link
Copy Markdown

This does couple things:

  • the AppStream data with CDATA lost their text (related to Should rewind CDATA libxmlb#290)
  • add 'environment' property to AsScreenshot
  • generate font screenshots for light and dark themes
  • minor change, removal of an unused variable, spotted by the compiler

mcrha added 4 commits February 4, 2026 11:57
It's required to not lose the element text in case it contains it.

Related to hughsie/libxmlb#290
It can be used to create special screenshots for specific desktop
environments and also for light and dark themes.
…emes

The GUI apps like gnome-software or KDE Discover can prefer the screenshots
suitable for their environment. As the font images are transparent, the text
with black color was close to impossible to read in a dark theme. This provides
both variants, thus at least one will be readable in either dark or light theme.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant