Skip to content

TextStudioWritingShapingFingerprint

ClassTextStudioTextStudio
public static class TextStudioWritingShapingFingerprint

Computes shaped phrase identities from text, glyph variation, clustering, and layout without translation or backend unit scale.

Compute(string, in TextStudioVisualSnapshot)

Section titled “Compute(string, in TextStudioVisualSnapshot)”
public static ulong Compute(string resolvedText, in TextStudioVisualSnapshot snapshot)

Builds a shaped-phrase identity from text, glyph variation, clustering, and relative layout. Translation and backend unit scale are intentionally removed because prepared phrase paths are mapped from their design bounds into the current text bounds at render time.

Parameters

Name Type
resolvedText System.String
snapshot TextStudio.TextStudioVisualSnapshot

Returns

System.UInt64