-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fonts are different between local html and readthedocs.org #782
Comments
I'm new to GitHub, but I'm also experiencing this behaviour, causing my account creation. I might have some insight on the bug plus workaround, but no RTD fix :( I experienced this issue in Firefox (Windows/Linux), but not while using Edge (Windows). Using the Firefox Console on the local docs file, I saw some CORS warnings, pointing to this website. For Firefox 68, I got the correct fonts/symbols back (and opening up a security vulnerability) by setting in about:config:
So my uneducated guess is that for local files, Firefox does not permit loading of the JavaScript to render the fonts and symbols correctly. |
We don't require JS to load fonts, this is done with pure css, so that is unlikely the case. The next things to check are:
|
I'm also experiencing this since Firefox 68 (released 2019-07-09) with |
Thanks for the explanation @david-perez! With the move to webpack, fonts will be sourced from The next release should address the issue, I'll hopefully be dropping a development release in the next week. Going to close this for now, the fix was merged in a while back. |
Hi!! I am new to Sphinx and ReadtheDocs, and I really like the way it looks on the webpage, though I need some documents to not be on the web (so I want to only make the html file and have it on my computer)
Problem
When opening my index.html file on my computer the fonts are not the same as the ones I see when I open the project in ReadTheDocs webpage (after pushing to github and importing it to readthedocs.org). On readthedocs its a sans-serif font and locally its serif.
I also tried downloading the ReadsTheDocs html zip to check and the font I see is the same as when I make it locally in my computer.
I have already installed the fonts and nothing changed either. Maybe there is something I need to change on the CSS files for what I have read but I am not familiar with that
I have MacOS Mojave version 10.14.4
Reproducible Project
The commands for the local html file:
For ReadtheDocs view:
Import manually from https://github.com/daianagan/daiana_rtd_issue
RST:
Error Logs/Results
Expected Results
Environment Info
The text was updated successfully, but these errors were encountered: