Address Inter font review findings (#52)
CI / core (pull_request) Successful in 38s
CI / core (push) Successful in 1m14s

- Set Inter only when DirectWrite resolves its family, so a name
  mismatch keeps the system font instead of a fallback on every run.
- Rename init to init_theme and share the family name as a constant.
- Make the test prove a semibold face: its glyphs are wider.
- Ship the license from the same Inter release as the font.
- Shorten the search placeholder so it fits at the minimum width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit was merged in pull request #52.
This commit is contained in:
nessarandClaude Opus 5.5 committed 2026-11-19 22:10:16 +01:00
1 parent 1016b68e41
commit 650dfd4bfa
3 files changed
+36 -26

No files matched your search

+3 -4
View File
@@ -1,9 +1,8 @@
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
@@ -44,7 +43,7 @@ new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
PERMISSION AND CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font