-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Serif font used in Live Preview, not CourierPrime #120
Comments
@kortina yep this is a known bug, which appears occasionally for me too. I'm not entirely sure what causes it, but normally closing and re-opening the live preview fixes is. You can open the webview developer tools with "F1 > Open Webview Developer Tools" |
I tried closing / reopening the webview (and vscode itself), still same result. The webview was helpful:
Here is where it is trying to load the font from::
But it looks like this exists:
btw, it is also failing to load:
UPDATE: I am using Insiders:
I opened in regular VS Code to test and confirmed the font does work. So does this extension not work for some reason on Insiders? Any ideas on how to patch? Lmk if you need more debug info |
This looks related, but not clear to me what the fix would be: microsoft/vscode#89038 |
Just wanted to bump this and see if there were any ideas on how to patch this issue |
@kortina sorry, just saw this, I've been incredibly busy recently with uni work.. Does the bug still happen with the latest insider version? I'm using the following:
And can't reproduce this issue - although it will very occasionally pop up, but that's not happened to me in weeks.. |
I just installed and re-installed the Better Fountain extension and confirmed the problem still happens for me. And I am on basically same version of vscode insider:
I am on OS X and I see you are on Windows? Maybe that is part of the problem? |
I just tried re-investigating this
What is interesting is that I still get a 404 for this address with the Extension Marketplace version:
However, when I compile the extension and run in the extension host to try to debug, it uses this address:
And works correctly. The files do appear to exist on the filesystem:
Seems like some sort of security or permissions thing, perhaps? I can't even figure out how to debug since I can't repro with the checked out repo, only happens with Marketplace version |
@kortina I think I may have changed the way fonts are loaded at some point in the past few months but I'm not sure - is this still an issue for you? |
Looks resolved! Thank you. |
When I try to use the Live Preview, I expected a monospace font, but it looks like it's using Times New Roman:
I looked around the source code and it seems that CourierPrime font should be used. Do I need to do some sort of separate install to get this font?
Is there a debug output I could use to look for errors to provide more info here?
The text was updated successfully, but these errors were encountered: