Aspose::Font::CffDataProviders::CffUpdateStringIndexStrategy enum

CffUpdateStringIndexStrategy enum

Specifies how to add strings to CFF String INDEX storage. When we try to add some string into CFF String INDEX, there may be situation that this string is already present in String INDEX. Using option SearchForDuplicates we can force search over String INDEX to detect whether this string is already present or not. This approach saves space in the String INDEX structure, but requires more time to add the string.

enum class CffUpdateStringIndexStrategy

Values

NameValueDescription
SearchForDuplicates0Specifies that the search for the string to be added should be performed in the String INDEX structure to avoid adding duplicates.
AddStringAsIs1Specifies that no checks for duplicates should be performed when adding a string. This approach works faster, but may result in inefficient memory usage for String INDEX.

See Also