Skip to content
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

Missing fonts #184

Closed
asomers opened this issue Apr 21, 2018 · 7 comments
Closed

Missing fonts #184

asomers opened this issue Apr 21, 2018 · 7 comments

Comments

@asomers
Copy link

asomers commented Apr 21, 2018

After an update to my OS, SportsTracker's fonts stopped displaying properly. Only numbers display, not text. I suspect there's an undeclared dependency on some font package, but I don't know how to guess which. Could you please give me a hint as to what I must install?
sports_tracker_nofont

@ssaring
Copy link
Owner

ssaring commented Apr 21, 2018

This looks scary! What OS are you using?
It looks like the Java package on your OS is broken. The default font is always available by default. If it's not the case then it's probably a packaging or configuration error. Are there any updated Java packages for your updated OS?

@asomers
Copy link
Author

asomers commented Apr 21, 2018

This is TrueOS unstable (a FreeBSD derivative). I've reported the issue upstream. There are no updated packages, but I could try rebuilding from source. Do you think the issue more likely resides in openjfx8-devel, openjdk8, or somewhere else? I'm not a Java programmer.
trueos/trueos-core#1546

@ssaring
Copy link
Owner

ssaring commented Apr 21, 2018

I'm sure that this is not a SportsTracker issue, that's why I close this issue here. Also I never used TrueOS, so I can't help you there, sorry.

My suggestion is that there is a problem in the JavaFX or OpenJDK packages. These will have dependencies to other font packages or depand on a specific configuration which are not available.

@ssaring ssaring closed this as completed Apr 21, 2018
@asomers
Copy link
Author

asomers commented Apr 22, 2018

Does SportsTracker use SWT ? Looks like that is no longer enabled by default.

@ssaring
Copy link
Owner

ssaring commented Apr 22, 2018

No, SWT is not used. This is a 3rd party library, not part of the JDK.

@asomers
Copy link
Author

asomers commented Apr 22, 2018

I can't reproduce this bug with other Java programs. However, other tiny Java utilities seem to be displaying their fonts differently than yours. It's like they're trying to antialias but doing it badly. Can you guess what the difference is?
gpsprune

@ssaring
Copy link
Owner

ssaring commented Apr 22, 2018

The difference is that the other programs are using the Swing UI library (at least your screenshot) and SportsTracker uses the new JavaFX library, which is not based on Swing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants