4 Replies Latest reply: Jun 3, 2011 12:04 PM by DavidThi808 RSS

    AttributedString.addAttribute(TextAttribute.FAMILY - how are names mapped?

    DavidThi808
      Hi;

      How can I determine what Java is doing to map font names when I pass a name to AttributedString.addAttribute() and it does not have that font on the system? And what is the best way to handle this?

      We are trying to layout text on a linux server that will later be displayed on a Windows system. We need to use Times New Roman that does not exist on a lot of linux servers.

      thanks - dave