Type1Font

Type1Font class

Represents Type1 Font.

public class Type1Font : Font

Properties

Name Description
override Encoding { get; } Gets Font encoding.
override FontDefinition { get; } Gets Font definition.
override FontFamily { get; set; } Gets Font family. The Font family setter is not implemented yet.
override FontName { get; set; } Gets Font face name. The Font face name setter is not implemented yet.
override FontNames { get; } Gets Font names.
FontSaver { get; } Gets Font save functionality.
override FontStyle { get; } Gets Font style. This is a value computed and represented in generalized type.
override FontType { get; } Gets Font type. Returns FontType.Type1 value.
GlyphAccessor { get; } Font glyph accessor. Retrieves glyphs and glyph identifiers.
override GlyphIdType { get; } Glyph id type specification.
override Metrics { get; } Gets Font metrics.
override NumGlyphs { get; } Gets number of glyphs in the Font.
override PostscriptNames { get; } Gets postscript Font names.
override Style { get; set; } Gets Font style. This is a raw string value provided by Font file. The Style setter is not implemented yet.

Methods

Name Description
override Convert(FontType) Converts the Font into another format.
override GetAllGlyphIds() Returns array of all glyph ids, available in the Font. Glyph id is a unique number for a glyph, which is font type dependent. Type1 Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class.
override GetGlyphById(GlyphId) Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. Type1 Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class.
virtual GetGlyphById(string) Returns glyph by glyph id.
GetGlyphById(uint) Returns glyph by glyph id.
virtual GetGlyphsForText(string) Gets glyphs representation for text.
virtual Save(Stream) Saves the Font into original format.
virtual Save(string) Saves the Font into original format.
SaveToFormat(Stream, FontSavingFormats) Saves the Font into format specified.

See Also