You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
viewer: move host font discovery off the unmaintained ttf-parser before 2027-01-31 #443
The native viewer's host font fallback (#421) finds host fonts through fontdb 0.23, which parses font files with ttf-parser 0.25. RUSTSEC-2026-0192 marks ttf-parser as unmaintained; the advisory names no vulnerability and suggests skrifa. osv-scanner.toml carries an exception for it with an expiry of 2027-01-31, so the dependency audit fails again after that date.
The viewer already parses fonts with swash for drawing, so the fallback needs a parser only to read family names, weight, style and coverage while it scans the font directories.
Replace fontdb's parsing with a maintained parser (for example swash, which the viewer already uses, or skrifa), or move to a fontdb release that no longer depends on ttf-parser
Remove the RUSTSEC-2026-0192 exception from osv-scanner.toml
Activity
chore(deps): accept the unmaintained ttf-parser advisory until 2027-0…