<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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.<div class=""><br class=""></div><div class="">Best Regards,</div><div class="">Alexey</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 16 Dec 2016, at 20:09, Artur Rataj <<a href="mailto:arturrataj@gmail.com" class="">arturrataj@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Alexey, Android Studio in fact says "OpenJDK 64-bit server VM by JetBrains s.r.o."<div class=""><br class=""></div><div class="">On JetBrains pages:</div><br class="">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).<div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Dec 16, 2016 at 10:31 AM, Alexey Ushakov <span dir="ltr" class=""><<a href="mailto:alexey.ushakov@jetbrains.com" target="_blank" class="">alexey.ushakov@jetbrains.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi Artur,<span class=""><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" class="">So if it looks bad with that, it will look bad on your desktop unless the font is interpreted differently.<br class=""></div></blockquote><div class=""><br class=""></div><div class="">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 fonts very well, thanks to the exceptional quality of that library.</div><div class=""><br class=""></div><div class="">If I run Netbeans with its standard fonts and --jdk-home of the Android Studio jdk, the GUI quality is immediately improved, thanks to the fonts rendered as expected from a properly supported Freetype.</div></div></div></div></blockquote></div><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""><br class=""></div></div></div></div></div></span><div class="">Actually we (at JetBrains) have made some changes to use fontconfig hints in freetype rendering.</div><div class=""><br class=""></div><div class="">Best Regards,</div><div class="">Alexey</div><div class=""><div class="h5"><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On 16 Dec 2016, at 03:32, Artur Rataj <<a href="mailto:arturrataj@gmail.com" target="_blank" class="">arturrataj@gmail.com</a>> wrote:</div><br class="m_6429465744094363907Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Dec 16, 2016 at 12:54 AM, Phil Race <span dir="ltr" class=""><<a href="mailto:philip.race@oracle.com" target="_blank" class="">philip.race@oracle.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" class=""><br class="">
As I started to say on that list, it seems to me that this may be a
font-specific problem.<br class=""></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" class="">Fonts have hints. I've seen similar issues when the hints are poor.</div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" class=""> </div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" class="">
Unfortunately there is no easy way to know if they are poor.<br class=""></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" class="">Some clients/apps/rendering systems by policy ignore hints so they
may look OK,<br class="">
but then they may not look as good on a case where the hints were
good and important.<br class="">
If I knew exactly what font you were using I could look at it.<br class=""></div></blockquote><div class=""><br class=""></div><div class=""><div class=""><div class="">The problem is more or less visible in a number of fonts, including the standard ones used by Java in dialogs, and several very high quality fonts supplied with Ubuntu. Of course, the actual differences vary with fonts.</div></div><div class=""> <br class=""></div></div><div class="">Also, the poor quality of font rendering of Java/Linux is known. This why there are the patches, the alternative "fixed" versions of OpenJDK etc.<br class=""></div><div class=""><br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" class=""><br class=""></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" class="">
Oracle's builds use a one that ships with the JDK binaries (not
source)<br class="">
All openjdk builds use freetype. On Linux this means Ubuntu's
openjdk will<br class="">
use the exact same copy of freetype as used for rendering the rest
of your desktop!<br class=""></div></blockquote><div class=""><br class=""></div><div class="">Thanks, so I was wrong. Then, it might be a misconfigured freetype, a buggy interface to freetype or whatever.</div><div class=""> <br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" class="">
So if it looks bad with that, it will look bad on your desktop
unless the font is interpreted differently.<br class=""></div></blockquote><div class=""><br class=""></div><div class="">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 fonts very well, thanks to the exceptional quality of that library.</div><div class=""><br class=""></div><div class="">If I run Netbeans with its standard fonts and --jdk-home of the Android Studio jdk, the GUI quality is immediately improved, thanks to the fonts rendered as expected from a properly supported Freetype.</div><div class=""><br class=""></div></div></div></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>