-
Notifications
You must be signed in to change notification settings - Fork 549
8330559: Trailing space not rendering correctly in TextFlow in RTL mode #1988
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
base: master
Are you sure you want to change the base?
Conversation
|
👋 Welcome back zelmidaoui! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
The fix looks good in the reproducer, good job! I have less luck in the monkey tester where we hit other issues (JDK-8318095 comes to mind). |
|
@Ziad-Mid do you think this fix is independent of (JDK-8318095 , in other words, would fixing (JDK-8318095 will require undoing changes in this PR? |
|
Can this be tested with a JUnit Test? I'm asking as there are quite some problems right now with complex text, fonts and RTL. So every regression test will help in the future |
I am checking the JDK-8318095 with more tests, but a first thought they look independant to me. I will check both and let you know.
I am working on a JUnit Test for this bug as suggested . |
|
@andy-goryachev-oracle I have provided a fix for JDK-8318095 in PR 1995. |
Fix trailing space present for complex text ( LTR text with RTL text ) Example: "Arabic: العربية"
Added case to handle complex text in
getPosXofTextRunTested the changes with the code present in the bug.
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1988/head:pull/1988$ git checkout pull/1988Update a local copy of the PR:
$ git checkout pull/1988$ git pull https://git.openjdk.org/jfx.git pull/1988/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1988View PR using the GUI difftool:
$ git pr show -t 1988Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1988.diff
Using Webrev
Link to Webrev Comment