Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. WORD2007 XML and embedded fonts

WORD2007 XML and embedded fonts

Scheduled Pinned Locked Moved XML / XSL
hardwarexmlquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RaymondM
    wrote on last edited by
    #1

    In Word2007 the document is saved as *.docx, which unzips to reveal a group of XML files, including fontTable.xml. If the fonts were embedded that table will include a fontkey for each embedded font, something like: 4FC99FC9-34EB-48D7-B509-17C906D3B8E1 When the docx file is unzipped it includes also a font-like file for each embedded font, with an extension .odttf . This differs from the usual ttf file only in the first 32 bytes, and it is obvious that the application of the key to these 32 bytes will transform it so as to give a valid ttf font file. For that it is necessary to read the key in reverse direction, E1B8 D306... Some times it is only a matter of getting the difference between these words and the corresponding words in the odttf file. However I cannot see the full solution. Does anyone know how ? I don't see why MS would want to conceal it. Raymond Mercier

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups