|
Hi;
I have the following line of code:
BaseFont bf =
BaseFont.createFont( "Arial Black", "Cp1252, BaseFont.NOT_EMBEDDED
);
And it throws the exception:
Exception
occurred: DocumentException: Font 'Arial Black' with 'Cp1252' is not
recognized.
I did a:
for (Iterator i =
FontFactory.getRegisteredFonts().iterator(); i.hasNext(); )
{
System.out.println((String) i.next()); and "Arial Black" is one of the fonts listed. Any ideas?
thanks - dave
|
