Class NameIndexDataProvider

NameIndexDataProvider class

Declares functionality to access CFF Name INDEX structure.

public abstract class NameIndexDataProvider : ICffIndexDataProvider

Properties

NameDescription
abstract Count { get; }The number of objects in the CFF INDEX structure.
abstract Item { get; set; }Gets/sets font name at the specified index.

Methods

NameDescription
abstract AddName(string)Adds a font name to the Name INDEX structure. Use this method with caution because each font name in the CFF Name INDEX structure must have a corresponding DICT structure in the Top DICT index according to the CFF specification.
abstract GetName(int)Gets name of font at the specified index.
abstract GetRawBytes()Gets all the bytes of the CFF INDEX structure.
abstract RemoveName(int)Removes the name at the specified index. Use this method with caution because each font name in the CFF Name INDEX structure must have a corresponding DICT structure in the Top DICT index according to the CFF specification.
abstract SetName(string, int)Sets font name at the specified index.

See Also