On Mon, May 7, 2012 at 10:58 AM, Andrey Kuznetsov <[email protected]> wrote:
> Hi Peter,****
>
> ** **
>
> There are must be COSDictionary field called font (in PDSimpleFont).****
>
> Can you dump it and post here?****
>
> **
>
// You mean fontDictionary , I imagine?
public PDSimpleFont( COSDictionary fontDictionary )
{
super( fontDictionary );
}
/**
* Looks up, creates, returns the AWT Font.
*/
public Font getawtFont() throws IOException
{
log.error("Not yet implemented:" + getClass().getName() );
return null;
}
I notice now that this call is used in drawString so that might explain why
there is no font information
Is it worth changing to 1.7.0??
--
Peter Murray-Rust
Reader in Molecular Informatics
Unilever Centre, Dep. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069