-
Notifications
You must be signed in to change notification settings - Fork 260
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
Default font rendering error on Windows Java 8 with 3.5.0 #562
Comments
it is ok in JAVA 11/17 only wrong in JAVA 8 |
it is ok in JAVA 8u HIGH version such as 8u391 but wrong in JAVA 8u LOW version such as 8u20 |
Are you using ligatures and/or kerning? Can you provide the input file you’re rendering so I have a test case? |
I just new RSyntaxTextArea without other setting RSyntaxTextArea rArea = new RSyntaxTextArea(300, 300); The input is //
// Jar Analyzer V2 by 4ra1n
// (powered by FernFlower decompiler)
//
package org.example.httpdemo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; The screenshot on Java 8u131 The screenshot on Java 8u391 Thanks |
And this rendering error was fine in 3.4.2? |
YES it is fine on 3.4.1 with Java 8u131 btw, i use the flatlaf. Is there a connection? |
It’s doubtful that’s related. But I won’t be able to look k to this until tomorrow most likely. Are you locked into older Windows 8 JREs and unable to update? One thing I was looking at for the next major version was updating our baseline requirement to Java 11. Also - thanks for digging in so much in your report! Very helpful |
thanks Due to the fact that Java8 is still LTS at present, and upgrading Java8 to Java11 is destructive, I may not plan to upgrade. In fact, this issue does not exist in the latest version of Java 8 and only affects older versions. The priority for fixing it is not high. The issue here only indicates the existence of the problem and does not necessarily need to be fixed |
Aye, my first thought is to look through JRE release notes for font rendering changes/fixes, but if something changes on my end I may be able to address it |
I can't reproduce this with java 8u20 on Windows. Can you provide an SSCCE that demonstrates this behavior? Here's what I see with 8u20: |
You can download my project: https://github.com/jar-analyzer/jar-analyzer/releases/download/2.20/jar-analyzer-2.20-windows-system.zip And run it "C:\Program Files\Java\jdk1.8.0_20\bin\java.exe" -jar lib\jar-analyzer-2.20.jar gui Open a small jar and press start engine button Then chose a class in left file tree to decompile screenshot If I copy the code to a txt |
4ra1n sorry for the late reply. Can you provide a smaller example - an SSCCE usually has no dependencies to make it easier to debug and identify the cause. |
On windows Java 8, something is bad
screenshot
Through your article, I have roughly learned that this feature is not proficient in JAVA 8.
Is there a way to disable this feature so that I can use it normally in JAVA 8 with latest version
The text was updated successfully, but these errors were encountered: