-
Notifications
You must be signed in to change notification settings - Fork 19
Font usage fails on iOS #66
Comments
PS this is a blocker b/c it hangs the App on iOS indefinitely when calling any Font method. |
is this specific to 11.4? |
I've upgraded to the latest versions:
Then I tried a simple template project, adding this line of code: And it works perfectly fine, printing all the fonts available. Of course there is this printout (it always does):
So there is nothing wrong with 'Font`. In case you find I'd suggest adding a |
Will do. It is now working on on one ipad and mac with the latest of everything but not on another with the same versions (different mac and different ipad). I had narrowed it down to any call with Font but did not put a try catch around it. I'll report back in the next day or so. |
Clarification Application Code
Output
Without the try catch the app hangs with a black screen on the phone and has the following output
|
Same behavior with 2.0.25. |
I've tried I'll suggest to clean your project:
And from time to time removing the |
Yes, I've tried that a few times with the same result. |
Then I don't think |
By the way, the new release of the plugin (2.0.27) should print the stacktrace, maybe you can give it a try? |
It is definitely failing when calling methods on Font. You may have missed the stacktrace I posted a few days back. I also tried 2.0.27 and it prints the exact same stacktrace. Also, as previously stated, if I put a try catch around it and then call Font.getFontFamilies() again, it works!
|
BLOCKER
org.javafxports:jfxmobile-plugin:2.0.24
iOS 11.40
OSX 10.13.5
XCode Version Version 9.4 (9F1027a)
downConfig 3.8.0
Description
Using javafx.scene.text.Font such as calling:
Font.getFontFamilies();
Results in:
non-fatal, couldn't load class named com/sun/javafx/font/t2k/T2KFactory Exception in Application start method QuantumRenderer: shutdown
Is this a gvm issue with the latest iOS? The same code was working on the previous version.
The text was updated successfully, but these errors were encountered: