WrapperFontData.java 10.6 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.agl.util.ULocale
 */
package com.adobe.fontengine.font;

import com.adobe.agl.util.ULocale;
import com.adobe.fontengine.font.CatalogDescription;
import com.adobe.fontengine.font.CoolTypeScript;
import com.adobe.fontengine.font.Font;
import com.adobe.fontengine.font.FontData;
import com.adobe.fontengine.font.InvalidFontException;
import com.adobe.fontengine.font.InvalidGlyphException;
import com.adobe.fontengine.font.LineMetrics;
import com.adobe.fontengine.font.OutlineConsumer;
import com.adobe.fontengine.font.PDFFontDescription;
import com.adobe.fontengine.font.Permission;
import com.adobe.fontengine.font.Rect;
import com.adobe.fontengine.font.SWFFont4Description;
import com.adobe.fontengine.font.SWFFontDescription;
import com.adobe.fontengine.font.Scaler;
import com.adobe.fontengine.font.ScanConverter;
import com.adobe.fontengine.font.Subset;
import com.adobe.fontengine.font.UnderlineMetrics;
import com.adobe.fontengine.font.UnsupportedFontException;
import com.adobe.fontengine.font.XDCFontDescription;
import com.adobe.fontengine.fontmanagement.CacheSupportInfo;
import com.adobe.fontengine.fontmanagement.Platform;
import com.adobe.fontengine.fontmanagement.fxg.FXGFontDescription;
import com.adobe.fontengine.fontmanagement.platform.PlatformFontDescription;
import com.adobe.fontengine.fontmanagement.postscript.PostscriptFontDescription;
import com.adobe.fontengine.inlineformatting.css20.CSS20Attribute;
import com.adobe.fontengine.inlineformatting.css20.CSS20FontDescription;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Set;

