Class CidSystemInfo
The character collection a CID-keyed font's CIDs belong to (its CFF ROS operator), such as Adobe-Japan1-7; PDF's CIDSystemInfo dictionary carries the same three values.
public sealed record CidSystemInfo : IEquatable<CidSystemInfo>
- Inheritance
-
CidSystemInfo
- Implements
- Inherited Members
Examples
// A CIDFontType0 font with /CIDToGIDMap absent reaches glyphs by CID through the CFF charset.
CidSystemInfo? collection = cjk.CidSystemInfo; // Adobe-Identity-0 for this font
ushort glyph = cjk.TryGetGlyphByCid(1, out ushort byCid) ? byCid : (ushort)0;
int cid = cjk.GetCid(glyph);
Constructors
CidSystemInfo(string, string, int)
The character collection a CID-keyed font's CIDs belong to (its CFF ROS operator), such as Adobe-Japan1-7; PDF's CIDSystemInfo dictionary carries the same three values.
public CidSystemInfo(string Registry, string Ordering, int Supplement)
Parameters
RegistrystringThe registry, such as "Adobe".
OrderingstringThe ordering, such as "Japan1" or "Identity".
SupplementintThe supplement number.
Examples
// A CIDFontType0 font with /CIDToGIDMap absent reaches glyphs by CID through the CFF charset.
CidSystemInfo? collection = cjk.CidSystemInfo; // Adobe-Identity-0 for this font
ushort glyph = cjk.TryGetGlyphByCid(1, out ushort byCid) ? byCid : (ushort)0;
int cid = cjk.GetCid(glyph);
Properties
Ordering
The ordering, such as "Japan1" or "Identity".
public string Ordering { get; init; }
Property Value
Registry
The registry, such as "Adobe".
public string Registry { get; init; }
Property Value
Supplement
The supplement number.
public int Supplement { get; init; }