GithubHelp home page GithubHelp logo

Comments (9)

apodtele avatar apodtele commented on August 19, 2024 1

Wow. You found some really old page and forgot to quote the top warning. :) I am 100% sure that you do not use FreeType 1 because nobody has been for 20 years.

In a nutshell. FreeType 2 does not do perform any text layout. FreeType only reads font files and returns scaled glyph images per client (layout library) request. We simply do not have facilities to interpret contextual variations. You must be using something else for layout.

from corretto-8.

benty-amzn avatar benty-amzn commented on August 19, 2024 1

I believe the font layout code resides here. I'm not familiar with that part of the codebase, but if this issue impacts multiple vendors and not just Corretto (seems so based on the referenced Adoptium issue), we can consider opening an issue for it at https://bugs.openjdk.org/

from corretto-8.

BuZZ-dEE avatar BuZZ-dEE commented on August 19, 2024

adoptium/adoptium-support#291

from corretto-8.

lutkerd avatar lutkerd commented on August 19, 2024

Corretto is using FreeType for the rendering, can you try the tools mentioned on this page to see if this is a problem with FreeType directly?

Reporting a Bug

In case you find a bug, which you think is related to FreeType, please check the problematic font with one of our demo programs, for example ftview or ftstring. In case the problem persists, consult FreeType's issue list to find out whether the problem has been reported already. Otherwise, please submit a new issue. It is helpful to use the git version (see above) of FreeType and its demo programs for testing if possible since we don't release FreeType very often.

from corretto-8.

apodtele avatar apodtele commented on August 19, 2024

Unlikely FreeType issue. Do you use HarfBuzz?

from corretto-8.

navyxliu avatar navyxliu commented on August 19, 2024

I don't think we can use HarfBuzz in Corretto-8 right now. The integration of HarfBuzz has been delivered in jdk9^ref and never get backported to jdk8u.

I don't think I have sufficient knowledge on this topic. just offer 2 cents I found on internet. it looks like freetype can also handle OpenType Layout.

We are proud to announce that FreeType now supports the OpenType Layout extension tables (also formerly known as TrueType Open).

if we update our freetype in corretto-8, can we solve this issue?

from corretto-8.

lutkerd avatar lutkerd commented on August 19, 2024

Corretto-11+ on Linux is built to use the bundled lib in the repository so it will use FreeType 2.12.1 and HarfBuzz 4.4.1.
Corretto-8 will use the system FreeType and I believe the ICU Layout engine (See https://openjdk.org/projects/harfbuzz/).

Corretto-8 and upstream OpenJDK8 are in maintenance mode and are only accepting critical fixes.

In the description you mentioned testing on 11-16 and 19? Did you mean 11-17? If the root cause can be identified we could get it fixed in the tip version of OpenJDK and backported to 17 and 20 which will be the feature release for the next quarterly release.

from corretto-8.

BuZZ-dEE avatar BuZZ-dEE commented on August 19, 2024

In the description you mentioned testing on 11-16 and 19? Did you mean 11-17?

No, I have not yet tested it with 17. The issue from Adoptium was created long ago, the newest version was 16 at that time. Today I tested it with 19 and this issue is still there, so I assume 17 is also affected.

from corretto-8.

BuZZ-dEE avatar BuZZ-dEE commented on August 19, 2024

I believe the font layout code resides here. I'm not familiar with that part of the codebase, but if this issue impacts multiple vendors and not just Corretto (seems so based on the referenced Adoptium issue), we can consider opening an issue for it at https://bugs.openjdk.org/

@benty-amzn Yes please, open an issue in OpenJDK. I would do it by myself, but I can not, because I do not have the permissions. It is really a complicated process to get things reported in OpenJDK as an "Ottonormalverbraucher".

from corretto-8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.