-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Global font - Open Sans - Latin-Extended #11299
Comments
It should work out of the box without the need to configure anything. @jancborchardt @skjnldsv Do you think this is possible? |
@MorrisJobke loading external fonts is against our csp, right? |
Aha, I understand, so make it easier and just let users to decide If the default font should be loaded as Latin-Extended or not in the theme settings (of course you have to include latin-ext font file into the Nexcloud package). |
But we can include it into our archive (we did this in the past as well).
I would not make it an option. We should just load all the needed font files that include everything. |
@novami @MicNov could you post a screenshot? Also, does not even the latest version of Open Sans (from Google Fonts) fix that? |
Sure, no problem - https://screenshots.firefox.com/iyJESBYUJ6k95AXy/disk.csy.cz and https://screenshots.firefox.com/i8s40Gq3SxBXNfnt/disk.csy.cz I've marked some problematic letters. I've several projects based on Open Sans too and If I use recomanded css link into header, with latin-ext, each letter looks good. |
I guess we need to fetch then those files and use them. |
Ok, so using this https://fonts.googleapis.com/css?family=Open%20Sans&subset=latin-ext should work? Any chance you can try if that fixes it for you locally @novami @MicNov? |
Yes, I've tested it locally and it works, but I just had to temporary disable CSP in Firefox... |
Awesome, thanks for testing! :) Do you also want to do the actual change? The file to edit is:
|
I'm not sure how to do it correctly, but I think that just update of current font files should be enough. Question is how to get woff files - Google offers just ttf... |
See also #11640 for Chinese font issues |
@MorrisJobke Sure, December sounds good, thank you! 👍 |
Closing this then. :) |
Hi guys,
First thank you very much for the amazing job, what you have done on Nextcloud!
I've found a little problem, it looks like global font Open Sans is not loaded with parameter Latin-Extended and this makes some letters damaged in my nattive language and I'm pretty sure that in other languages too.
It would be nice to have a possibility to specify (in the theme settings) Google font url in one form input e.g. "https://fonts.googleapis.com/css?family=Roboto&subset=latin-ext" and global font name like "Roboto" in second input. Do it and you'll make a lot of users happier ;-).
I know that this is a minor issue and a lot of people don't care about it, but there is quite easy solution, isn't it? :-)
Thanks!
The text was updated successfully, but these errors were encountered: