Solved

XPS Files

Posted on 2013-01-25
3
202 Views
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.
0
Comment
Question by:umaxim
  • 2
3 Comments
 
LVL 1

Author Comment

by:umaxim
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.
0
 
LVL 42

Assisted Solution

by:Rob Jurd, EE MVE
Rob Jurd, EE MVE earned 500 total points
ID: 38822996
Start here:
msdn.microsoft.com/en-us/library/windows/hardware/gg463408.aspx
0
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 38823035
Not sure what you are ultimately trying to achieve but this may help
stackoverflow.com/questions/5968464/php-and-xps-files
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

770 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