Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2122

FontBox's TTFDataStream doesn't set timezone in readInternationalDate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.8.5, 1.8.6, 2.0.0
    • 1.8.6, 2.0.0
    • FontBox
    • None

    Description

      TTFDataStream doesn't set the timezone for the calendar. GregorianCalendar defaults to the system's timezone. This means that people in different timezones will get slightly different dates. (TIKA-1325).

      One TTF Spec (https://developer.apple.com/fonts/TTRefMan/RM06/Chap6.html) doesn't specify the timezone, but my guess would be UTC...except that it is Apple, so maybe it's Cupertino.

      Attachments

        1. PDFBOX-2122.patch
          102 kB
          Tim Allison

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              tallison Tim Allison
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: