Table of Contents

Class TrueTypeFont

Namespace
Org.Apache.Fontbox.Ttf
Assembly
MASES.NetPDF.dll
public class TrueTypeFont : JVMBridgeBase<TrueTypeFont>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IFontBoxFont, ICloseable, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<TrueTypeFont>
TrueTypeFont
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<TrueTypeFont>.IsAssignableFrom(IJavaType)
JVMBridgeBase<TrueTypeFont>.IsAssignableFrom<T>()
JVMBridgeBase<TrueTypeFont>.Execute<T>(params T[])
JVMBridgeBase<TrueTypeFont>.DynBridgeClazz
JVMBridgeBase<TrueTypeFont>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

TrueTypeFont()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public TrueTypeFont()

TrueTypeFont(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public TrueTypeFont(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Cmap

public CmapTable Cmap { get; }

Property Value

CmapTable

FontBBox

public BoundingBox FontBBox { get; }

Property Value

BoundingBox

FontMatrix

public List<Number> FontMatrix { get; }

Property Value

List<Number>

Glyph

public GlyphTable Glyph { get; }

Property Value

GlyphTable

Gsub

public GlyphSubstitutionTable Gsub { get; }

Property Value

GlyphSubstitutionTable

GsubData

public GsubData GsubData { get; }

Property Value

GsubData

Header

public HeaderTable Header { get; }

Property Value

HeaderTable

HorizontalHeader

public HorizontalHeaderTable HorizontalHeader { get; }

Property Value

HorizontalHeaderTable

HorizontalMetrics

public HorizontalMetricsTable HorizontalMetrics { get; }

Property Value

HorizontalMetricsTable

IndexToLocation

public IndexToLocationTable IndexToLocation { get; }

Property Value

IndexToLocationTable

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Kerning

public KerningTable Kerning { get; }

Property Value

KerningTable

MaximumProfile

public MaximumProfileTable MaximumProfile { get; }

Property Value

MaximumProfileTable

Name

public String Name { get; }

Property Value

String

Naming

public NamingTable Naming { get; }

Property Value

NamingTable

NumberOfGlyphs

public int NumberOfGlyphs { get; }

Property Value

int

OS2Windows

public OS2WindowsMetricsTable OS2Windows { get; }

Property Value

OS2WindowsMetricsTable

OriginalData

public InputStream OriginalData { get; }

Property Value

InputStream

OriginalDataSize

public long OriginalDataSize { get; }

Property Value

long

PostScript

public PostScriptTable PostScript { get; }

Property Value

PostScriptTable

TableMap

public Map<String, TTFTable> TableMap { get; }

Property Value

Map<String, TTFTable>

Tables

public Collection<TTFTable> Tables { get; }

Property Value

Collection<TTFTable>

UnicodeCmapLookup

public CmapLookup UnicodeCmapLookup { get; }

Property Value

CmapLookup

UnitsPerEm

public int UnitsPerEm { get; }

Property Value

int

Version

public float Version { get; }

Property Value

float

VerticalHeader

public VerticalHeaderTable VerticalHeader { get; }

Property Value

VerticalHeaderTable

VerticalMetrics

public VerticalMetricsTable VerticalMetrics { get; }

Property Value

VerticalMetricsTable

VerticalOrigin

public VerticalOriginTable VerticalOrigin { get; }

Property Value

VerticalOriginTable

Methods

Close()

public void Close()

Exceptions

IOException

DisableGsubFeature(String)

public void DisableGsubFeature(String arg0)

Parameters

arg0 String

String

EnableGsubFeature(String)

public void EnableGsubFeature(String arg0)

Parameters

arg0 String

String

EnableVerticalSubstitutions()

public void EnableVerticalSubstitutions()

GetAdvanceHeight(int)

public int GetAdvanceHeight(int arg0)

Parameters

arg0 int

int

Returns

int

int

Exceptions

IOException

GetAdvanceWidth(int)

public int GetAdvanceWidth(int arg0)

Parameters

arg0 int

int

Returns

int

int

Exceptions

IOException

GetPath(String)

public GeneralPath GetPath(String arg0)

Parameters

arg0 String

String

Returns

GeneralPath

GeneralPath

Exceptions

IOException

GetTableBytes(TTFTable)

public byte[] GetTableBytes(TTFTable arg0)

Parameters

arg0 TTFTable

TTFTable

Returns

byte[]

byte

Exceptions

IOException

GetTableNBytes(TTFTable, int)

public byte[] GetTableNBytes(TTFTable arg0, int arg1)

Parameters

arg0 TTFTable

TTFTable

arg1 int

int

Returns

byte[]

byte

Exceptions

IOException

GetUnicodeCmapLookup(bool)

public CmapLookup GetUnicodeCmapLookup(bool arg0)

Parameters

arg0 bool

bool

Returns

CmapLookup

CmapLookup

Exceptions

IOException

GetWidth(String)

public float GetWidth(String arg0)

Parameters

arg0 String

String

Returns

float

float

Exceptions

IOException

HasGlyph(String)

public bool HasGlyph(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

Exceptions

IOException

IsEnableGsub()

public bool IsEnableGsub()

Returns

bool

bool

NameToGID(String)

public int NameToGID(String arg0)

Parameters

arg0 String

String

Returns

int

int

Exceptions

IOException

SetEnableGsub(bool)

public void SetEnableGsub(bool arg0)

Parameters

arg0 bool

bool

Operators

implicit operator Closeable(TrueTypeFont)

Converter from TrueTypeFont to Closeable

public static implicit operator Closeable(TrueTypeFont t)

Parameters

t TrueTypeFont

Returns

Closeable

implicit operator FontBoxFont(TrueTypeFont)

Converter from TrueTypeFont to FontBoxFont

public static implicit operator FontBoxFont(TrueTypeFont t)

Parameters

t TrueTypeFont

Returns

FontBoxFont