-
Notifications
You must be signed in to change notification settings - Fork 200
Noto Serif can look very buggy in JavaFX 8 #1594
Comments
@Dico200 : Do you intend to distribute NotoSerif with your app? If you follow the procedure under "Using Custom Fonts" in https://docs.oracle.com/javase/8/javafx/user-interface-tutorial/text-settings.htm do you still have an issue? |
No
I tried multiple ways:
If this issue can be made to not occur in production, yes
My testing has covered the exact guidelines in there (except for the URL they pass which may only work in development). |
In further testing I determined that the bug only occurs under specific conditions. I do not know what is the root cause still but, here it is:
This is consistent behaviour. One thing to note about 1. is that the application classes and resources (dependencies not included) are loaded from a file system folder, not a jar file. I have tried extracting the resources to a temporary file before using them at no avail. I should state that I do not think that this bug is caused by you, the authors of noto-fonts, directly, despite the issue occuring (in my testing) exclusively with these fonts. However, as I have no expertise in the field of how font files work at all, I was hoping that you would be able to give me a clue as to what could potentially be causing the issue. I will keep you updated on my testing progress / finding workarounds of course. |
@Dico200, I know this is an old bug and you may have moved on, but if you have still the application around with the latest versions of OS, Java, etc. does the bug still occur? |
Title
Noto Serif can look very buggy in JavaFX 8
Font
NotoSerif-Regular.ttf
NotoSerif-Bold.ttf
Where the font came from, and when
22-10-2019
https://fonts.google.com/download?family=Noto%20Serif
This repository, today during testing
Font Version
2.002; tffautohint (v1.8.2)
I tested files from
repo root/phaseIII_only/unhinted/ttf
repo root/phaseIII_only/hinted/ttf
repo root/phaseIII_only/unhinted/otf
repo root/hinted/ttf
OS name and version
Windows 10
Application name and version
JavaFX 8 distribution from Java Runtime Environment SE 1.8.0_181
Issue
My application uses JavaFX 8. The NotoSerif font can look very buggy in it, making it unusable for production.
Steps to Reproduce
Load NotoSerif-Regular.ttf in JavaFX 8, useit in a Label or any other text-displaying node and run the application.
Observed results
Some letters from the font look malformed, others are completely missing.
Expected results
The font looks as expected and the same as in previews.
Additional information
There is no problem if the font is replaced with a built-in font or Roboto.
Character data
Any representative sequence of alphanumeric characters will show the issue.
Screenshot
Harfbuzz hb-view and hb-shape
I am certain that this is not an issue in my OS.
The text was updated successfully, but these errors were encountered: