Why do unused fonts appear in a PDF

F

faceman28208

I am creating a PDF file and several unused fonts appear embedded in
the PDF. I have tried several PDF creators and get the sames fonts
(e.g. why embed Century Schoolbook?). So they must be getting the
information from Word.
However, I have searched the document (all in Times New Roman) using
the font search and there is no century schoolbook anywhere.
 
T

Terry Farrell

It must be in the document. Have you checked all the styles are correct
including any blank paragraphs you may have entered to create spacing? Are
you sure that none of the styles are based on a style using a different
font?

Why are you embedding fonts into the PDF? How are you able to confirm that
Century Schoolbook is embedded?
 
Y

Yves Dhondt

I agree that it must be in the document (the file), but it doesn't
necessarely have to be in the text itself. One could define a style using
the font and never apply the style. When converting to pdf, it is likely
that the unused style, and thereby (part of) the font, will be included in
the pdf.

In Acrobat, you can just do File -> Properties (CTRL+D) and go to the
'Fonts' tab. It shows which fonts are embedded (mostly subsets).

Yves
 
F

faceman28208

It must be in the document. Have you checked all the styles are correct
including any blank paragraphs you may have entered to create spacing? Are
you sure that none of the styles are based on a style using a different
font?

I have no footnotes. I have selected the entire document and the font
text box shows times new roman, rather than a blank as when multiple
fonts are selectged.
Why are you embedding fonts into the PDF? How are you able to confirm that
Century Schoolbook is embedded?

PDF creators do it automatically. If you inspect the PDF's properties
you can see the fonts and that Century Schoolbook is there.
 
T

Terry Farrell

If one of the styles is set as Century Schoolbook and you change the fonts
by SelectAll and do a global font change, this is not changing the style.
You have applied Direct Formatting, so the underlying style is still set at
CSB. As an illustration, if you SelectAll and execute Ctrl+Q and
Ctrl+spacebar, it will remove ALL direct formatting and display all the
underlying styles.

Terry
 
F

faceman28208

If one of the styles is set as Century Schoolbook and you change the fonts
by SelectAll and do a global font change, this is not changing the style.
You have applied Direct Formatting, so the underlying style is still set at
CSB. As an illustration, if you SelectAll and execute Ctrl+Q and
Ctrl+spacebar, it will remove ALL direct formatting and display all the
underlying styles.


All the fonts are set using styles.
 
F

faceman28208

If one of the styles is set as Century Schoolbook and you change the fonts
by SelectAll and do a global font change, this is not changing the style.
You have applied Direct Formatting, so the underlying style is still set at
CSB. As an illustration, if you SelectAll and execute Ctrl+Q and
Ctrl+spacebar, it will remove ALL direct formatting and display all the
underlying styles.

In fact, I went back, printed the Style definitions. No Century
Schoolbook.

I went through each style and not one of them uses century schoolbook

And it's not been applied to any of the text.
 
Y

Yves Dhondt

Did you check all the styles or only the ones you used in your document?
Like I stated in an earlier reply, an unused but defined style could be
causing the font to be included.

Try the following. Save your document as a Word 2007 document, i.e. with the
docx extension. Now, close Word, go to the file and change the extension to
zip. Open the archive and browse to the 'word' directory inside. Check the
file 'fontTable.xml' to see if the Century Schoolbook font is listed there.
If not, check 'styles.xml' file. If the font is listed in any of those, the
pdf creation will include it.

Yves

If one of the styles is set as Century Schoolbook and you change the fonts
by SelectAll and do a global font change, this is not changing the style.
You have applied Direct Formatting, so the underlying style is still set
at
CSB. As an illustration, if you SelectAll and execute Ctrl+Q and
Ctrl+spacebar, it will remove ALL direct formatting and display all the
underlying styles.

In fact, I went back, printed the Style definitions. No Century
Schoolbook.

I went through each style and not one of them uses century schoolbook

And it's not been applied to any of the text.
 
F

faceman28208

Did you check all the styles or only the ones you used in your document?
Like I stated in an earlier reply, an unused but defined style could be
causing the font to be included.

Try the following. Save your document as a Word 2007 document, i.e. with the
docx extension. Now, close Word, go to the file and change the extension to
zip. Open the archive and browse to the 'word' directory inside. Check the
file 'fontTable.xml' to see if the Century Schoolbook font is listed there.
If not, check 'styles.xml' file. If the font is listed in any of those, the
pdf creation will include it.

Interesting. I can see where it is coming from. It looks like word
creates an internal character style for linked styles. I can see the
font in one of these. In this particular case it is the 'QuoteChar"
style, part of the built in Quote style. I have disabled linked styles
in document.
 
F

faceman28208

Did you check all the styles or only the ones you used in your document?
Like I stated in an earlier reply, an unused but defined style could be
causing the font to be included.

Try the following. Save your document as a Word 2007 document, i.e. with the
docx extension. Now, close Word, go to the file and change the extension to
zip. Open the archive and browse to the 'word' directory inside. Check the
file 'fontTable.xml' to see if the Century Schoolbook font is listed there.
If not, check 'styles.xml' file. If the font is listed in any of those, the
pdf creation will include it.

Another interesting thing...The actual font is Century Schoolbook Bold
Italic. In this document the Quote style is set to use Times New Roman
(Roman).

Makes me wonder if Word loses track of the character part of a linked
style.
 
K

Keith Seddon

I had just this very problem. I solved it by opening the source Word document, click STYLES to show all the paragraphs, click on NORMAL (the 'root' style, so to speak, as I understand), click MODIFY and change the font to one that is used elsewhere, and whichn you _want_ embedded in your pdf. The font showing in the Normal style, in my document, was the font that kept coming up in my pdf, and which was not actually used for any text. But also do a search and exchange, looking for instances of the rouge font. You can make Word search for fonts by typing ctr-h, them click more/special/format/font, and chose the one you want to look for. You can automatically change it for one you do want by doing all that again, with the cursor in the 'replace with' window.



