Lebans Report2PDF not Embedding fonts

S

Sprinks

I am having a problem getting Stephen Lebans excellent Report2PDF
function to embed fonts in the PDF. It is the core of our Store Signage
project, but for simplicity, I am using his sample app in Access 2k
just changing a font in one of the reports. (I have not set the
PDFNoFontEmbedding flag, just left it as the default False).

The PDF gets created ok and displays the correct font, but not on
another machine without that font installed. All the fonts seem to
behave this way, but we are specifically wanting to use Adobe's Futura
Medium TT font (not OpenType as this is not supported by the Dynaforms
DLL yet, they say).

When viewing the font info within the PDF, under 'Fonts Used' it says
the correct font, but this really should say Embedded Subset.

The temporary snapshot does show the correct font before conversion to
PDF.

To make sure the font would embed, I downloaded the Dynaforms 2.0 demo
product to test whether this would embed using their sample 'Hello
World' project, and it does. It also converts a metafile with the
correct font and embeds it. So I am puzzled.


Any ideas why fonts are not embedding when using Stephens Report2PDF
functions?

Version: 7.51
dynapdf.dll 9 Feb 2006
StrStorage.dll 22 Mar 2006
Windows 2k
Access 2k
 
S

Stephen Lebans

Hey Sprinks,
I have only seen this issue on WIndows Server 2003. Just take the newer
version of the DynaPDF DLL you downloaded from the Dynaforms site and use
that in palce of the older version on my site.
Does this fix the issue?

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
S

Sprinks

Stephen

Thanks for your swift response, but no. It still stubbornly refuses to
embed with the new DLL. I also tried the old DLL with the Dynaforms
'Hello World', and that embeds also, so both DLLs seem to work. Same
results on on another machine using Access 2002.

The other difference in the font info within the good and bad PDFs is
that the embedded font has 'Built In' encoding, whereas the
non-embedding font has Windows encoding. Don't know what that
signifies, but may be a clue.
 
S

Sprinks

In fact, no matter what machine or version of Access I try, I can't get
it to embed fonts at all. It's as though the flag is permanently
switched off.
 
S

Stephen Lebans

Can you send me the original Snapshot file and the resultant PDF?
(e-mail address removed)


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
S

Stephen Lebans

Thanks, I received the file. I will look at it this THursday or Friday and
see if I can locate the problem. It sounds like I only hooked up the logic
to NOT embed the fonts and forgot to handle when the user asks To embed the
font(s).

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top