Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1503

PDF Export removes accents from documents

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A

    Description

      To reproduce this bug, just edit https://github.com/xwiki/xwiki-platform/blob/36d58aa4d86c573452b07826a6b11ab0090e528c/xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/pdf/impl/PdfExportImplTest.java#L90 to add an accent. For example, replace Hello with

      Hello Clément

      .

      The result text will be Hello Clment ; the «é» character will be ditched by CSS4j while applying the external CSS stylesheet on the HTML.

      Marking the bug as a blocker as it's a huge regression compared to what we could do with the PDF export before.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              caubin Clément Aubin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 30 minutes
                  3h 30m