Opened 9 months ago
Last modified 8 months ago
#22075 new defect
java fonts are shown garbled with 3d support — at Version 1
Reported by: | teskor | Owned by: | |
---|---|---|---|
Component: | 3D support | Version: | VirtualBox-7.0.18 |
Keywords: | fonts java garbled | Cc: | teskor |
Guest type: | Linux | Host type: | Windows |
Description (last modified by )
After updating from 6.1.50 to 7.0.18 java fonts and some window titles are not shown/garbled (see attached screenshots). Some window titles (e.g. from vlc) have the same problem while gtk windows seem to work fine. To exclude any problems with the guest I did a clean install of rocky linux 9 as guest, where I could see the same behaviour. I started the same vm on a different host (linux) where it worked fine, so I guess it must have something to do either with windows or my hardware (Dell Precision 5540 with an NVIDIA Quadro T2000).
This is the simple java program to reproduce:
TopLevelWindow.java:
import java.awt.*; import javax.swing.*; // Create a simple GUI window public class TopLevelWindow { private static void createWindow() { JFrame frame = new JFrame("Simple GUI"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JLabel textLabel = new JLabel("I'm a label in the window",SwingConstants.CENTER); textLabel.setPreferredSize(new Dimension(300, 100)); frame.getContentPane().add(textLabel, BorderLayout.CENTER); //Display the window. frame.setLocationRelativeTo(null); frame.pack(); frame.setVisible(true); } public static void main(String[] args) { createWindow(); } }
edit: unfortunately I labled the logs as screenshots, sorry I cannot change the description
Change History (5)
by , 9 months ago
Attachment: | 3d_rocky9-2024-05-17-11-31-01 added |
---|
by , 9 months ago
Attachment: | without_3d_rocky9-2024-05-17-11-35-42 added |
---|
without 3d support it looks fine
comment:1 by , 9 months ago
Description: | modified (diff) |
---|
by , 9 months ago
Attachment: | with_3d_VirtualBox_rocky9_17_05_2024_11_30_27.png added |
---|
now really the screenshot with garbled fonts and 3d support on
by , 9 months ago
Attachment: | without_3d_VirtualBox_rocky9_17_05_2024_11_35_09.png added |
---|
now really: without 3d support it looks fine
screenshot with garbled fonts