Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CBA42200B46 for ; Tue, 7 Jun 2016 22:50:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CA1F2160A5F; Tue, 7 Jun 2016 20:50:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8153A160A66 for ; Tue, 7 Jun 2016 22:50:25 +0200 (CEST) Received: (qmail 85268 invoked by uid 500); 7 Jun 2016 20:50:24 -0000 Mailing-List: contact commits-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 commits@pdfbox.apache.org Received: (qmail 84711 invoked by uid 99); 7 Jun 2016 20:50:24 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jun 2016 20:50:24 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3B3A3E95C5; Tue, 7 Jun 2016 20:50:24 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: msahyoun@apache.org To: commits@pdfbox.apache.org Date: Tue, 07 Jun 2016 20:50:39 -0000 Message-Id: <25169b7aa7e34879ac13ab62347e0aba@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [17/51] [partial] pdfbox-docs git commit: Site checkin for project Apache PDFBox Website archived-at: Tue, 07 Jun 2016 20:50:29 -0000 http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/cd8511a3/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFParser.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFParser.html b/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFParser.html new file mode 100644 index 0000000..b370612 --- /dev/null +++ b/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFParser.html @@ -0,0 +1,386 @@ + + + + + +TTFParser (PDFBox reactor 2.0.2 API) + + + + + + + + + + +
+
org.apache.fontbox.ttf
+

Class TTFParser

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    OTFParser
    +
    +
    +
    +
    public class TTFParser
    +extends Object
    +
    TrueType font file parser.
    +
    Author:
    +
    Ben Litchfield
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TTFParser

        +
        public TTFParser()
        +
        Constructor.
        +
      • +
      + + + +
        +
      • +

        TTFParser

        +
        public TTFParser(boolean isEmbedded)
        +
        Constructor.
        +
        Parameters:
        isEmbedded - true if the font is embedded in PDF
        +
      • +
      + + + +
        +
      • +

        TTFParser

        +
        public TTFParser(boolean isEmbedded,
        +         boolean parseOnDemand)
        +
        Constructor.
        +
        Parameters:
        isEmbedded - true if the font is embedded in PDF
        parseOnDemand - true if the tables of the font should be parsed on demand
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        parse

        +
        public TrueTypeFont parse(String ttfFile)
        +                   throws IOException
        +
        Parse a file and return a TrueType font.
        +
        Parameters:
        ttfFile - The TrueType font filename.
        +
        Returns:
        A TrueType font.
        +
        Throws:
        +
        IOException - If there is an error parsing the TrueType font.
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public TrueTypeFont parse(File ttfFile)
        +                   throws IOException
        +
        Parse a file and return a TrueType font.
        +
        Parameters:
        ttfFile - The TrueType font file.
        +
        Returns:
        A TrueType font.
        +
        Throws:
        +
        IOException - If there is an error parsing the TrueType font.
        +
      • +
      + + + +
        +
      • +

        parse

        +
        public TrueTypeFont parse(InputStream inputStream)
        +                   throws IOException
        +
        Parse an input stream and return a TrueType font.
        +
        Parameters:
        inputStream - The TTF data stream to parse from. It will be closed before returning.
        +
        Returns:
        A TrueType font.
        +
        Throws:
        +
        IOException - If there is an error parsing the TrueType font.
        +
      • +
      + + + +
        +
      • +

        parseEmbedded

        +
        public TrueTypeFont parseEmbedded(InputStream inputStream)
        +                           throws IOException
        +
        Parse an input stream and return a TrueType font that is to be embedded.
        +
        Parameters:
        inputStream - The TTF data stream to parse from. It will be closed before returning.
        +
        Returns:
        A TrueType font.
        +
        Throws:
        +
        IOException - If there is an error parsing the TrueType font.
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/cd8511a3/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFSubsetter.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFSubsetter.html b/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFSubsetter.html new file mode 100644 index 0000000..f4d7c80 --- /dev/null +++ b/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFSubsetter.html @@ -0,0 +1,367 @@ + + + + + +TTFSubsetter (PDFBox reactor 2.0.2 API) + + + + + + + + + + +
+
org.apache.fontbox.ttf
+

Class TTFSubsetter

