-
-
Notifications
You must be signed in to change notification settings - Fork 953
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 shipped with app are not used #2829
Comments
Might be related to #2606 |
This bug is caused by using binary CSS. Executing maven, in the compile phase we have the following plugin execution: Lines 325 to 338 in 4bb0026
This converts our css file into a binary one. The problem is, that during the conversion, relative paths are resolved to absolutes ones (because technically, this conversion is done in two steps: First loading the stylesheet into the javafx model and second write it in binary form). And during the conversion, the absolute path to the font is |
The performance penalty if we switch back to parsing normal css files is roughly 33%, but in absolute terms it would only be a difference of 20ms (on my machine). Additionally, the stylesheet is loaded once. Therefore, this enhancement will be removed until upstream the issue is resolved. |
Was necessary because of cryptomator/cryptomator#2829, see also cryptomator/cryptomator#2448
Was necessary because of cryptomator/cryptomator#2829, see also cryptomator/cryptomator#2448
Please agree to the following
Summary
Cryptomator uses the OpenSans font in its GUI. But the font files are actually not used, but the system default font.
What software is involved?
Volume Type
None
Steps to Reproduce
[projectroot]/src/main/resources/css/
javafx.verbose=true
Expected Behavior
Open Sans font is used and console does not show warning:
Actual Behavior
Any font but Open Sans is used:
Reproducibility
Always
Relevant Log Output
Anything else?
No response
The text was updated successfully, but these errors were encountered: