Solved

XPS Files

Posted on 2013-01-25
3
200 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

896 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now