I am workin on ACM conference template (sample-sigconf.tex
) from HERE
I am using WinShell editor. The script compiles fine but when I click PDFView, I get this error:
test.tex(34): Error: pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.
test.tex(1): Error: ==> Fatal error occurred, no output PDF file produced!
The error can only be resolved if I add this package: \usepackage{lmodern}
. However, I have been told that does would result in non compliance output with the conference proceedings formats.
How can I resolve these errors? what is their cause?
Here is a sample script:
\documentclass[sigconf]{acmart}
\usepackage[T1]{fontenc} %to solve the font error
\usepackage{lipsum}
%\usepackage{lmodern} %to solve the font error
% Copyright
%\setcopyright{none}
%\setcopyright{acmcopyright}
%\setcopyright{acmlicensed}
\setcopyright{rightsretained}
%\setcopyright{usgov}
%\setcopyright{usgovmixed}
%\setcopyright{cagov}
%\setcopyright{cagovmixed}
\begin{document}
\title{Tests}
\author{Author}
\affiliation{%
\institution{Inst.}}
\email{author@inst}
\begin{abstract}
Abstract
\end{abstract}
\section{Section 1}
\lipsum
%\FloatBarrier %to make references always at the end
\bibliographystyle{ACM-Reference-Format}
\bibliography{sample-bibliography}
\end{document}
EDIT: This might help you. This part from the end of the log:
("C:\Program Files\MiKTeX 2.9\tex\latex\libertine\ts1linuxlibertinet-tlf.fd"
File: TS1LinuxLibertineT-TLF.fd 2017/03/20 (autoinst) Font definitions for TS1/
LinuxLibertineT-TLF.
)
LaTeX Font Info: Font shape `TS1/LinuxLibertineT-TLF/m/n' will be
(Font) scaled to size 7.0pt on input line 130.
Package microtype Info: Loading generic protrusion settings for font family
(microtype) `LinuxLibertineT-TLF' (encoding: TS1).
(microtype) For optimal results, create family-specific settings.
(microtype) See the microtype manual for details.
LaTeX Font Info: Font shape `T1/LinuxLibertineT-TLF/b/n' will be
(Font) scaled to size 9.0pt on input line 130.
LaTeX Font Info: Font shape `T1/LinuxLibertineT-TLF/b/n' will be
(Font) scaled to size 10.95pt on input line 130.
LaTeX Font Info: Font shape `T1/LinuxLibertineT-TLF/m/it' will be
(Font) scaled to size 9.0pt on input line 130.
LaTeX Font Info: Font shape `TS1/LinuxLibertineT-TLF/m/n' will be
(Font) scaled to size 9.0pt on input line 130.
LaTeX Font Info: Font shape `T1/LinuxLibertineT-TLF/m/n' will be
(Font) scaled to size 8.0pt on input line 130.
LaTeX Font Info: Font shape `T1/LinuxLibertineT-TLF/b/n' will be
(Font) scaled to size 8.0pt on input line 130.
LaTeX Font Info: Font shape `T1/LinuxLibertineT-TLF/m/it' will be
(Font) scaled to size 8.0pt on input line 130.
LaTeX Font Info: Font shape `OT1/LinuxLibertineT-TLF/m/n' will be
(Font) scaled to size 8.0pt on input line 130.
LaTeX Font Info: Font shape `OT1/LinuxLibertineT-TLF/m/n' will be
(Font) scaled to size 6.2pt on input line 130.
LaTeX Font Info: Font shape `OT1/LinuxLibertineT-TLF/m/n' will be
(Font) scaled to size 9.0pt on input line 134.
LaTeX Font Info: Font shape `T1/LinuxLibertineT-TLF/m/n' will be
(Font) scaled to size 7.3pt on input line 134.
LaTeX Font Info: Font shape `T1/LinuxLibertineT-TLF/m/n' will be
(Font) scaled to size 5.5pt on input line 134.
[1.1{C:/Users/xx/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}
! pdfTeX error (font expansion): auto expansion is only possible with scalable
fonts.
\@EveryShipout@Output ...@Org@Shipout \box \@cclv
l.141 \begin{itemize}
Best Answer
For me, the problem came from package
microtype
, and the comment from @Robert solved this issue :