+
+
+ +
+
    +
  • +
    +
    +
    public final class TTFSubsetter
    +extends Object
    +
    Subsetter for TrueType (TTF) fonts. + +

    Originally developed by Wolfgang Glas for + Sketch.

    +
    Author:
    +
    Wolfgang Glas
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TTFSubsetter

        +
        public TTFSubsetter(TrueTypeFont ttf)
        +             throws IOException
        +
        Creates a subsetter for the given font.
        +
        Parameters:
        ttf - the font to be subset
        +
        Throws:
        +
        IOException
        +
      • +
      + + + +
        +
      • +

        TTFSubsetter

        +
        public TTFSubsetter(TrueTypeFont ttf,
        +            List<String> tables)
        +             throws IOException
        +
        Creates a subsetter for the given font.
        +
        Parameters:
        ttf - the font to be subset
        tables - optional tables to keep if present
        +
        Throws:
        +
        IOException
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        setPrefix

        +
        public void setPrefix(String prefix)
        +
        Sets the prefix to add to the font's PostScript name.
        +
      • +
      + + + +
        +
      • +

        add

        +
        public void add(int unicode)
        +
        Add the given character code to the subset.
        +
        Parameters:
        unicode - character code
        +
      • +
      + + + +
        +
      • +

        addAll

        +
        public void addAll(Set<Integer> unicodeSet)
        +
        Add the given character codes to the subset.
        +
        Parameters:
        unicodeSet - character code set
        +
      • +
      + + + + + + + +
        +
      • +

        writeToStream

        +
        public void writeToStream(OutputStream os)
        +                   throws IOException
        +
        Write the subfont to the given output stream.
        +
        Parameters:
        os - the stream used for writing
        +
        Throws:
        +
        IOException - if something went wrong.
        +
        IllegalStateException - if the subset is empty.
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/cd8511a3/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFTable.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFTable.html b/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFTable.html new file mode 100644 index 0000000..a9cc932 --- /dev/null +++ b/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TTFTable.html @@ -0,0 +1,344 @@ + + + + + +TTFTable (PDFBox reactor 2.0.2 API) + + + + + + + + + + +
+
org.apache.fontbox.ttf
+

Class TTFTable

+
+
+ + +
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        initialized

        +
        protected boolean initialized
        +
        Indicates if the table is initialized or not.
        +
      • +
      + + + +
        +
      • +

        font

        +
        protected final TrueTypeFont font
        +
        The font which contains this table.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCheckSum

        +
        public long getCheckSum()
        +
        Returns:
        Returns the checkSum.
        +
      • +
      + + + +
        +
      • +

        getLength

        +
        public long getLength()
        +
        Returns:
        Returns the length.
        +
      • +
      + + + +
        +
      • +

        getOffset

        +
        public long getOffset()
        +
        Returns:
        Returns the offset.
        +
      • +
      + + + +
        +
      • +

        getTag

        +
        public String getTag()
        +
        Returns:
        Returns the tag.
        +
      • +
      + + + +
        +
      • +

        getInitialized

        +
        public boolean getInitialized()
        +
        Indicates if the table is already initialized.
        +
        Returns:
        true if the table is initialized
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/cd8511a3/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.TrueTypeFontProcessor.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.TrueTypeFontProcessor.html b/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.TrueTypeFontProcessor.html new file mode 100644 index 0000000..78aa314 --- /dev/null +++ b/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.TrueTypeFontProcessor.html @@ -0,0 +1,214 @@ + + + + + +TrueTypeCollection.TrueTypeFontProcessor (PDFBox reactor 2.0.2 API) + + + + + + + + + + +
+
org.apache.fontbox.ttf
+

Interface TrueTypeCollection.TrueTypeFontProcessor

+
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidprocess(TrueTypeFont ttf) 
      +
    • +
    +
  • +
+
+
+ +
+
+ + + + + +

Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.

+ + http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/cd8511a3/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.html b/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.html new file mode 100644 index 0000000..6fe2a34 --- /dev/null +++ b/content/docs/2.0.2/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.html @@ -0,0 +1,361 @@ + + + + + +TrueTypeCollection (PDFBox reactor 2.0.2 API) + + + + + + + + + + +
+
org.apache.fontbox.ttf
+

Class TrueTypeCollection

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    Closeable, AutoCloseable
    +
    +
    +
    +
    public class TrueTypeCollection
    +extends Object
    +implements Closeable
    +
    A TrueType Collection, now more properly known as a "Font Collection" as it may contain either + TrueType or OpenType fonts.
    +
    Author:
    +
    John Hewson
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TrueTypeCollection

        +
        public TrueTypeCollection(File file)
        +                   throws IOException
        +
        Creates a new TrueTypeCollection from a .ttc file.
        +
        Parameters:
        file - The TTC file.
        +
        Throws:
        +
        IOException - If the font could not be parsed.
        +
      • +
      + + + +
        +
      • +

        TrueTypeCollection

        +
        public TrueTypeCollection(InputStream stream)
        +                   throws IOException
        +
        Creates a new TrueTypeCollection from a .ttc input stream.
        +
        Parameters:
        stream - A TTC input stream.
        +
        Throws:
        +
        IOException - If the font could not be parsed.
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + + + + +

Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.

+ +