Hi,

I have TextPosition object by name "text" and can receive in Java font name and 
font size.

    PDFont p = text.getFont();
                
    baseFont = p.getBaseFont();
    fontSize = text.getFontSize();

The font name for example has the name: "SNYFUJ+URWBookmanL-Ligh".

This is font taken from PDF. How I can convert this font to regular one
if I build another file format from PDF. Is there converting system for the 
fonts?
The second question, please, is how I can get more information about font, like 
"Bold". Also I nee to get color. Which class is responsible to get a color of 
the text?

Thank you very much.
Alex.

--- On Fri, 9/4/09, Andreas Lehmkühler (JIRA) <j...@apache.org> wrote:

From: Andreas Lehmkühler (JIRA) <j...@apache.org>
Subject: [jira] Issue Comment Edited: (PDFBOX-512) 
org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
To: pdfbox-dev@incubator.apache.org
Date: Friday, September 4, 2009, 4:20 AM


    [ 
https://issues.apache.org/jira/browse/PDFBOX-512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751087#action_12751087
 ] 

Andreas Lehmkühler edited comment on PDFBOX-512 at 9/4/09 1:20 AM:
-------------------------------------------------------------------

I've added Christians patch with version 811030.

Thanks to Christian for the contribution

      was (Author: lehmi):
    I've added Christinas patch with version 811030.

Thanks to Christian for the contribution
  
> org.apache.pdfbox.pdmodel.PDDocument.getPageMap() always returns null
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-512
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-512
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 0.8.0-incubator
>            Reporter: Christian Spurk
>             Fix For: 0.8.0-incubator
>
>         Attachments: getPageMap.patch
>
>
> The getPageMap() method of org.apache.pdfbox.pdmodel.PDDocument can never 
> return anything else but null in the current SVN trunk version. The simple 
> patch I will attach shortly solves the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.




      

Reply via email to