[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#453020: marked as done (texlive: pdflatex fails on long lines when using \sffamily in a custom environment while package microtype is in use)



Your message dated Mon, 26 Nov 2007 22:47:42 +0100
with message-id <20071126214742.GO31598@gamma.logic.tuwien.ac.at>
and subject line Bug#453020: texlive: pdflatex fails on long lines when using \sffamily in a custom environment while package microtype is in use
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: texlive
Version: 2007-12
Severity: normal


When trying to compile the given input file by means of pdflatex it
fails every time. Giving me this error:
 ! pdfTeX error (font expansion): auto expansion is only possible with
 scalable fonts.

Removing the \sffamily directive of the advisespace environment seems to
alleviate this problem. Commenting out the \usepackage directive for
microtype or mathdesign also allows pdflatex to compile the input file
properly.

Then lastly this only seems to apply to "long" lines (i.e. lines being
wider than the hbox).

##################################
minimal input file

\documentclass[12pt,a4paper]{article}

\usepackage[charter]{mathdesign}
\usepackage{microtype}

\begin{document}

\begin{itemize}
% Example 1
% If this line is uncommented pdflatex fails
% \item \sffamily{Aren't the values a bit farfetched? Artifical,
% maybe---however, it is important to remember}

% Example 2
% If this line is uncommented pdflatex succeeds
% \item Aren't the values a bit farfetched? Artifical, maybe---however,
% it is important to remember

% Example 3
% If this line is uncommented pdflatex succeeds
% \item \sffamily{Aren't the values a bit farfetched? Artifical,
% maybe---however, it is}
\end{itemize}

\end{document}

######################################
 List of ls-R files

-rw-r--r-- 1 root root 1034 2007-11-26 20:28 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 2007-10-20 16:26 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 2007-10-20 16:26 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 2007-10-20 16:26 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
 Config files
lrwxrwxrwx 1 root root 20 2007-10-20 16:26 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 6750 2007-11-26 20:28 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 12927 2007-11-26 20:28 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 13348 2007-11-26 20:28 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
totaal 4
-rw-r--r-- 1 root root 283 2007-06-20 17:33 mktex.cnf
######################################
 md5sums of texmf.d
25bf3a257a0bedb5c67349c3eaff74af  /etc/texmf/texmf.d/05TeXMF.cnf
5f7f6652cc8b8071c9e4ea6ba9e9f0a1  /etc/texmf/texmf.d/15Plain.cnf
8a26468004b5ebc7ae9884740356c1d0  /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c  /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1  /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068  /etc/texmf/texmf.d/75DviPS.cnf
7ae52efac46feb97010986e57877d12e  /etc/texmf/texmf.d/80DVIPDFMx.cnf
e36faa13563bdb46303b91ab3f6ea638  /etc/texmf/texmf.d/85Misc.cnf
7e8f87acdeba48edac16d851c77b9e75  /etc/texmf/texmf.d/90TeXDoc.cnf
30f4f13357c2761ed01a6a15f28725a5  /etc/texmf/texmf.d/95NonPath.cnf

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages texlive depends on:
ii  texlive-fonts-recommended     2007-12    TeX Live: Recommended fonts
ii  texlive-latex-base            2007-12    TeX Live: Basic LaTeX packages
ii  texlive-latex-recommended     2007-12    TeX Live: LaTeX recommended packag

texlive recommends no packages.

Versions of packages tex-common depends on:
ii  debconf                       1.5.17     Debian configuration management sy
ii  ucf                           3.003      Update Configuration File: preserv

Versions of packages texlive is related to:
pn  tetex-base                    <none>     (no description available)
ii  tetex-bin                     2007-12    TeX Live: teTeX transitional packa
ii  tetex-extra                   2007-12    TeX Live: teTeX transitional packa
ii  tex-common                    1.9        Common infrastructure for using an

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:



--- End Message ---
--- Begin Message ---
Hi Giel,

I am closing this bug, because the error message clearly states that
what you are doing cannot work:

>  ! pdfTeX error (font expansion): auto expansion is only possible with
>  scalable fonts.

If you load microtype it will try to do font expansion. But you are
using OT1 encoded sffamily which is cmss (AFAIR) which is a bitmapped
font. That cannot work.

You have to set up your fonts in a way that all the fonts (or all the
fonts treated by microtype) are type1 fonts.

Please consult the manual of microtype as shipped with the packages.
Thanks.

> Then lastly this only seems to apply to "long" lines (i.e. lines being
> wider than the hbox).

Yes of course, because in this case microtype tries to use the advanced
features of pdftex of automatic font expansion/shrinking. But as I said,
this only works with type1 fonts.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>        Vienna University of Technology
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
MEATHOP (n.)
One who sets off for the scene of an aircraft crash with a picnic
hamper.
			--- Douglas Adams, The Meaning of Liff


--- End Message ---

Reply to: