ContainsCid(Int32) Method

Definition

Namespace Broadside.Fonts
Assembly Broadside.dll

Returns whether a CIDFont subset's CIDSet lists a CID; null when there is no CIDSet.

public bool? ContainsCid(int cid)

Parameters

cid
Int32

The CID.

Returns

Nullable<Boolean>
Whether the CID's bit is set; false for a CID past the end of the table.

Remarks

ISO 32000-2 §9.8.3.1, Table 122: a table of bits indexed by CID, high-order bit first, the most significant bit of the first byte for CID 0. The stream is decoded on each call.