You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2020/01/28 19:17:00 UTC

[jira] [Created] (CAMEL-14452) Unable to configure font or page size on PDF endpoints

James Netherton created CAMEL-14452:
---------------------------------------

             Summary: Unable to configure font or page size on PDF endpoints
                 Key: CAMEL-14452
                 URL: https://issues.apache.org/jira/browse/CAMEL-14452
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 3.1.0
            Reporter: James Netherton
             Fix For: 3.1.0


This could be related to CAMEL-14284.

If you try to set the font or pageSize options on a PDF endpoint then you get an NPE. E.g

pdf:create?fontSize=6&pageSize=PAGE_SIZE_A5&font=courier

Probably due to PdfEndpointConfigurer expecting the type to be either PDFont or PDRectangle when its actually trying to deal with a String.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)