Table of Contents

Class AdobeFontMetricsParser

Namespace
UglyToad.PdfPig.Fonts.AdobeFontMetrics
Assembly
UglyToad.PdfPig.Fonts.dll

Parses files in the Adobe Font Metrics (AFM) format.

public static class AdobeFontMetricsParser
Inheritance
AdobeFontMetricsParser
Inherited Members

Fields

Ascender

The ascender attribute.

public const string Ascender = "Ascender"

Field Value

string

CapHeight

The cap height.

public const string CapHeight = "CapHeight"

Field Value

string

Cc

This is a composite character.

public const string Cc = "CC"

Field Value

string

CharWidth

The character width.

public const string CharWidth = "CharWidth"

Field Value

string

CharacterSet

The character set.

public const string CharacterSet = "CharacterSet"

Field Value

string

Characters

The characters attribute.

public const string Characters = "Characters"

Field Value

string

CharmetricsB

The character metrics value.

public const string CharmetricsB = "B"

Field Value

string

CharmetricsC

The character metrics c value.

public const string CharmetricsC = "C"

Field Value

string

CharmetricsCh

The character metrics value.

public const string CharmetricsCh = "CH"

Field Value

string

CharmetricsL

The character metrics value.

public const string CharmetricsL = "L"

Field Value

string

CharmetricsN

The character metrics value.

public const string CharmetricsN = "N"

Field Value

string

CharmetricsVv

The character metrics value.

public const string CharmetricsVv = "VV"

Field Value

string

CharmetricsW

The character metrics value.

public const string CharmetricsW = "W"

Field Value

string

CharmetricsW0

The character metrics value.

public const string CharmetricsW0 = "W0"

Field Value

string

CharmetricsW0X

The character metrics value.

public const string CharmetricsW0X = "W0X"

Field Value

string

CharmetricsW0Y

The character metrics value.

public const string CharmetricsW0Y = "W0Y"

Field Value

string

CharmetricsW1

The character metrics value.

public const string CharmetricsW1 = "W1"

Field Value

string

CharmetricsW1X

The character metrics value.

public const string CharmetricsW1X = "W1X"

Field Value

string

CharmetricsW1Y

The character metrics value.

public const string CharmetricsW1Y = "W1Y"

Field Value

string

CharmetricsWx

The character metrics value.

public const string CharmetricsWx = "WX"

Field Value

string

CharmetricsWy

The character metrics value.

public const string CharmetricsWy = "WY"

Field Value

string

Comment

This is a comment in a AFM file.

public const string Comment = "Comment"

Field Value

string

Descender

The descender attribute.

public const string Descender = "Descender"

Field Value

string

EncodingScheme

The encoding scheme.

public const string EncodingScheme = "EncodingScheme"

Field Value

string

EndCharMetrics

The end of the character metrics.

public const string EndCharMetrics = "EndCharMetrics"

Field Value

string

EndComposites

This is the end of the composite data section.

public const string EndComposites = "EndComposites"

Field Value

string

EndFontMetrics

This is the constant used in the AFM file to end a font metrics item.

public const string EndFontMetrics = "EndFontMetrics"

Field Value

string

EndKernData

This is the end of the kern data.

public const string EndKernData = "EndKernData"

Field Value

string

EndKernPairs

This is the end of the kern pairs data.

public const string EndKernPairs = "EndKernPairs"

Field Value

string

EndTrackKern

This is the end of the track kern data.

public const string EndTrackKern = "EndTrackKern"

Field Value

string

EscChar

The escape character.

public const string EscChar = "EscChar"

Field Value

string

FamilyName

The family name.

public const string FamilyName = "FamilyName"

Field Value

string

FontBbox

The bounding box.

public const string FontBbox = "FontBBox"

Field Value

string

FontName

The font name.

public const string FontName = "FontName"

Field Value

string

FullName

The full name.

public const string FullName = "FullName"

Field Value

string

IsBaseFont

Whether this is a base font.

public const string IsBaseFont = "IsBaseFont"

Field Value

string

IsFixedPitch

Determines if fixed pitch.

public const string IsFixedPitch = "IsFixedPitch"

Field Value

string

IsFixedV

Whether V is fixed.

public const string IsFixedV = "IsFixedV"

Field Value

string

ItalicAngle

The italic angle.

public const string ItalicAngle = "ItalicAngle"

Field Value

string

KernPairKp

This is a kern pair.

public const string KernPairKp = "KP"

Field Value

string

KernPairKph

This is a kern pair.

public const string KernPairKph = "KPH"

Field Value

string

KernPairKpx

This is a kern pair.

public const string KernPairKpx = "KPX"

Field Value

string

KernPairKpy

This is a kern pair.

public const string KernPairKpy = "KPY"

Field Value

string

MappingScheme

The mapping scheme.

public const string MappingScheme = "MappingScheme"

Field Value

string

Notice

The notice.

public const string Notice = "Notice"

Field Value

string

Pcc

This is a composite character part.

public const string Pcc = "PCC"

Field Value

string

StartCharMetrics

The start of the character metrics.

public const string StartCharMetrics = "StartCharMetrics"

Field Value

string

StartComposites

This is the start of the composite data section.

public const string StartComposites = "StartComposites"

Field Value

string

StartFontMetrics

This is the constant used in the AFM file to start a font metrics item.

public const string StartFontMetrics = "StartFontMetrics"

Field Value

string

StartKernData

This is the start of the kern data.

public const string StartKernData = "StartKernData"

Field Value

string

StartKernPairs

This is the start of the kern pairs data.

public const string StartKernPairs = "StartKernPairs"

Field Value

string

StartKernPairs0

This is the start of the kern pairs data.

public const string StartKernPairs0 = "StartKernPairs0"

Field Value

string

StartKernPairs1

This is the start of the kern pairs data.

public const string StartKernPairs1 = "StartKernPairs1"

Field Value

string

StartTrackKern

This is the start of the track kern data.

public const string StartTrackKern = "StartTrackKern"

Field Value

string

StdHw

The character metrics value.

public const string StdHw = "StdHW"

Field Value

string

StdVw

The character metrics value.

public const string StdVw = "StdVW"

Field Value

string

UnderlinePosition

The underline position.

public const string UnderlinePosition = "UnderlinePosition"

Field Value

string

UnderlineThickness

The underline thickness.

public const string UnderlineThickness = "UnderlineThickness"

Field Value

string

VVector

The V Vector attribute.

public const string VVector = "VVector"

Field Value

string

Version

The version of the font.

public const string Version = "Version"

Field Value

string

Weight

The weight.

public const string Weight = "Weight"

Field Value

string

XHeight

The X height.

public const string XHeight = "XHeight"

Field Value

string

Methods

Parse(IInputBytes, bool)

Parse the font metrics from the input bytes.

public static AdobeFontMetrics Parse(IInputBytes bytes, bool useReducedDataSet)

Parameters

bytes IInputBytes
useReducedDataSet bool

Returns

AdobeFontMetrics