-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 12
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8231562 | 11.0.6-oracle | Philip Race | P3 | Resolved | Fixed | b01 |
JDK-8233975 | 11.0.6 | Philip Race | P3 | Resolved | Fixed | b04 |
JDK-8214654 | 8u211 | Philip Race | P3 | Resolved | Fixed | b01 |
JDK-8210909 | 8u202 | Dmitry Markov | P3 | Resolved | Fixed | b01 |
JDK-8221000 | emb-8u211 | Philip Race | P3 | Resolved | Fixed | master |
The text layout code passes a boolean flag down to the
native layer which is used to inform it how to handle device scales.
For sun.font.TrueType instances this is a cheap test, but
since on MacOS the CFont class is used, the call is very expensive
on Mac, since it makes a native call which uses core text to
retrieve the table and constructs a Java byte array and passes
it up to Java. All to discover the layout technology of the font.
If this can't be made much cheaper, the result should be cached.
native layer which is used to inform it how to handle device scales.
For sun.font.TrueType instances this is a cheap test, but
since on MacOS the CFont class is used, the call is very expensive
on Mac, since it makes a native call which uses core text to
retrieve the table and constructs a Java byte array and passes
it up to Java. All to discover the layout technology of the font.
If this can't be made much cheaper, the result should be cached.
- backported by
-
JDK-8210909 SunLayoutEngine.isAAT() font is expensive on MacOS
-
- Resolved
-
-
JDK-8214654 SunLayoutEngine.isAAT() font is expensive on MacOS
-
- Resolved
-
-
JDK-8221000 SunLayoutEngine.isAAT() font is expensive on MacOS
-
- Resolved
-
-
JDK-8231562 SunLayoutEngine.isAAT() font is expensive on MacOS
-
- Resolved
-
-
JDK-8233975 SunLayoutEngine.isAAT() font is expensive on MacOS
-
- Resolved
-