XMLWordPrintable

    • 2d
    • x86
    • linux

      Text rendering is not supported in the current implementation of pure wayland-based toolkit:

      java -Dawt.toolkit.name=WLToolkit FrameTest

      Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: jdk/lib/libfontmanager.so: /build/linux-x86_64-server-release/images/jdk/lib/libfontmanager.so: undefined symbol: AWTFontTextExtents16
      at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
      at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:395)
      at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:234)
      at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:176)
      at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:322)
      at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:289)
      at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2403)
      at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:848)
      at java.base/java.lang.System.loadLibrary(System.java:2017)
      at java.desktop/sun.font.FontManagerNativeLibrary$1.run(FontManagerNativeLibrary.java:58)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
      at java.desktop/sun.font.FontManagerNativeLibrary.<clinit>(FontManagerNativeLibrary.java:33)
      at java.desktop/sun.font.SunFontManager$1.run(SunFontManager.java:269)
      at java.desktop/sun.font.SunFontManager$1.run(SunFontManager.java:267)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
      at java.desktop/sun.font.SunFontManager.initStatic(SunFontManager.java:267)
      at java.desktop/sun.font.SunFontManager.<clinit>(SunFontManager.java:262)
      at java.desktop/sun.font.PlatformFontInfo.createFontManager(PlatformFontInfo.java:37)
      at java.desktop/sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:51)
      at java.desktop/java.awt.Font.getFont2D(Font.java:526)
      at java.desktop/java.awt.Font$FontAccessImpl.getFont2D(Font.java:265)
      at java.desktop/sun.font.FontUtilities.getFont2D(FontUtilities.java:151)
      at java.desktop/sun.java2d.SunGraphics2D.checkFontInfo(SunGraphics2D.java:672)
      at java.desktop/sun.java2d.SunGraphics2D.getFontInfo(SunGraphics2D.java:838)
      at java.desktop/sun.java2d.pipe.GlyphListPipe.drawString(GlyphListPipe.java:46)
      at java.desktop/sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2932)
      at FrameTest.paint(FrameTest.java:17)
      at java.desktop/sun.awt.wl.WLFramePeer.coalescePaintEvent(WLFramePeer.java:144)
      at java.desktop/java.awt.EventQueue.coalescePaintEvent(EventQueue.java:372)
      at java.desktop/java.awt.EventQueue.coalesceEvent(EventQueue.java:473)
      at java.desktop/java.awt.EventQueue.postEvent(EventQueue.java:336)
      at java.desktop/java.awt.EventQueue.postEventPrivate(EventQueue.java:301)
      at java.desktop/java.awt.EventQueue.postEvent(EventQueue.java:273)
      at java.desktop/sun.awt.PostEventQueue.flush(SunToolkit.java:2118)
      at java.desktop/sun.awt.SunToolkit.flushPendingEvents(SunToolkit.java:508)
      at java.desktop/java.awt.EventQueue.getNextEvent(EventQueue.java:557)
      at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:190)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

        1. FrameTest.java
          0.5 kB
        2. FrameTest.png
          FrameTest.png
          1 kB
        3. TextSampler.png
          TextSampler.png
          28 kB

            ngubarkov Nikita Gubarkov
            avu Alexey Ushakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: