ODTTF

ODTTF (Obfuscated OpenType) is an embedded font file type used in Microsoft's XML Paper Specification (XPS) and Office Open XML formats. The file type refers to an obfuscated subsetted font based on the fonts used in the original document.

ODTTF
Filename extension
.odttf
Internet media type
application/vnd.ms-package.obfuscated-opentype
Developed byMicrosoft
Type of formatFont
Extended fromOpenType

The files can be extracted from the documentation by changing the filename extension to .zip, so the archive can be browsed and extracted. The MIME type is Microsoft's own invention and has not been submitted to the IANA registry.

According to the source code of Okular (see function parseGUID() and method XpsFile::loadFontByName()), the first 32 bytes of the font file are obfuscated by XOR using the font file name (a GUID). The rest of the file is normal OpenType.[1] The byte order of the GUID representation coincides with that of the .NET Framework.[2]

References

  1. "Okular: xps/generator_xps.cpp". GitHub. Retrieved 24 February 2020.
  2. "resources - Is there a way to use a ODTTF font file in my WPF app?". Stack Overflow. Retrieved 24 February 2020.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.