-
Notifications
You must be signed in to change notification settings - Fork 2
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
Android and IOS ports. #1
Comments
Flutter / webview_flutter sideGluon / Webkit sideGluon javafxport Johan openjfx-dev mailing list announce JavaFX 11 on Android Gluon / GeckoView sideReplace Android WebView with GeckoView in Android port ? See Firefox Focus with GeckoView GeckoView documentation Mobile/GeckoView
Article sur Communauté Mozilla francophone : GeckoView, le futur moteur de rendu dans Firefox Focus GeckView supports C.N.O. SideTry with C.N.O., same result. Of course this is to be expected since C.N.O. browser is JavaFX WebView based. |
Try to understand what is the differences between : Gluon Mobile - Single View Project on Gluon VMCreates a Gluon Mobile based Java application with a single View running on Gluon VM. It is targeted for Android, iOS, desktop and embedded devices, as a Gradle project. The Gradle project applies the jfxmobile plugin to run, build and debug your project. Gluon Mobile - Single View ProjectUsing Gluon Mobile, and including a single View by default, creates a new Gluon Mobile based Java application, targeted for Android, iOS, desktop and embedded devices, as a Gradle project. The Gradle project applies the jfxmobile plugin to run, build and debug your project. Document Gluon VM :
|
Found another interim solution for testing until I could also run #118 tests using Gluon VM on Android.
|
Good news 😍
Differential Revision: https://phabricator.services.mozilla.com/D11497 se et |
The purpose of this issue is to discuss about MathML support on Android, Linux , UNIX, IOS, OSX or Windows platforms. Which cross technology to use ?
As far as I can understand Oracle's work and Gluon Team work about JavaFX, JavaFX wraps its own implementation of WebKit.
You use it for Windows, Linux, OSX and ARM platforms. The patch #117, corrects only this native inner JavaFX implementation of WebKit.
To reach IOS and Android you use their inner implementations of WebKit. So I think that #117 has no effect in these cases.
As shown below, Android display (Screenshot 1) differs from Desktop display (Screenshot 2 and 3).
Gluon Team suspects two reasons :
If I'm correct, blocking factors depend on platform as follows :
What's happen :
The reason 1 (bad JavaFX/WebKit wrapping in JavaFX) explains the mis-aligment when MathML enabled.
The reason 2 (platform native WebKit usage with MathML disabled ou not implemented) explains why we see only aligned characters and without mathematical signs.
Desktop Windows and Linux platform : the JavaFX native MathML support in WebCore has been enabled since JDK7 but it was just buggy until JavaFX 8.192ea and JavaFX11 release.
(Screenshot 1) with JavaFX8.162, we can see bad rendering of root or fraction line and also denominator and numerator overlap.
(Screenshot 2) with JavaFX 8.192ea or JavaFX11, the root, the fraction line, the denominator and the numerator are at their right place (exactly what I expect).
With Android : native MathML support in WebCore has been disabled (built with MATHML flag set to DISABLE). In addition I'm not sure that Blink supports MathML yet (Igalia Team should start to implement it). Consequently, JavaFx don't support MathML on Android platform.
With IOS : I can't test but I'm almost sure that it works, because MathML support is enabled by default. (It works with Safari).
Scenario A : If your objective is to use the inner native JavaFX WebKit implementation for IOS or Android, only reason 1 will stay a blocking factor.
This is the best scenario for me :-) Only one code for ever.
Scenario B : If your goal is still to use the inner native IOS and Android WebKit implementation only reason 2 is a blocking factor.
This would be the worst scenario for me : works with IOS but with Android it will depend on Igalia and Google agreements.
Also read discussion started with MathML on JavaFX/Android or IOS #228 issue.
The text was updated successfully, but these errors were encountered: