Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed last year. Improve this question I have written a command terminal using Swing components. The snippets of code below
Tag: fonts
Android studio IDE change persian comment font
In Android studio 4 IDE, hardly to read the Persian comment with the default font. I tried use another font in setting but no effected. How I can change comment font in Persian. Thanks a lot. Answer I accidentally solved my problem by unchecking the Italic checkbox And comment font changed to normal!
Colored Emojis in Java Swing Labels
I was wondering how to dispaly colored emojis in swing. I have a feeling that the Swing (awt) font engine is unable to do this. I’ve tried using the windows emoji font (Segoe UI Emoji), but sadly it only displays the monochrome variants. Is there any UIManager-Property or Client-Property that I can set in order to get the non-monochrome variant
TextView Numbers shown in English in Persian font
I am loading a string which contains some number (all in Persian) into an android TextView. Everything was fine until I changed my custom font, numbers of text shown as English number. Expected : …
Apache FOP embedded remote fonts
I’m using Apache FOP v2.1 embedded in a Java program. I’m trying to retrieve a remote font using a configuration file similar to the following: However, when I run the application to generate a PDF file from XML and XSL files it gives me an error: By checking the source code of FOP I discovered that FOP is trying to
Set Android Custom Font on Tab Title
I am trying to set a custom font to the titles (“Tab Item 1”, “Tab Item 2”, “Tab Item 3”) from the code below. I am really new to Android Studio and Java and am just learning by doing and kind materials that has been over the internet. Assuming I have a font named “abc.ttf” already in my assets folder,
Cannot load font in JRE 8
I cannot load a font from an S3 Inputstream in JRE 8. I do not have issue if a system is installed with JRE 7, JDK 7, or even JDK 8. The error that I got is I tried to load the inputstream to a temp file, but it does not help. I also tried to load a font directly
Getting JTextArea to display fixed-width font without antialiasing
Does anybody know how to get JTextArea to display a fixed size font on all platforms? I want to make a simple code editor with save/open functionality, which is simple enough, but I would like to get font to be fixed-size, preferably courier new. The problem is that courier new is proprietary apparently, and not only is it not installed