XpsFont.ObfuscateFontData(Byte[], Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obfuscates the font typeface data.
public:
static void ObfuscateFontData(cli::array <System::Byte> ^ fontData, Guid guid);
public static void ObfuscateFontData (byte[] fontData, Guid guid);
static member ObfuscateFontData : byte[] * Guid -> unit
Public Shared Sub ObfuscateFontData (fontData As Byte(), guid As Guid)
Parameters
- fontData
- Byte[]
The typeface data to obfuscate.
- guid
- Guid
The globally unique identifier (GUID) to use to obfuscate the fontData
.
Remarks
The ObfuscateFontData method is provided for use when you are legally obligated to obfuscate licensed proprietary fonts.
While this method does not provide encryption, the ObfuscateFontData method can be used to inhibit users from unzipping proprietary OpenType fonts and installing them separately for other uses.
For more information about font obfuscation, see Section 2.1.7.3 "Embedded Font Obfuscation" in the XML Paper Specification (XPS).