[jira] [Commented] (PDFBOX-2122) FontBox's TTFDataStream doesn't set timezone in readInternationalDate
[ https://issues.apache.org/jira/browse/PDFBOX-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025463#comment-14025463 ] Hudson commented on PDFBOX-2122: SUCCESS: Integrated in tika-trunk-jdk1.6 #36 (See [https://builds.apache.org/job/tika-trunk-jdk1.6/36/]) TIKA-1325: small workaround until we can integrate PDFBOX-2122. Default timezone is now set and then unset for ttf test in FontParsers test. (tallison: http://svn.apache.org/viewvc/tika/trunk/?view=rev&rev=1601444) * /tika/trunk/tika-parsers/src/test/java/org/apache/tika/parser/font/FontParsersTest.java > FontBox's TTFDataStream doesn't set timezone in readInternationalDate > - > > Key: PDFBOX-2122 > URL: https://issues.apache.org/jira/browse/PDFBOX-2122 > Project: PDFBox > Issue Type: Bug > Components: FontBox >Affects Versions: 1.8.5, 1.8.6, 2.0.0 >Reporter: Tim Allison >Assignee: Tilman Hausherr >Priority: Trivial > Fix For: 1.8.6, 2.0.0 > > Attachments: PDFBOX-2122.patch > > > 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. :) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (PDFBOX-2122) FontBox's TTFDataStream doesn't set timezone in readInternationalDate
[ https://issues.apache.org/jira/browse/PDFBOX-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025435#comment-14025435 ] Hudson commented on PDFBOX-2122: SUCCESS: Integrated in tika-trunk-jdk1.7 #36 (See [https://builds.apache.org/job/tika-trunk-jdk1.7/36/]) TIKA-1325: small workaround until we can integrate PDFBOX-2122. Default timezone is now set and then unset for ttf test in FontParsers test. (tallison: http://svn.apache.org/viewvc/tika/trunk/?view=rev&rev=1601444) * /tika/trunk/tika-parsers/src/test/java/org/apache/tika/parser/font/FontParsersTest.java > FontBox's TTFDataStream doesn't set timezone in readInternationalDate > - > > Key: PDFBOX-2122 > URL: https://issues.apache.org/jira/browse/PDFBOX-2122 > Project: PDFBox > Issue Type: Bug > Components: FontBox >Affects Versions: 1.8.5, 1.8.6, 2.0.0 >Reporter: Tim Allison >Assignee: Tilman Hausherr >Priority: Trivial > Fix For: 1.8.6, 2.0.0 > > Attachments: PDFBOX-2122.patch > > > 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. :) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (PDFBOX-2122) FontBox's TTFDataStream doesn't set timezone in readInternationalDate
[ https://issues.apache.org/jira/browse/PDFBOX-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025333#comment-14025333 ] Tilman Hausherr commented on PDFBOX-2122: - You can upload them like you uploaded the patch. > FontBox's TTFDataStream doesn't set timezone in readInternationalDate > - > > Key: PDFBOX-2122 > URL: https://issues.apache.org/jira/browse/PDFBOX-2122 > Project: PDFBox > Issue Type: Bug > Components: FontBox >Affects Versions: 1.8.5, 1.8.6, 2.0.0 >Reporter: Tim Allison >Assignee: Tilman Hausherr >Priority: Trivial > Fix For: 1.8.6, 2.0.0 > > Attachments: PDFBOX-2122.patch > > > 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. :) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (PDFBOX-2122) FontBox's TTFDataStream doesn't set timezone in readInternationalDate
[ https://issues.apache.org/jira/browse/PDFBOX-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025321#comment-14025321 ] Tim Allison commented on PDFBOX-2122: - Thank you! Y, that was the first time I've built a patch with Eclipse in Windows. When I create a patch in svn in linux, it won't let me include binary files. Is there a preferred way on PDFBox to attach test files? Thank you, again. > FontBox's TTFDataStream doesn't set timezone in readInternationalDate > - > > Key: PDFBOX-2122 > URL: https://issues.apache.org/jira/browse/PDFBOX-2122 > Project: PDFBox > Issue Type: Bug > Components: FontBox >Affects Versions: 1.8.5, 1.8.6, 2.0.0 >Reporter: Tim Allison >Assignee: Tilman Hausherr >Priority: Trivial > Fix For: 1.8.6, 2.0.0 > > Attachments: PDFBOX-2122.patch > > > 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. :) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (PDFBOX-2122) FontBox's TTFDataStream doesn't set timezone in readInternationalDate
[ https://issues.apache.org/jira/browse/PDFBOX-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025275#comment-14025275 ] Tilman Hausherr commented on PDFBOX-2122: - Could you please attach the ttf file standalone? For some reason, the combined patch doesn't work. > FontBox's TTFDataStream doesn't set timezone in readInternationalDate > - > > Key: PDFBOX-2122 > URL: https://issues.apache.org/jira/browse/PDFBOX-2122 > Project: PDFBox > Issue Type: Bug > Components: FontBox >Reporter: Tim Allison >Priority: Trivial > Attachments: PDFBOX-2122.patch > > > 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. :) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (PDFBOX-2122) FontBox's TTFDataStream doesn't set timezone in readInternationalDate
[ https://issues.apache.org/jira/browse/PDFBOX-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025206#comment-14025206 ] Tim Allison commented on PDFBOX-2122: - Working on test case now. Thank you! > FontBox's TTFDataStream doesn't set timezone in readInternationalDate > - > > Key: PDFBOX-2122 > URL: https://issues.apache.org/jira/browse/PDFBOX-2122 > Project: PDFBox > Issue Type: Bug > Components: FontBox >Reporter: Tim Allison >Priority: Trivial > > 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. :) -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (PDFBOX-2122) FontBox's TTFDataStream doesn't set timezone in readInternationalDate
[ https://issues.apache.org/jira/browse/PDFBOX-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020985#comment-14020985 ] Tilman Hausherr commented on PDFBOX-2122: - If we change something, do you have a test that can show that the change produces something correct? Or can you change it yourself locally and test it? I'd change {code} GregorianCalendar cal = new GregorianCalendar(1904, 0, 1); {code} to {code} Calendar cal = GregorianCalendar.getInstance(TimeZone.getTimeZone("UTC")); cal.set(1904, 0, 1, 0, 0, 0); {code} > FontBox's TTFDataStream doesn't set timezone in readInternationalDate > - > > Key: PDFBOX-2122 > URL: https://issues.apache.org/jira/browse/PDFBOX-2122 > Project: PDFBox > Issue Type: Bug > Components: FontBox >Reporter: Tim Allison >Priority: Trivial > > 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. :) -- This message was sent by Atlassian JIRA (v6.2#6252)