Odd. I just did a series of tests. It appears this happens if I paste text in from VS code, while including some formatting. At that point, the entire file becomes “corrupted” in some way and all text in that note will lose subpixel rendering.
The reason I’ve been seeing this error so much is that I’ve been switching to Obsidian from Dendron notes in VS Code.
I will mitigate for now by pasting as plain text only. I guess the bug is the fact that subpixel rendering can change based on pasted text.
I’ve been doing some additional experimentation in a new sandbox vault. In this vault the only two settings changes I’ve made are turning on line numbers and changing the editor font to Consolas.
I was mistaken before regarding pasting from VS Code specifically (or any other application) being the problem. Here I’ve reproduced the issue by simply making the file a certain number of lines (or perhaps it’s characters or some other measure, I’m not sure)
After 18 lines of test text the subpixel rendering works fine.
After I paste the 19th line of text (or type it out, and enter the line break) the entire file falls back to grayscale antialiasing, and text is noticeably less crisp.
Bump. Leaving this comment just for the record.
I had the same dpi issue. For me, not only the text but all of the UI shrinked.
Even reinstalled obsidian but the problem persisted.
Setting flag --force-device-scale-factor=1 did solve it.
But would love to see it being fixed in the future.