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

Artur Rataj arturrataj at gmail.com
Fri Dec 16 10:30:40 UTC 2016


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 editor Pluma) and the rendering difference is mostly just as large.

But Oracle Jdk which, according to you, does not use Freetype, renders the
fonts just like Openjdk which must use Freetype.

Why it is like that, I don't know.

On 16 Dec 2016 11:00, "Volker Simonis" <volker.simonis at gmail.com> wrote:

> On Thu, Dec 15, 2016 at 2:30 PM, Artur Rataj <arturrataj at gmail.com> 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 font
> > rendering quality, when there are OpenJDK variants also for Linux which
> can
> > render the same fonts with a very high quality.
> >
> > I described the problem in more detail and with images here:
> >
> > https://stackoverflow.com/questions/41149451/a-method-
> of-getting-a-linux-jdk-tarball-with-freetype-like-font-rendering
> >
>
> You don't compare two versions of OpenJDK in your article on stack
> overflow. You compare a version of OpenJDK with a version of Oracle
> JDK:
>
> OpenJDK Runtime Environment (build 1.8.0_76-release-b03)
> vs.
> Java(TM) SE Runtime Environment (build 1.8.0_122-ea-b04)
>
> As Phil already mentioned, Oracle JKD comes with a different, built-in
> font renderer (called t2k) which is not part of OpenJDK.
>
> There exist no official "OpenJDK early access" builds. You probably
> refer to the builds from https://jdk8.java.net/download.html but
> theses are actually Oracle JDK builds which contain the t2k font
> renderer. So you compare t2k vs freetype!
>
> Regards,
> Volker
>
> > Best regards,
> > Artur
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20161216/254135e0/attachment.html>


More information about the 2d-dev mailing list