public class WrapperFontData
extends FontData {
    protected FontData fontData;

    public WrapperFontData(FontData fontData) {
        super(fontData.getContainerFingerprint());
        this.fontData = fontData;
    }

    public FontData getFontData() throws InvalidFontException, UnsupportedFontException {
        return this.fontData;
    }

    public Subset createSubset() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.createSubset();
    }

    public boolean equals(Object obj) {
        return this.fontData.equals(obj);
    }

    public byte[] getContainerFingerprint() {
        return this.fontData.getContainerFingerprint();
    }

    public double getCoolTypeCapHeight() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getCoolTypeCapHeight();
    }

    public Rect getCoolTypeFontBBox() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getCoolTypeFontBBox();
    }

    public Rect getCoolTypeGlyphBBox(int glyphID) throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getCoolTypeGlyphBBox(glyphID);
    }

    public int getCoolTypeGlyphForChar(int unicodeScalarValue) throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getCoolTypeGlyphForChar(unicodeScalarValue);
    }

    public Rect getCoolTypeIcfBox() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getCoolTypeIcfBox();
    }

    public Rect getCoolTypeIdeoEmBox() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getCoolTypeIdeoEmBox();
    }

    public LineMetrics getCoolTypeLineMetrics() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getCoolTypeLineMetrics();
    }

    public boolean getCoolTypeProportionalRomanFromFontProperties() throws InvalidFontException {
        return this.fontData.getCoolTypeProportionalRomanFromFontProperties();
    }

    public CoolTypeScript getCoolTypeScript() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getCoolTypeScript();
    }

    public UnderlineMetrics getCoolTypeUnderlineMetrics() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getCoolTypeUnderlineMetrics();
    }

    public double getCoolTypeUnitsPerEm() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getCoolTypeUnitsPerEm();
    }

    public double getCoolTypeXHeight() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getCoolTypeXHeight();
    }

    public CSS20FontDescription[] getCSS20FontDescription() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getCSS20FontDescription();
    }

    public Permission getEmbeddingPermission(boolean wasEmbedded) throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getEmbeddingPermission(wasEmbedded);
    }

    public Rect getFontBBox() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getFontBBox();
    }

    public FXGFontDescription[] getFXGFontDescription(Platform platform, ULocale locale) throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getFXGFontDescription(platform, locale);
    }

    public Rect getGlyphBBox(int gid) throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getGlyphBBox(gid);
    }

    public int getGlyphForChar(int unicodeScalarValue) throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getGlyphForChar(unicodeScalarValue);
    }

    public void getGlyphOutline(int gid, OutlineConsumer consumer) throws InvalidFontException, UnsupportedFontException {
        this.fontData.getGlyphOutline(gid, consumer);
    }

    public double getHorizontalAdvance(int gid) throws InvalidGlyphException, UnsupportedFontException, InvalidFontException {
        return this.fontData.getHorizontalAdvance(gid);
    }

    public LineMetrics getLineMetrics() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getLineMetrics();
    }

    public int getNumGlyphs() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getNumGlyphs();
    }

    public PDFFontDescription getPDFFontDescription(Font font) throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getPDFFontDescription(font);
    }

    public PlatformFontDescription[] getPlatformFontDescription(Platform platform, ULocale locale) throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getPlatformFontDescription(platform, locale);
    }

    public double[] getPointSizeRange() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getPointSizeRange();
    }

    public PostscriptFontDescription[] getPostscriptFontDescription() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getPostscriptFontDescription();
    }

    public CSS20FontDescription getPreferredCSS20FontDescription() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getPreferredCSS20FontDescription();
    }

    public Scaler getScaler() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getScaler();
    }

    public Scaler getScaler(ScanConverter c) throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getScaler(c);
    }

    public CatalogDescription getSelectionDescription() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getSelectionDescription();
    }

    public SWFFont4Description getSWFFont4Description(boolean wasEmbedded) throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getSWFFont4Description(wasEmbedded);
    }

    public SWFFontDescription getSWFFontDescription(boolean wasEmbedded) throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getSWFFontDescription(wasEmbedded);
    }

    public double getUnitsPerEmX() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getUnitsPerEmX();
    }

    public double getUnitsPerEmY() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getUnitsPerEmY();
    }

    public XDCFontDescription getXDCFontDescription(Font font) throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getXDCFontDescription(font);
    }

    public boolean hasCoolTypeProportionalRoman() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.hasCoolTypeProportionalRoman();
    }

    public int hashCode() {
        return this.fontData.hashCode();
    }

    public boolean isSymbolic() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.isSymbolic();
    }

    public void subsetAndStream(Subset subset, OutputStream out, boolean preserveROS) throws InvalidFontException, UnsupportedFontException, IOException {
        this.fontData.subsetAndStream(subset, out, preserveROS);
    }

    public String toString() {
        return this.fontData.toString();
    }

    protected Rect getCoolTypeRawFontBBox() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getCoolTypeFontBBox();
    }

    protected Set getCSSFamilyNames() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getCSSFamilyNames();
    }

    protected CSS20Attribute.CSSStretchValue getCSSStretchValue() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getCSSStretchValue();
    }

    protected int getCSSWeight() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getCSSWeight();
    }

    protected String getPreferredCSSFamilyName() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.getPreferredCSSFamilyName();
    }

    protected boolean isCSSStyleItalic() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.isCSSStyleItalic();
    }

    protected boolean isCSSStyleNormal() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.isCSSStyleNormal();
    }

    protected boolean isCSSStyleOblique() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.isCSSStyleOblique();
    }

    protected boolean isCSSVariantNormal() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.isCSSVariantNormal();
    }

    protected boolean isCSSVariantSmallCaps() throws InvalidFontException, UnsupportedFontException {
        return this.fontData.isCSSVariantSmallCaps();
    }

    public CacheSupportInfo getCacheSupportInfo() throws UnsupportedFontException, InvalidFontException {
        return this.fontData.getCacheSupportInfo();
    }
}