Class Type1Font
An Adobe Type 1 font.
public class Type1Font
- Inheritance
-
Type1Font
- Inherited Members
Properties
BoundingBox
A rectangle in glyph coordinates specifying the font bounding box. This is the smallest rectangle enclosing the shape that would result if all of the glyphs were overlayed on each other.
public PdfRectangle BoundingBox { get; }
Property Value
Encoding
The encoding dictionary defining a name for each character code.
public IReadOnlyDictionary<int, string> Encoding { get; }
Property Value
FontMatrix
The font matrix.
public TransformationMatrix FontMatrix { get; }
Property Value
Name
The name of the font.
public string Name { get; }
Property Value
PrivateDictionary
The private dictionary for this font.
public Type1PrivateDictionary PrivateDictionary { get; }
Property Value
Methods
ContainsNamedCharacter(string)
Whether the font contains a character with the given name.
public bool ContainsNamedCharacter(string name)
Parameters
name
string
Returns
GetCharacterBoundingBox(string)
Get the bounding box for the character with the given name.
public PdfRectangle? GetCharacterBoundingBox(string characterName)
Parameters
characterName
string
Returns
GetCharacterPath(string)
Get the pdfpath for the character with the given name.
public IReadOnlyList<PdfSubpath> GetCharacterPath(string characterName)
Parameters
characterName
string