Comments (9)
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.
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.
from corretto-8.
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.
Unlikely FreeType issue. Do you use HarfBuzz?
from corretto-8.
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.
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.
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.
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)
- Correto 8 usage error HOT 1
- JVM crash HOT 4
- java.lang.NoClassDefFoundError: sun.font.SunFontManager exception when moving from oracle jdk 8 to corretto jdk 1.8.0_362. HOT 11
- A fatal error has been detected by the Java Runtime Environment HOT 7
- A fatal error has been detected by the Java Runtime Environment HOT 3
- Java Corretto on workstations - Enterprise configuration HOT 1
- corretto version reports vulnerabilities in nessus scan. HOT 1
- Visual Studio C++ Redistributable has known EOL HOT 2
- crash during pyspak runing HOT 1
- Maven needs JAVA_HOME set to: /usr/lib/jvm/java-1.8.0-amazon-corretto/jre HOT 7
- jfxwebkit.dll cannot load HOT 1
- Can you help me? HOT 1
- OpenJDK Runtime Environment (8.0_382-b05) (build 1.8.0_382-b05) not adaper version when called HCCore.dll HOT 3
- Port JDK-8259943 to Java 8
- JVM crushed HOT 6
- SIGSEGV (0xb) at pc=0x4c8d4804e0c148f6, pid=46732, tid=0x00007faba7690700 HOT 7
- Regression: MSVC DLLs not found when using Javapackager with Corretto 8 versions after 8.372.07.1 HOT 1
- java.nio.Files.readAttributes() truncates file timestamps HOT 4
- JVM crashes on Windows when using JNI to call a C++ dll using a mutex HOT 1
- core dump on System.exit(0); HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corretto-8.