Return-Path: X-Original-To: apmail-pdfbox-dev-archive@www.apache.org Delivered-To: apmail-pdfbox-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C0A410E4C for ; Wed, 4 Jun 2014 10:17:02 +0000 (UTC) Received: (qmail 42313 invoked by uid 500); 4 Jun 2014 10:17:02 -0000 Delivered-To: apmail-pdfbox-dev-archive@pdfbox.apache.org Received: (qmail 42293 invoked by uid 500); 4 Jun 2014 10:17:02 -0000 Mailing-List: contact dev-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list dev@pdfbox.apache.org Received: (qmail 42282 invoked by uid 99); 4 Jun 2014 10:17:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 10:17:02 +0000 Date: Wed, 4 Jun 2014 10:17:02 +0000 (UTC) From: "Tilman Hausherr (JIRA)" To: dev@pdfbox.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PDFBOX-2109) CFFParser uses String constructor without encoding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PDFBOX-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tilman Hausherr updated PDFBOX-2109: ------------------------------------ Component/s: FontBox > CFFParser uses String constructor without encoding > -------------------------------------------------- > > Key: PDFBOX-2109 > URL: https://issues.apache.org/jira/browse/PDFBOX-2109 > Project: PDFBox > Issue Type: Bug > Components: FontBox > Affects Versions: 1.8.5, 1.8.6, 2.0.0 > Reporter: Petr Slaby > Priority: Trivial > Fix For: 1.8.6, 2.0.0 > > Attachments: CFFParser.java.patch > > > The string constructor called in CFFParser#readTagName() should specify an encoding, probably "ISO-8859-1", otherwise it will not work on systems where the default encoding is something "exotic" (we have some with EBCDIC, but I never tried to run PDFBox there). Patch attached. -- This message was sent by Atlassian JIRA (v6.2#6252)