Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14452

Unable to configure font or page size on PDF endpoints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • None
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jamesnetherton James Netherton
              jamesnetherton James Netherton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m