Table of Contents

Method DeobfuscateOdttf

Namespace
DocWright.Fonts
Assembly
DocWright.Fonts.dll

DeobfuscateOdttf(ReadOnlySpan<byte>, Guid)

De-obfuscates an ODTTF payload using the GUID key from w:embed*/@w:fontKey.

public static byte[] DeobfuscateOdttf(ReadOnlySpan<byte> payload, Guid fontKey)

Parameters

payload ReadOnlySpan<byte>

The obfuscated payload.

fontKey Guid

The font key GUID.

Returns

byte[]

A new byte array containing the de-obfuscated payload.