Re: Enhancements for JavaFX 18

2021-08-09 Thread Abu Abdullah
I would really like to see opus codec support for the media playback

On Fri, 30 Jul 2021, 4:59 pm Kevin Rushforth, 
wrote:

> Now that JavaFX 17 is in RDP2, we can turn more attention to bug fixes
> and enhancement requests for JavaFX 18. It's the summer, so there may be
> delays as some people are out at various times (including me), but I
> would like to get some of the outstanding enhancement requests moving
> over the next few weeks.
>
> Specifically, I'd like to see the following proceed:
>
> * Transparent backgrounds in WebView
> JBS: https://bugs.openjdk.java.net/browse/JDK-8090547
> PR: https://github.com/openjdk/jfx/pull/563
>
> * Add DirectionalLight
> JBS: https://bugs.openjdk.java.net/browse/JDK-8234921
> PR: https://github.com/openjdk/jfx/pull/548
>
> * CSS pseudoclasses :focus-visible and :focus-within
> https://bugs.openjdk.java.net/browse/JDK-8268225
> PR: https://github.com/openjdk/jfx/pull/475
>
> * Improve property system to facilitate correct usage (minus the binary
> incompatible API change)
> JBS: https://bugs.openjdk.java.net/browse/JDK-8268642
> PR: https://github.com/openjdk/jfx/pull/590 (Draft)
>
> And maybe the following:
>
> * Add CSS themes as a first-class concept (need a consensus on how to
> proceed)
>
> * Undecorated interactive stage style (still in early discussion, but
> the concept looks interesting and useful)
>
> There are probably others I'm forgetting.
>
> Each of the above should be discussed in their own thread on openjfx-dev
> rather than a reply to this thread.
>
> -- Kevin
>
>
>


Re: Arabic letters are not displayed correctly in MacOS 10.15.3

2020-05-29 Thread Abu Abdullah
On Fri, May 29, 2020 at 4:47 PM Philip Race  wrote:
>
>
>
> On 5/29/20, 5:38 AM, Kevin Rushforth wrote:
> >
> >> CoreText note: Client requested name ".ArabicUIText-Regular", it will
> >> get Times-Roman rather than the intended font. All system UI font
> >> access should be through proper APIs such as
> >> CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
> > I can see in the console this message:
> >
> > What JDK are you running? This looks like it is caused by
> > https://bugs.openjdk.java.net/browse/JDK-8244621 which affects JDKs
> > built with Xcode 11 / MacOSX SDK 10.15.
>
> That message would only appear from the JDK side if you do something to
> execute
> some Java 2D code *and* - as Kevin said have a JDK from somewhere that
> is also using
> that newest Xcode.
>
> But I haven't heard anything from Abu that says his app uses Swing
> Interop for example ...
No im not using swing in this app at all, pure Javafx. but i have
another app that is swing based and it is running just fine in the
latest MacOS 10.15 so i was expecting it from Javafx side not from the
JDK.

>
> Abu: does it ? And where did you get JDK ?
yes as you predict. http://jdk.java.net/15/

>
> BTW I should add that because this message says .ArabicUIText-Regular" I
> am expecting
> that you'll be reporting you are running with Arabic as the preferred
> system language ..

I'm having arabic keyboard as an input as well + the region as you
asked is en_AE which is arabic region. not sure how the OS interpret
this


Re: Arabic letters are not displayed correctly in MacOS 10.15.3

2020-05-29 Thread Abu Abdullah
On Fri, May 29, 2020 at 5:00 PM Philip Race  wrote:
>
>  From https://jdk.java.net/15/ ?

Yes


Re: Arabic letters are not displayed correctly in MacOS 10.15.3

