Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What fonts does Java support?

fonts Java support
0
10 Posted

What fonts does Java support?

0
10

Ans : Java 1.0 implementations are guaranteed to have the fonts Helvetica, Courier, TimesRoman, and Symbol or some reasonable facsimile thereof. These names are deprecated in Java 1.1. In Java 1.1 you should use SansSerif, Serif, and Mono instead which will be mapped to an appropriate font like Helvetica, Times, or Courier. Whether fonts installed on the client are available to Java is implementation depenedent. You can get a String array of the names of the available fonts by calling the getFontList() method from java.awt.Toolkit. For example, String[] fonts = Toolkit.getDefaultToolkit().

0

Java 1.0 implementations are guaranteed to have the fonts Helvetica, Courier, TimesRoman, and Symbol or some reasonable facsimile thereof. These names are deprecated in Java 1.1. In Java 1.1 you should use SansSerif, Serif, and Mono instead which will be mapped to an appropriate font like Helvetica, Times, or Courier. Whether fonts installed on the client are available to Java is implementation depenedent.

0

Java 1.0 implementations are guaranteed to have the fonts Helvetica, Courier, TimesRoman, and Symbol or some reasonable facsimile thereof. These names are deprecated in Java 1.1. In Java 1.1 you should use SansSerif, Serif, and Mono instead which will be mapped to an appropriate font like Helvetica, Times, or Courier. Whether fonts installed on the client are available to Java is implementation depenedent. You can get a String array of the names of the available fonts by calling the getFontList() method from java.awt.Toolkit. For example, String[] fonts = Toolkit.getDefaultToolkit().

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.