substitute font metrics.

The PDF-XChange Viewer for End Users
+++ FREE +++

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Kris
User
Posts: 19
Joined: Sat Mar 13, 2010 2:11 am

substitute font metrics.

Post by Kris »

What fonts does Xchange use for substitute / default fonts when those specified in the PDF aren't present.

This is apparently part of adobe's bloatware - a ton of fonts that are available only to adobe reader users.

Problem - got a bank e-statement that displays (in xchange, sumatra, and foxit) as a fixed font where the I is not centered but on the left side of the fixed space - this gives the apperance of a space after the "I",
The font in the PDF is
Font: custom-Metrics-10
Encoding: WinAnsiEncoding
Object number: 26
Global Object Id: 0
Actual font Sans-MM
Actual font Type: Type 1
font Size 9.0 pt
Horizontal scaling: 100%
baseline Offset: 0.0 pt

Obviously there are trillions of these, and these PDF viewers/readers simply automatically substitute some default -
where is this specified and how can I change it. <-----------------------

THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


8)
GA-EP45-UD3P, Q8400@3.5, 2x2GB, MSI 465, Hannspree 28", 650Wpsu, Win7
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: substitute font metrics.

Post by Stefan - PDF-XChange »

Hello Kris,

We are using complex algorithms to determine the substitute font to be used, but there is no way for you to control which font is used and when.

It is a good practice to include non standard fonts into the document - this ensures the portability designed with the "Portable Document Format" but some creators still skip such information -assuming the receiving party has the same set of fonts or just by negligence or when trying to receive the minimal possible file size - at a cost as it turns out ;)

Please have a look at this topic's last post where Viktor explains the algorithms used in out Viewer:
https://forum.pdf-xchange.com/ ... =35&t=7962

Best
Stefan
Kris
User
Posts: 19
Joined: Sat Mar 13, 2010 2:11 am

Re: substitute font metrics.

Post by Kris »

Yes, I suspected as much - non standard fonts that just happen to be part of acrobat reader....... Bah!


I did email, and got a response from Ivan, and sent him a modded copy of my bank statement, and haven't heard back.

SInce the same thing happens on sumatra, and foxit (you should have seen how Infix mashed it :mrgreen: ) I am guessing they use a windows common font like ariel, which displays as variable but is used as fixed ("monospaced"), but the "I" looses.
GA-EP45-UD3P, Q8400@3.5, 2x2GB, MSI 465, Hannspree 28", 650Wpsu, Win7
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: substitute font metrics.

Post by Stefan - PDF-XChange »

Hi Kris,

Well a variable space font used where a monospace is needed can bring quite some "gaps" around letters as I and lowercase L - nothing we can help with unfortunately.

As for Ivan, his working week has just started so he will reply to you when he warms up for the day :)

Cheers,
Stefan
Kris
User
Posts: 19
Joined: Sat Mar 13, 2010 2:11 am

Re: substitute font metrics.

Post by Kris »

LOL- just have a bin filled with 1/4 monospaces and randomly sprinkle them in! :mrgreen:

I do feel good that i was able to give Ivan an actual document with the problem - that way, when he answers back and says no, It'll be a very definite no.

Okay, so I have to have Adobe installed...

BUT

I have learned not to let it touch FF. FF works great with Xchange - not using the plugin - it just pops the standalone proggy open and reminds me of the other PDFs I am working on (TABS!!!!!!)- a real time saver for me! for the once a month bank statements, I just save them in Xchange, and then open the saved doc in adobe and print - that's an easy exception.
GA-EP45-UD3P, Q8400@3.5, 2x2GB, MSI 465, Hannspree 28", 650Wpsu, Win7
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: substitute font metrics.

Post by Paul - PDF-XChange »

Hi again Kris,

we are investigating this but it is a fairly complex issue around how to implement/define the behaviour of fonts when they are not embedded.

We cannot say for now how or when this will be resolved. It might be fruitless but perhaps a suggestion to the bank that they offer an option for embedding the fonts when generating PDF documents?
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Kris
User
Posts: 19
Joined: Sat Mar 13, 2010 2:11 am

Re: substitute font metrics.

Post by Kris »

Paul - Tracker Supp wrote:It might be fruitless but perhaps a suggestion to the bank that they offer an option for embedding the fonts when generating PDF documents?
done, but i figure there's about as much chance of that happening as... whatever! :mrgreen:
I was unable to actually talk to the tech dept.
it was very much like a Dilbert comic.
GA-EP45-UD3P, Q8400@3.5, 2x2GB, MSI 465, Hannspree 28", 650Wpsu, Win7
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: substitute font metrics.

Post by Paul - PDF-XChange »

that would have been worth a good chuckle I suspect ;-)
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Kris
User
Posts: 19
Joined: Sat Mar 13, 2010 2:11 am

Re: substitute font metrics.

Post by Kris »

Paul - Tracker Supp wrote:that would have been worth a good chuckle I suspect ;-)

Yeah, it really would! :mrgreen:
GA-EP45-UD3P, Q8400@3.5, 2x2GB, MSI 465, Hannspree 28", 650Wpsu, Win7
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: substitute font metrics.

Post by Paul - PDF-XChange »

:roll: :lol:
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com