Font issues
See original GitHub issueIt seems FlatLaf has some issues trying to detect which are my current font settings, as demonstrated by this simple example:
This is how it looks
This is how it should look
Here’s the code of this example (I had to modify FlatLaf src to access LinuxFontPolicy#getGnomeFont)
public class Main {
public static void main (final String[] argv) {
FlatIntelliJLaf.install();
Font info = LinuxFontPolicy.getGnomeFont();
String text = "This is what FlatLaf thinks it's my system wide font:\n\n";
JOptionPane.showOptionDialog(
null,
text + info.toString(),
"Correct Font Example",
0,
JOptionPane.INFORMATION_MESSAGE,
null,
new Object[] {"A button, of course"}, 0
);
}
}
System Info
FlatLaf Versions Tested
FlatLaf (master) FlatLaf (1.1.2)
Desktop Environment
MATE 1.24.0
java -version
openjdk version “14.0.2” 2020-07-14 OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-120.04) OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing)
lsb_release -a
Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal
uname -a
Linux PC 5.8.0-50-lowlatency 56~20.04.1-Ubuntu SMP PREEMPT Tue Apr 13 01:48:06 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Troubleshoot font issues - Adobe Support
Font issues, especially damaged fonts, can lead to various issues in Illustrator and InDesign. Follow the troubleshooting steps explained in ...
Read more >Font Issues: 5 Tips to Avoid problems at the Printer ...
Here are 5 quick tips to help you over come potential font issues. 1. Get Organized. If you are laying out a design,...
Read more >How to solve common font issues in editable PDFs
STEP 1: CHECK THAT THE FONTS HAVE BEEN EMBEDDED · Open the PDF in Adobe Reader · Right click on the PDF and...
Read more >Troubleshooting Font Issues - Oracle Help Center
To help resolve font issues that may occur in your applications, this section provides the following troubleshooting information:.
Read more >Troubleshoot font issues - Figma Help Center
Troubleshoot font issues. In this article, we'll explore some common issues with text and fonts and guide you on how to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kingthorin please open a new issue
Had some issues with PR #310…
There is a fix in commit 9edaf5892949523096a1270e45b16b06e4fb4d68 Please give it a try…