From commits-return-12915-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Tue Aug 14 10:08:29 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E275D1807B5 for ; Tue, 14 Aug 2018 10:08:26 +0200 (CEST) Received: (qmail 61385 invoked by uid 500); 14 Aug 2018 08:08:26 -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 60488 invoked by uid 99); 14 Aug 2018 08:08:25 -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, 14 Aug 2018 08:08:25 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 13F38E1158; Tue, 14 Aug 2018 08:08: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, 14 Aug 2018 08:08:37 -0000 Message-Id: <2c6c6aa104ad452ba73813ccab74fc1a@git.apache.org> In-Reply-To: <7a1ba0dcb1be4d2cab650fdba22669d6@git.apache.org> References: <7a1ba0dcb1be4d2cab650fdba22669d6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [15/53] [partial] pdfbox-docs git commit: PDFBOX-3330: add javadoc for 2.0.9, 2.0.10, 2.0.11 http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dd18b3e2/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TTFSubsetter.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TTFSubsetter.html b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TTFSubsetter.html new file mode 100644 index 0000000..1a5aad4 --- /dev/null +++ b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TTFSubsetter.html @@ -0,0 +1,403 @@ + + + + + + +TTFSubsetter (PDFBox reactor 2.0.10 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. It will be closed by this method.
        +
        Throws:
        +
        IOException - if something went wrong.
        +
        IllegalStateException - if the subset is empty.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + +

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

+ + http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dd18b3e2/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TTFTable.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TTFTable.html b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TTFTable.html new file mode 100644 index 0000000..1bce53b --- /dev/null +++ b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TTFTable.html @@ -0,0 +1,377 @@ + + + + + + +TTFTable (PDFBox reactor 2.0.10 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–2018 The Apache Software Foundation. All rights reserved.

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

Interface TrueTypeCollection.TrueTypeFontProcessor

+
+
+
+ +
+
+ +
+
+ +
+
+ + + + + +

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

+ + http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/dd18b3e2/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.html ---------------------------------------------------------------------- diff --git a/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.html b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.html new file mode 100644 index 0000000..9d31a37 --- /dev/null +++ b/content/docs/2.0.10/javadocs/org/apache/fontbox/ttf/TrueTypeCollection.html @@ -0,0 +1,393 @@ + + + + + + +TrueTypeCollection (PDFBox reactor 2.0.10 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–2018 The Apache Software Foundation. All rights reserved.

+ +