-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Don't enforce default Windows font #3008
Conversation
On my Win7 system, this font seems to be unavailable. I cannot select it in the preferences dialog and resetting the preferences does not help as well. Maybe the real solution here is to tell the users they should install and configure a font that supports italics? Then, we would solve this issue by documentation? |
I have removed the font default now. On my win10 system it defaults to "Dialog" and the italic texts are shown. |
I get a font named "Dialog", but unfortunately no italics. EDIT: And I have no clue why comment just appeared above those last two commits... |
@lenhard because my windows system time is broken.... |
So what we need is any font that is available and works on all Windows versions :/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a good solution. Yes, maybe on some systems it does not work but at least partly it is a fix. I doubt that many users have \textit
in the title. Thus, in my opinion, we can wait and hope that a migration to JavaFX solves the problem for everyone.
I might add something on this. |
Why removing the default font? Has "Dialog" more characters than Arial? OK, could be OK for me... However, I checked stackoverflow: embedding a font in Java and also that. |
It seems that there is no font that we can embed perfectly. |
@AEgit As you've probably read already, we won't do more changes here. Ultimately, this is a problem of the capabilities of the fonts installed in the underlying operation system. So it is a little out of the reach for JabRef to do much about it. In newer OSs, Win10 for instance, there seem to be plenty of fonts that can handle Unicode. If you're on Win7, there's Cambria Math that does the trick. |
Hmmm, couldn't you just use a font that is already part of the respective operating system (i.e., without installing a new one), that is capable of handling Unicode? So, e.g. in Windows 7, JabRef would default to "Cambria Math" as default font, and in Windows 10 to any other font you mentioned (I'm on Windows 10 so I guess I should have less issues). |
Nevermind, I see, that's exactly what you have done in the current development version: Cheers and thank you very much! |
For summary: LIst of fonts supporting Math Unicode blocks (For MacOS apparently FreeSerif works good) |
Check below #3008 (comment)