XPS Files

Posted on 2013-01-25
Medium Priority
Last Modified: 2013-02-08
Hi i try to edit xps file using php. So i open 1.fpage and i found code similar to xml file. I found string
      <Glyphs Fill="#ff000000" FontUri="/Documents/1/Resources/Fonts/39B1AB3A-F9AC-4352-86C6-10433F9D71EA.odttf" FontRenderingEmSize="10.6997" StyleSimulations="None" OriginX="28" OriginY="154.72" Indices="19,51;21,51;19,51;28;23,159;38;50;56,71;53,68;57;50,71;44,30;54,55;44,30;40;53,99;57;54,1560;22,51;26,51;24,51;48,90;47,393;20,150;7;19,51;17,26;19;19,133;19,51;8,187;7,51;20,51;20,51;17;26,51;28,145;7,51;20,51;24;17,26;28,51;28,182;60,174;7;20,51;17,26;23;21,1430;11;20;56;12,32;56;54" UnicodeString="03094COURVOISIERVS375ML1$0.000%$11.79$15.99Y$1.42(1U)AM" />

So basically it gives me regular string and Indices string which using some encode system. Can any one help me with this encode system. Maybe some one know what the name of it.
Question by:umaxim
  • 2

Author Comment

ID: 38821442
How i found Indices is font mapping from /Documents/1/Resources/Fonts/39B1AB3A-F9AC-4352-86C6-10433F9D71EA.odttf but i still do not understand how i can get mapping for each item.
LVL 43

Assisted Solution

Rob earned 2000 total points
ID: 38822996
Start here:
LVL 43

Accepted Solution

Rob earned 2000 total points
ID: 38823035
Not sure what you are ultimately trying to achieve but this may help

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question