2020-05-29 Thread Abu Abdullah
On Fri, May 29, 2020 at 4:42 PM Philip Race  wrote:
>
> The interesting thing about you seeing :
>
> I can see in the console this message:
> CoreText note: Client requested name ".ArabicUIText-Regular", it will
> get Times-Roman rather than the intended font. All system UI font
> access should be through proper APIs such as
> CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
>
>
> Is that this message should be *prevented* by the very fix that I see as
> introducing the problem.
> So I don't understand that at all.
>
> So I think there are a few variables here.
>
> 1. The version of macOS
MacOS Catalina 10.15.3
[oracle@oracles-Mac bin % uname -a
Darwin oracles-Mac.local 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan
9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64

> 2. The version of Xcode / SDK used to create the build.
>  I am not sure what the version on Maven used but I'm sure its not
> the same
>  version I am using.

No clue how to support here

> 3. The system locale as set by preferred language + region.
> What is this for you ?
language: English
Region: AE (UAE)

oracle@oracles-Mac bin % defaults read -g AppleLocale
en_AE


Re: Arabic letters are not displayed correctly in MacOS 10.15.3

2020-05-29 Thread Abu Abdullah
> What JDK are you running? This looks like it is caused by
> https://bugs.openjdk.java.net/browse/JDK-8244621 which affects JDKs
> built with Xcode 11 / MacOSX SDK 10.15.

openjdk version "15-ea" 2020-09-15
OpenJDK Runtime Environment (build 15-ea+24-1168)
OpenJDK 64-Bit Server VM (build 15-ea+24-1168, mixed mode, sharing)

> I attached annotated versions of the images from Mac 10.15 and Win 10 to
> the above bug in JBS:
>
> ComplexText-mac-10-15-two.png
> ComplexText-win-10-two.png
>
> with a couple of the differences highlighted. Since I don't read Arabic,
> I can't comment on whether it is a problem or not, just that it looks
> different.
i got your point, this is totally fine. it is different way of
presenting the characters depending on the font that you use. thank
you for the efforts.


Re: Arabic letters are not displayed correctly in MacOS 10.15.3

2020-05-29 Thread Abu Abdullah
On Fri, May 29, 2020 at 9:46 AM Philip Race  wrote:
>
> Ok. you said in the first post :
>
> im using jfx 15-ea-5 on MacOS 10.15.3
>
> Where did you get that build ?

from maven


   org.openjfx
   javafx-controls
   15-ea+5
   mac



Re: Arabic letters are not displayed correctly in MacOS 10.15.3

2020-05-28 Thread Abu Abdullah
On Fri, May 29, 2020 at 1:21 AM Philip Race  wrote:
>
> Looks like this is not a Catalina problem. It is a regression in openjfx 14 
> on macOS.
> And it is caused by https://bugs.openjdk.java.net/browse/JDK-8234916

I can see in the console this message:
CoreText note: Client requested name ".ArabicUIText-Regular", it will
get Times-Roman rather than the intended font. All system UI font
access should be through proper APIs such as
CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].

> We have filed a new bug : https://bugs.openjdk.java.net/browse/JDK-8246104

Thank you

i can see a comment about the differences between Windows and mac. To
me, the difference is about the font type. in Windows it is Tahoma, in
Mac it seems Times-Roman


Re: Arabic letters are not displayed correctly in MacOS 10.15.3

2020-05-27 Thread Abu Abdullah
On Wed, May 27, 2020 at 7:53 PM Philip Race  wrote:
>
> Is Latin displaying correctly for you ?
yes, the GUI contains just few words in English which seems to be OK

> I can't see anything at all in that screen shot that looks likely to be
> correct,
> but I also don't know if it is supposed to be entirely Arabic or a
> mixture of scripts,
> although clearly it is all laid out RTL.
entirely in Arabic. please find snap shot on how it should be (taken in Windows)
https://ibb.co/bv74qnK

> In an arm-wavy sort of way, it looks like there's a mismatch between
> the selected font and the glyph ids.  whether its the font that's wrong
> or the id is impossible to say ..

I tried that as well. nothing changes if i changed the font using the tinkertool


Arabic letters are not displayed correctly in MacOS 10.15.3

2020-05-27 Thread Abu Abdullah
Hi,

i have started testing my app using Javafx on MacOS 10.15.3 and arabic
letters are not displayed correctly. only title bar is correct. the
rest are just random characters (not arabic). please have a look at
the snapshot:
https://ibb.co/Yk6m3Pj

im using jfx 15-ea-5 on MacOS 10.15.3

normal swing application is working fine without issues


Re: Planning for JavaFX.next

2016-12-09 Thread Abu Abdullah
- RTSP support for MediaPlayer
- expose gstreamer API for public that allows you to build the pipeline yourself


Fwd: Javafxpackager and splash screen

2014-04-18 Thread Abu Abdullah
Hi,

I have used javafxpackager to create an app but the splash screen is
not working. info.plist does not contain any splash option. Is it
supported.  I'm using jdk 1.8.0, I have tried to do it manually e.g.

keyJVMOptions/key
  array
  string-splash:$APP_ROOT/Contents/Java/images/logo.png/string
  /array

i tried even the absolute path or APPDIR but still not working.

For some reason, I'm not able to do it even using the infinitekind
 appbundler, maybe it is not supporting jdk 1.8 or maybe i missed somewhere.

example:
https://drive.google.com/file/d/0B6nSYRwywQUoNzV5RHh5bWl6amc/edit?usp=sharing

code is compiled with 1.8, you just need to modify the splash path in
your case

Any help is appreciated.