Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Symbol font

  Asked By: Adella    Date: Mar 06    Category: Java    Views: 852
  

please, help me with a serius problem here...


I have to do a JEditorPane drawing a text, but it doesn't work...

There are two classes.

The fist class I call it "BibleText". BibleText has a
method "getAsHTML(String nameFont)"

"getAsHTML" returns a bible text in html format, like this:


<HTML><BODY body bgcolor="#FFFFFF"><p><font face="Symbol">bibloV
genesewV ihsou cristou uiou dabid uiou
abraam</font></p></DIV></BODY></HTML>


So, when I set my JEditorPane to show this text, like this line

jEditorPane.setText(bibleText.getAsHTML());

it doesn't anything. Nothing happens. But, otherwise, if I
use "Arial" font, works fine.


Please, what's wrong? And what's the solution for this problem?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Symbol font Or get search suggestion and latest updates.




Tagged: