-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
8285308: Win: Japanese logical fonts are drawn with wrong size #8662
Conversation
👋 Welcome back prr! A progress list of the required criteria for merging this PR into |
Webrevs
|
} | ||
case "ru" -> "RUSSIAN_CHARSET"; | ||
case "el" -> "GREEK_CHARSET"; | ||
case "iw" -> "HEBREW_CHARSET"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be safe to specify both old(iw)/new(he) language codes for Hebrew, as "he" is now returned for Hebrew by default (https://bugs.openjdk.java.net/browse/JDK-8263202)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok - fixed
I agree with your fix. It works on my Japanese environment as well. |
@prrace This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 219 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
/integrate |
Going to push as commit 40e99a1.
Your commit was automatically rebased without conflicts. |
This replaces the PR from Toshio https://git.openjdk.java.net/jdk/pull/8329
It is similar in the idea from what we converged on towards the end there but
I verified this fix by changing regional settings as well as passing -Duser.language=ja -Duser.country=JP and logical fonts on lightweights (verified in Font2DTest) are as expected and the "fonttest.java" now behaves as it did in JDK 17 and earlier. Since you need to switch regional settings automating this test was not possible.
@toshiona you very likely want to take a look at it.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/8662/head:pull/8662
$ git checkout pull/8662
Update a local copy of the PR:
$ git checkout pull/8662
$ git pull https://git.openjdk.java.net/jdk pull/8662/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 8662
View PR using the GUI difftool:
$ git pr show -t 8662
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/8662.diff