pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Murray-Rust <pm...@cam.ac.uk>
Subject Re: Extracting vector graphics from PDF
Date Mon, 07 May 2012 10:13:11 GMT
On Mon, May 7, 2012 at 10:58 AM, Andrey Kuznetsov <imagero@gmx.de> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message