| Package | org.alivepdf.fonts |
| Class | public class EmbeddedFont |
| Inheritance | EmbeddedFont CoreFont Object |
| Implements | IFont |
| Property | Defined By | ||
|---|---|---|---|
![]() | charactersWidth : Object [read-only]
| CoreFont | |
| description : FontDescription [read-only]
| EmbeddedFont | ||
| differences : String | EmbeddedFont | ||
| encoding : Class [read-only]
| EmbeddedFont | ||
![]() | id : int | CoreFont | |
![]() | name : String | CoreFont | |
![]() | numGlyphs : int [read-only]
| CoreFont | |
| originalSize : int [read-only]
| EmbeddedFont | ||
![]() | resourceId : int | CoreFont | |
| stream : ByteArray [read-only]
| EmbeddedFont | ||
![]() | type : String [read-only]
| CoreFont | |
![]() | underlinePosition : int [read-only]
| CoreFont | |
![]() | underlineThickness : int [read-only]
| CoreFont | |
| weight : String [read-only]
| EmbeddedFont | ||
| widths : Object [read-only]
| EmbeddedFont | ||
| Property | Defined By | ||
|---|---|---|---|
| _afmParser : AFMParser | EmbeddedFont | ||
![]() | _charactersWidth : Object | CoreFont | |
| _description : FontDescription | EmbeddedFont | ||
| _differences : String | EmbeddedFont | ||
![]() | dispatcher : EventDispatcher | CoreFont | |
| _encoding : Class | EmbeddedFont | ||
![]() | _id : int | CoreFont | |
![]() | _name : String | CoreFont | |
![]() | _numGlyphs : int | CoreFont | |
| _originalSize : int | EmbeddedFont | ||
![]() | _resourceId : int | CoreFont | |
| _stream : ByteArray | EmbeddedFont | ||
![]() | _type : String | CoreFont | |
![]() | _underlinePosition : int = -100 | CoreFont | |
![]() | _underlineThickness : int = 50 | CoreFont | |
| _version : String | EmbeddedFont | ||
| _weight : String | EmbeddedFont | ||
| _widths : Object | EmbeddedFont | ||
| Method | Defined By | ||
|---|---|---|---|
EmbeddedFont(stream:ByteArray, afm:ByteArray, codePage:Class) | EmbeddedFont | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void | CoreFont | |
![]() | dispatchEvent(event:Event):Boolean | CoreFont | |
![]() | hasEventListener(type:String):Boolean | CoreFont | |
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | CoreFont | |
toString():String [override] | EmbeddedFont | ||
![]() | willTrigger(type:String):Boolean | CoreFont | |
| _afmParser | property |
protected var _afmParser:AFMParser| _description | property |
protected var _description:FontDescription| _differences | property |
protected var _differences:String| _encoding | property |
protected var _encoding:Class| _originalSize | property |
protected var _originalSize:int| _stream | property |
protected var _stream:ByteArray| _version | property |
protected var _version:String| _weight | property |
protected var _weight:String| _widths | property |
protected var _widths:Object| description | property |
description:FontDescription [read-only]
public function get description():FontDescription| differences | property |
differences:String
public function get differences():String public function set differences(value:String):void| encoding | property |
encoding:Class [read-only]
public function get encoding():Class| originalSize | property |
originalSize:int [read-only]
public function get originalSize():int| stream | property |
stream:ByteArray [read-only]
public function get stream():ByteArray| weight | property |
weight:String [read-only]
public function get weight():String| widths | property |
widths:Object [read-only]
public function get widths():Object| EmbeddedFont | () | Constructor |
public function EmbeddedFont(stream:ByteArray, afm:ByteArray, codePage:Class)Parameters
stream:ByteArray — The font stream - TrueType (.TTF) for now
| |
afm:ByteArray — Adobe Font Metrics file (.AFM)
| |
codePage:Class — The character mapping table - Default CodePage.1252
|
| toString | () | method |
override public function toString():StringReturnsString |