-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change font to Roboto to support more charsets #9803
Conversation
I get
in the logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR need to update librejs and serviceworker cache definition:
gitea/public/vendor/librejs.html
Line 124 in 590d56d
<td><a href="./assets/lato-fonts/">lato-fonts</a></td> |
gitea/templates/pwa/serviceworker_js.tmpl
Line 50 in f00961a
'{{StaticUrlPrefix}}/vendor/assets/lato-fonts/lato-v16-latin-regular.woff2', |
@lafriks Fomantic-ui still depend on lato fonts... |
If I remember well we build fomantic-ui now so we could override some variable like : |
72378d8
to
ce92604
Compare
Codecov Report
@@ Coverage Diff @@
## master #9803 +/- ##
==========================================
+ Coverage 42.25% 42.26% +<.01%
==========================================
Files 610 610
Lines 80370 80370
==========================================
+ Hits 33963 33969 +6
+ Misses 42229 42222 -7
- Partials 4178 4179 +1
Continue to review full report at Codecov.
|
#9561 has landed now |
Not sure if worth it but the font could be sourced from https://www.npmjs.com/package/typeface-roboto. It does seem to update sometimes, but probably lags behind the google fonts version https://github.com/KyleAMathews/typefaces/blob/master/packages/roboto/files-hash.json. |
74d9a4d
to
08a79e1
Compare
08a79e1
to
97791b2
Compare
@silverwind @sapk @lunny rebased and updated to set roboto font also for fomantic build |
@lafriks I can't update your branch... |
Updated, don't know why you can't uodate |
I can't really reproduce issue, could be my local setup maybe.
Anyway Roboto font supports way more charsets than Lato does
Fixes #9801
Also drops old browser support that we don't support anyway
Before
After