File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes UTF-8 font Support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "UTF-8 font Support" Watch "UTF-8 font Support" New topic
Author

UTF-8 font Support

alonso del villar
Greenhorn

Joined: Nov 24, 2009
Posts: 5
Hello everybody, do you know wich fonts are supported for the UTF-8 encoding??

thanks!!
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

The question doesn't make sense. The UTF-8 encoding can encode any character in Unicode, in other words any character you can have in your Java code. So if you're asking "What fonts can render the entire Unicode character set" then the answer is probably "There aren't any".

Anyway fonts are generally associated with scripts, not encodings. Where did this question come from?
alonso del villar
Greenhorn

Joined: Nov 24, 2009
Posts: 5
the question comes with the problem: displaying special character into a PDF using iText, it can't display those characters even if i'm using the UTF-8 encoding type wich in theory, support those characters...
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Okay. But fonts don't have anything to do with encodings. If you have a problem with the PDF displaying character X, then the question to ask is, what fonts exist which can render character X.

And by the way, since UTF-8 can encode any character whatsoever, the concept of "special" character doesn't mean much. It certainly doesn't have a well-defined technical meaning.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: UTF-8 font Support