How to stop Zotero from automatically switching fonts on Mac
Zotero seems to now automatically switch fonts based on the retina/non-retina display. Dragging windows between the retina and non-ratina display changes the font automatically from the system default to Lucida. This is very annoying when using multiple displays. Does anyone know how to stop this behavior? and keep a consistent interface across monitors?
But I think this probably wasn't the right solution. We implemented this because, in our testing, the default San Francisco looked terrible on Catalina, and we were under the impression that a change in Catalina caused Zotero to use San Francisco instead of Lucida Grande on non-Retina displays. But comparing a clean Mojave VM to a Catalina VM, it looks like stock Mojave did use SF, but just with much more legible typesetting.
(We were seeing Lucida under Mojave an another non-Retina system, but that system appears to have been configured to use Lucida previously, and after resetting that, I see the same bad SF text in Zotero under Catalina.)
So I think the proper solution here is to tweak the typesetting of SF on non-Retina displays, not to change the font altogether. We'll try to do that for the next version, and I'll post here when it's available to test in a beta.
It's just that there's probably a better fix that won't require using a font that doesn't match the rest of current macOS.
In short, I created a new folder called "Chrome" at the in the profile directory on my Mac:
/Users/*USERNAME*/Library/Application Support/Zotero/Profiles/*.default/Chrome
In the new "Chrome" folder, I created a new css file called "userChrome.css" with the following style rule to set all text in San Francisco:
* {
font-family: SF Pro Text, -apple-system, sans-serif !important;
}
Apple's SF font comes in a variety of flavors; I found "SF Pro Text" works best, but you may need to download it from Apple to invoke it by name in the stylesheet. Otherwise "-apple-system" should work.
Save stylesheet. Restart Zotero.
I haven't discovered any problems so far, and the interface looks way better now! I hope this can get fixed for everyone soon.
Here are two screenshots of what I'm seeing:
extensions.zotero.note.css
, I set my note font tosystem-ui, -apple-system, BlinkMacSystemFont
. I'm on macOS and I want to use the beautiful system font. However it seems that bold text is rendered at the standard font weight -- it does not appear in bold.I was able to work around this issue by setting the font to SF Pro Text, which successfully restored bold text as expected.