VirtualBox

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 teskor)

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 teskor, 9 months ago

screenshot with garbled fonts

by teskor, 9 months ago

without 3d support it looks fine

comment:1 by teskor, 9 months ago

Description: modified (diff)

by teskor, 9 months ago

now really the screenshot with garbled fonts and 3d support on

by teskor, 9 months ago

now really: without 3d support it looks fine

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette