jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [jmeter] weisJ commented on pull request #618: Ensure fallback enabled fonts are used.
Date Mon, 28 Sep 2020 18:02:59 GMT

weisJ commented on pull request #618:
URL: https://github.com/apache/jmeter/pull/618#issuecomment-700192956


   > Hello @weisJ ,
   > Did you also test with non darklaf LAF ?
   > Thanks
   
   Yes this does work with all LaFs. In particular this fix isn't really specific to darklaf
but rather any LaF/Component that uses a non-logical font i.e. regardless of the Laf the following
won't display the characters:
   ````java
   JFrame frame = new JFrame("Test");
   JPanel content = new JPanel(new BorderLayout());
   JLabel label = new JLabel("日 月 木 水 火 犬 王 正 出 本 右 四 左 玉");
   label.setFont(new Font("Arial", Font.PLAIN, 12));
   content.add(label);
   frame.setContentPane(content);
   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   frame.pack();
   frame.setLocationRelativeTo(null);
   frame.setVisible(true);
   ````


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message