faceman2820 wrote:

Why do unused fonts appear in a PDF
08-Feb-10

I am creating a PDF file and several unused fonts appear embedded i
the PDF. I have tried several PDF creators and get the sames font
(e.g. why embed Century Schoolbook?). So they must be getting th
information from Word
However, I have searched the document (all in Times New Roman) usin
the font search and there is no century schoolbook anywhere.

Previous Posts In This Thread:

Why do unused fonts appear in a PDF
I am creating a PDF file and several unused fonts appear embedded i
the PDF. I have tried several PDF creators and get the sames font
(e.g. why embed Century Schoolbook?). So they must be getting th
information from Word
However, I have searched the document (all in Times New Roman) usin
the font search and there is no century schoolbook anywhere.

It must be in the document.
It must be in the document. Have you checked all the styles are correc
including any blank paragraphs you may have entered to create spacing? Ar
you sure that none of the styles are based on a style using a differen
font

Why are you embedding fonts into the PDF? How are you able to confirm tha
Century Schoolbook is embedded

-
Terry Farrell - MSWord MVP

I agree that it must be in the document (the file), but it does notnecessarely
I agree that it must be in the document (the file), but it does no
necessarely have to be in the text itself. One could define a style usin
the font and never apply the style. When converting to pdf, it is likel
that the unused style, and thereby (part of) the font, will be included i
the pdf

In Acrobat, you can just do File -> Properties (CTRL+D) and go to th
'Fonts' tab. It shows which fonts are embedded (mostly subsets)

Yves

I have no footnotes.
I have no footnotes. I have selected the entire document and the fon
text box shows times new roman, rather than a blank as when multipl
fonts are selectged

PDF creators do it automatically. If you inspect the PDF's propertie
you can see the fonts and that Century Schoolbook is there.

If one of the styles is set as Century Schoolbook and you change the fontsby
If one of the styles is set as Century Schoolbook and you change the font
by SelectAll and do a global font change, this is not changing the style
You have applied Direct Formatting, so the underlying style is still set a
CSB. As an illustration, if you SelectAll and execute Ctrl+Q an
Ctrl+spacebar, it will remove ALL direct formatting and display all th
underlying styles

Terry

satAll the fonts are set using styles.

a

All the fonts are set using styles.

satIn fact, I went back, printed the Style definitions. No CenturySchoolbook.

a

In fact, I went back, printed the Style definitions. No Centur
Schoolbook

I went through each style and not one of them uses century schoolboo

And it is not been applied to any of the text.

Did you check all the styles or only the ones you used in your document?
Did you check all the styles or only the ones you used in your document?
Like I stated in an earlier reply, an unused but defined style could be
causing the font to be included.

Try the following. Save your document as a Word 2007 document, i.e. with the
docx extension. Now, close Word, go to the file and change the extension to
zip. Open the archive and browse to the 'word' directory inside. Check the
file 'fontTable.xml' to see if the Century Schoolbook font is listed there.
If not, check 'styles.xml' file. If the font is listed in any of those, the
pdf creation will include it.

Yves


In fact, I went back, printed the Style definitions. No Century
Schoolbook.

I went through each style and not one of them uses century schoolbook

And it is not been applied to any of the text.

thetoee.heInteresting. I can see where it is coming from.
the
to
e
e.
he

Interesting. I can see where it is coming from. It looks like word
creates an internal character style for linked styles. I can see the
font in one of these. In this particular case it is the 'QuoteChar"
style, part of the built in Quote style. I have disabled linked styles
in document.

thetoee.heAnother interesting thing...
the
to
e
e.
he

Another interesting thing...The actual font is Century Schoolbook Bold
Italic. In this document the Quote style is set to use Times New Roman
(Roman).

Makes me wonder if Word loses track of the character part of a linked
style.


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Custom Validation Using the Enterprise Library
http://www.eggheadcafe.com/tutorial...c-33ef1ec7d1a3/wpf-custom-validation-usi.aspx
 
K

Keith Seddon

My browser shows my reply all on one line.
Let's try that again, with some returns...

I had just this very problem. I solved it by
opening the source Word document, click
STYLES to show all the paragraphs, click on
NORMAL (the 'root' style, so to speak, as I
understand), click MODIFY and change the
font to one that is used elsewhere, and
whichn you _want_ embedded in your pdf. The
font showing in the Normal style, in my
document, was the font that kept coming up
in my pdf, and which was not actually used
for any text. But also do a search and
exchange, looking for instances of the rouge
font. You can make Word search for fonts by
typing ctr-h, them click
more/special/format/font, and chose the one
you want to look for. You can automatically
change it for one you do want by doing all
that again, with the cursor in the 'replace
with' window.





Keith Seddon wrote:

Remove unused fonts
03-Mar-10

I had just this very problem. I solved it by opening the source Word document, click STYLES to show all the paragraphs, click on NORMAL (the 'root' style, so to speak, as I understand), click MODIFY and change the font to one that is used elsewhere, and whichn you _want_ embedded in your pdf. The font showing in the Normal style, in my document, was the font that kept coming up in my pdf, and which was not actually used for any text. But also do a search and exchange, looking for instances of the rouge font. You can make Word search for fonts by typing ctr-h, them click more/special/format/font, and chose the one you want to look for. You can automatically change it for one you do want by doing all that again, with the cursor in the 'replace with' window.

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
More Fun with Fluent NHibernate Automapping
http://www.eggheadcafe.com/tutorial...9-81ee42171b00/more-fun-with-fluent-nhib.aspx
 

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