Re: [OpenJDK 2D-Dev] Font rendering quality in Linux

2016-12-19 Thread Artur Rataj
Alexey, I switched to your jdk and it works great for any GUI app I ran on it. The difference is still there even if there are 2d transforms in use (I have previously thought that Java2d starts to treat text like any other shape in such a case). On Sat, Dec 17, 2016 at 6:16 PM, Alexey Ushakov < a

Re: [OpenJDK 2D-Dev] Font rendering quality in Linux

2016-12-17 Thread Alexey Ushakov
Artur, we’re going to submit our changes to OpenJDK after some refactoring. Actually, OpenJDK has some usages of FontConfig api and we’d like to merge them with ours. Best Regards, Alexey > On 16 Dec 2016, at 20:09, Artur Rataj wrote: > > Alexey, Android Studio in fact says "OpenJDK 64-bit se

Re: [OpenJDK 2D-Dev] Font rendering quality in Linux

2016-12-16 Thread Artur Rataj
Alexey, Android Studio in fact says "OpenJDK 64-bit server VM by JetBrains s.r.o." On JetBrains pages: Our custom JRE is based on OpenJDK and includes the most up to date fixes to provide better user experience on Linux (like font rendering improvements and HiDPI support). On Fri, Dec 16, 2016

Re: [OpenJDK 2D-Dev] Font rendering quality in Linux

2016-12-16 Thread Artur Rataj
Alexey, I guess that it might be a missing part (one of, at least), an exact inheritance of the platform freetype configuration. I attach a simple app for testing the renderer with some standard ubuntu fonts. I added its output to the stackexchange question https:// stackoverflow.com/questions/411

Re: [OpenJDK 2D-Dev] Font rendering quality in Linux

2016-12-16 Thread Artur Rataj
Hi Volker, in at least one case (Android Studio openjdk 1.8.0_76-release vs openjdk 1.8.0-internal which I compiled myself with Freetype enabled) I compared two Openjdks, and they render fonts very differently. I also compared Ubuntu Openjdk to apps which use Freetype for sure (e.g. the text edito

Re: [OpenJDK 2D-Dev] Font rendering quality in Linux

2016-12-16 Thread Volker Simonis
On Thu, Dec 15, 2016 at 2:30 PM, Artur Rataj wrote: > Hello, I discussed the problem on dev-build > > http://mail.openjdk.java.net/pipermail/build-dev/2016-December/018353.html > > but have been redirected here, thanks Eric! > > I would like to ask why OpenJDK on Linux has by default an inferior f

Re: [OpenJDK 2D-Dev] Font rendering quality in Linux

2016-12-16 Thread Alexey Ushakov
Hi Artur, > So if it looks bad with that, it will look bad on your desktop unless the > font is interpreted differently. > > Not true. The particular font, like a lot of the other (if you wish, I may > send you example images), is badly rendered only in Java. Other Freetype apps > render these

Re: [OpenJDK 2D-Dev] Font rendering quality in Linux

2016-12-15 Thread Artur Rataj
On Fri, Dec 16, 2016 at 12:54 AM, Phil Race wrote: > > As I started to say on that list, it seems to me that this may be a > font-specific problem. > Fonts have hints. I've seen similar issues when the hints are poor. > > Unfortunately there is no easy way to know if they are poor. > Some client

Re: [OpenJDK 2D-Dev] Font rendering quality in Linux

2016-12-15 Thread Phil Race
Yes, this is the right place. As I started to say on that list, it seems to me that this may be a font-specific problem. Fonts have hints. I've seen similar issues when the hints are poor. Unfortunately there is no easy way to know if they are poor. Some clients/apps/rendering systems by policy

[OpenJDK 2D-Dev] Font rendering quality in Linux

2016-12-15 Thread Artur Rataj
Hello, I discussed the problem on dev-build http://mail.openjdk.java.net/pipermail/build-dev/2016-December/018353.html but have been redirected here, thanks Eric! I would like to ask why OpenJDK on Linux has by default an inferior font rendering quality, when there are OpenJDK variants also for