Fonts & Character SetsMysterious type 3 fonts appearing in compiled PDF

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
zmall88
Posts: 8
Joined: Thu Sep 23, 2010 3:03 pm

Mysterious type 3 fonts appearing in compiled PDF

Post by zmall88 »

I hope someone can help with this: I am preparing a paper to submit at a conference and they have a specific compliance requirement not allowing any type 3 fonts (only type 1). I compiled my latex file and uploaded it to their server and it said I had one type 3 font on a couple of pages (3 out of 8 pages).

I checked the fonts on my PDF, and it seems I have a mysterious F68, type 3, custom encoding font included in my font list. I check the three pages that the font is apparently on and I couldn't find anything out of the ordinary (no graphics either). I also tried searching for this mysterious font F68 but couldn't find anything anywhere on the internet. I'm sure someone must have faced a similar problem but nothing showed up.

I tried troubleshooting my packages and I can't pinpoint the source package that is making this font. My current preamble is:

Code: Select all

Code, edit and compile here:
\documentclass[letterpaper, 10 pt, conference]{ieeeconf}
\usepackage{amsmath,amssymb,graphicx}
\overrideIEEEmargins
\newtheorem{thm}{Theorem}
\newtheorem{rem}{Remark}
\newtheorem{defn}{Definition}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
When I remove both amsmath and amssymb, I get 212 errors and no F68 font (probably because most of the document doesn't compile). If I remove them separately, however, I still get the F68 font.

Also, if I use another class (ifacconf.cls), I still get another type 3 font on the same pages but this time its called F46. This problem has gotten me completely stumped. I would really appreciate any help from anyone on here.

~IH

PS: I am using pdflatex (LaTeX => PDF) in a MiKTeX distribution with TeXnicCenter.
Last edited by zmall88 on Wed Sep 29, 2010 4:00 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Mysterious type 3 fonts appearing in compiled PDF

Post by meho_r »

Quick check: do you have in your preamble the following line:
\usepackage[T1]{fontenc}
zmall88
Posts: 8
Joined: Thu Sep 23, 2010 3:03 pm

Re: Mysterious type 3 fonts appearing in compiled PDF

Post by zmall88 »

Actually I didn't have that, so I put it in and compiled the tex file. Its still giving me a type 3 font but this time its F108 instead of F68.

PS: See attached screenshot.
Attachments
ffont.jpg
ffont.jpg (47.18 KiB) Viewed 18070 times
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Mysterious type 3 fonts appearing in compiled PDF

Post by meho_r »

It would help if you can provide a Minimal Working Example (MWE).
zmall88
Posts: 8
Joined: Thu Sep 23, 2010 3:03 pm

Mysterious type 3 fonts appearing in compiled PDF

Post by zmall88 »

Since I knew that page 3 had these fonts, I eliminated through a process of bisection, all the lines that made no difference to the output. I get a type 3 font with the code below

Code: Select all

Code, edit and compile here:
\documentclass[letterpaper, 10 pt, conference]{ieeeconf}
\usepackage{amsmath,amssymb,graphicx}
\usepackage[T1]{fontenc}
\overrideIEEEmargins
\newtheorem{thm}{Theorem}
\newtheorem{rem}{Remark}
\newtheorem{defn}{Definition}
where $g(\mathbf{x}_u,\mathbf{x}_o): \mathbb{R}^3 \times \mathbb{R}^2 \rightarrow \mathbb{R}$ is given by
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Maybe its an issue with \mathbb? Note that the font name is now F61. As I was eliminating the paragraphs/lines, it went from F108 to F62 to F61 as far as I recall. What is going on here?
Here is the ieeeonf class.

Thanks for offering to help.

PS: I have AMSfonts and AMSsymb version 3.0 so Type 1 should be present as a default.
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Mysterious type 3 fonts appearing in compiled PDF

Post by meho_r »

I downloaded IEEEconf.cls file and run your code (with slight changes: "IEEEconf" instead of "ieeeconf", commented out "\overrideIEEEmargins", and added \begin{document}):

Code: Select all

Code, edit and compile here:
\documentclass[letterpaper, 10 pt, conference]{IEEEconf}
\usepackage{amsmath,amssymb,graphicx}
\usepackage[T1]{fontenc}
%\overrideIEEEmargins
\newtheorem{thm}{Theorem}
\newtheorem{rem}{Remark}
\newtheorem{defn}{Definition}
\begin{document}
where $g(\mathbf{x}_u,\mathbf{x}_o): \mathbb{R}^3 \times \mathbb{R}^2 \rightarrow \mathbb{R}$ is given by
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The result is in the attachment. No T3 fonts issue here. It is possible that you do not have all necessary fonts installed. Check if these packages are installed: mathptmx, helvet, courier. Also, you may try loading Latin Modern font (\usepackage{lmodern}) or Palatino (\usepackage{mathpazo}) to see how things look then.
Attachments
Test.pdf
(44.7 KiB) Downloaded 440 times
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Mysterious type 3 fonts appearing in compiled PDF

Post by frabjous »

I get the same results as meho_r. Your sample is missing \begin{document}, the class is misnamed, and \overrideIEEEmargins returns an error (as undefined), but if I correct those things, I don't get any Type 3 fonts.

Perhaps it would help to add \listfiles to the code and post your .log file here for comparison. Here's mine, in case it helps.
Attachments
scratch.log
(18.75 KiB) Downloaded 455 times
scratch.pdf
(41.63 KiB) Downloaded 398 times
zmall88
Posts: 8
Joined: Thu Sep 23, 2010 3:03 pm

Mysterious type 3 fonts appearing in compiled PDF

Post by zmall88 »

I tried everything above I believe. I have a times package that says mathptmx is part of pnfss which I can't find in the repository or on CTAN (it says it comes with the latex distribution). In any case, if I put it as a \usepackage, I don't get an error. I tried using pslatex, altfonts, times, mathpazo, etc.. I still get a type 3 fonts (but now its F122). :?

Here is my log file:

This

Code: Select all

is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded format=pdflatex 2010.9.23) 23 SEP 2010 23:21
entering extended mode
**C:/Documents*and*Settings/Ismail*Hameduddin/My*Documents/Purdue/Test/LaTeX1.t
ex
("C:/Documents and Settings/Ismail Hameduddin/My Documents/Purdue/Test/LaTeX1.t
ex"
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\ieeeconf\ieeeconf.cls"
Document Class: ieeeconf 2004/1/15 revision V1.6b by Pradeep Misra
\@IEEEtrantmpdimenA=\dimen102
\@IEEEtrantmpdimenB=\dimen103
\@IEEEtrantmpcountA=\count79
\@IEEEtrantmpcountB=\count80
\@IEEEtrantmptoksA=\toks14
LaTeX Font Info: Try loading font information for OT1+ptm on input line 792.
("C:\Program Files\MiKTeX 2.7\tex\latex\psnfss\ot1ptm.fd"
File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm.
)
\@IEEEnormalsizefontbaselineskip=\skip41
-- This is a 10 point document.
\normalsizebaselineskip=\skip42
\normaljot=\skip43
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <5> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1111.
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <5> not available
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1111.
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1111.
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <7> not available
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1111.
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <8> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1111.
LaTeX Font Info: Font shape `OT1/ptm/bx/it' in size <8> not available
(Font) Font shape `OT1/ptm/b/it' tried instead on input line 1111.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Thanks for helping out.
zmall88
Posts: 8
Joined: Thu Sep 23, 2010 3:03 pm

Re: Mysterious type 3 fonts appearing in compiled PDF

Post by zmall88 »

I also isolated the problem to the \mathbb (part of the AMSsymbols/AMSfonts package). I've attached my tex and pdf file.
Attachments
LaTeX1.pdf
(1.71 KiB) Downloaded 523 times
LaTeX1.tex
(277 Bytes) Downloaded 403 times
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Mysterious type 3 fonts appearing in compiled PDF

Post by frabjous »

\listfiles needs to go at the very beginning of the file, even before \documentclass to work properly; so it didn't provide the nice tidy list I would have wanted, but I still think your .log file is helpful.

When I compile your simpler code (adding \listfiles), I get this log file:

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2010.9.20) 23 SEP 2010 16:55
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**scratch.tex
(./scratch.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish, french,
galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic
, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panja
bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, lati
n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portu
guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedis
h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2010/texmf-dist/tex/latex/IEEEconf/IEEEconf.cls
Document Class: IEEEconf 2009/04/05 v1.4 IEEE Computer Society 8.5x11" conferen
ce proceedings
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/local/texlive/2010/texmf-dist/tex/latex/geometry/geometry.sty
Package: geometry 2010/09/12 v5.6 Page Geometry
(/usr/local/texlive/2010/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
If you open my PDF up, the single embedded font is a type 1 font called "msbm10". Given that, I think the important differences between our log files is the following. Mine has:

Code: Select all

</usr/local/texlive/2010/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb>
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
In the same place where yours has:

Code: Select all

Code, edit and compile here:
<C:\Documents and Settings\All Users\Application Data\MiKTeX\2
.7\fonts\pk\ljfour\public\amsfonts\dpi600\msbm10.pk>
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Of course, the "dpi600" is a dead give away that it's a rasterized font, since dots per inches doesn't make any sense for Type 1 fonts.

Now, .pfb are type 1 fonts and .pk are type 3 fonts. If I were you, I'd check the fonts\ directory and see if the Type 1 fonts are there, but not being used for some reason, or if you just don't have them installed. You may have version 3 of the amsfonts package, but that doesn't mean you have the latest versions of the fonts themselves.

I don't use MikTeX, and I'm not familiar enough with it to know how you'd go about updating the installed fonts, but maybe you could take it from there.

(Incidentally, if all you need is a quick copy to submit to this conference, you could just use one of the online compilers out there; the one I tried--ScribTeX--gave all Type1 fonts.)
Attachments
scratch.pdf
(3.39 KiB) Downloaded 400 times
Last edited by frabjous on Thu Sep 23, 2010 11:17 pm, edited 2 times in total.
Post Reply