mirror of
https://github.com/penpot/penpot.git
synced 2026-05-12 03:23:46 +00:00
The font-family list at frontend/src/app/main/fonts.cljs registers Source Sans Pro variants for weights 200, 300, 400, 700 and 900, but omits the semibold (600) entries even though the font assets are already bundled (frontend/resources/fonts/sourcesanspro-semibold.*) and the CSS @font-face declarations that load them are present (frontend/resources/styles/common/dependencies/fonts.scss:55-56). Result: weight 600 cannot be selected from the font picker even though the bytes are downloadable; users see a 400 -> 700 jump. Add the two missing variant entries (600 and 600 italic) using the same :suffix style as the other numeric-id entries (200, 300), since the file-name component "semibold" doesn't match the weight number. Issue mentions weights 500 and 800 as also missing, but no sourcesanspro-medium or sourcesanspro-extrabold assets exist in the repo, so this PR scopes to weight 600 only — the recoverable subset. Closes #7378. Signed-off-by: Andrey Antukh <niwi@niwi.nz> Co-authored-by: Andrey Antukh <niwi@niwi.nz>