Skip to content

Fix duplicate font styles for symlinked fonts on Linux - #1099

Merged
manuelmayer-dev merged 1 commit into
mainfrom
fix/linux-duplicate-font-styles-1095
Sep 30, 2026
Merged

manuelmayer-dev merged 1 commit into
mainfrom
fix/linux-duplicate-font-styles-1095

Conversation

@manuelmayer-dev

Copy link
Copy Markdown
Member

Closes #1095

Summary

On Linux every symlink to a variable font was listed as its own style, so Ubuntu showed seven Regular and five Italic entries. The font catalog now lists one entry per identical font, and a stored id of a hidden duplicate is rewritten to the listed one when the profile loads.

Testing

Full solution build and test suites pass, with new tests for the catalog and the stored-id rewrite. Checked the real catalog in a Linux arm64 container with a variable font plus symlinks: six entries became one. Not checked: the reporter's actual Ubuntu files, the dropdown on a Linux desktop.

Notes

The first profile load with a saved font now also builds the font catalog at startup.

Checklist

  • Tests were added or updated where needed
  • The change was verified manually where appropriate
  • Documentation was updated if the change affects documented behaviour
  • I reviewed and understand every submitted change

@manuelmayer-dev manuelmayer-dev added bug Something isn't working area:host Host: Domain, Application, Infrastructure platform:linux Linux-specific labels Sep 30, 2026
@manuelmayer-dev
manuelmayer-dev merged commit 165b5b1 into main Sep 30, 2026
17 checks passed
@manuelmayer-dev
manuelmayer-dev deleted the fix/linux-duplicate-font-styles-1095 branch September 30, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:host Host: Domain, Application, Infrastructure bug Something isn't working platform:linux Linux-specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [Linux] Duplicated font entries for Ubuntu system font (Caused by Symbolic links)

1 participant