This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java Font Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Font" Watch "Java Font" New topic
Author

Java Font

Kingsley Mullers
Ranch Hand

Joined: Jan 14, 2005
Posts: 48
Hi, how can i print output or just one line of text so that it appears in a different font style e.g Arial font
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Where are you writing your output? There's no Java support for doing anything like that to the console, but in AWT or Swing you can control the fonts you use. Share a bit of code that generates output and we'll see if we can point you toward something good.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Java Font
 
It's not a secret anymore!