TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a custom class file.

My main file looks like this:





If I put this in my test.tex it does work:


When it becomes more text (lets say 40x the word "test") I get the error stated in my question title.

To test it I brought my class file down to this:


% Based on the memoir class

I'm totally confused what is causing my error now.

This is the complete error:

! pdfTeX error (font expansion): auto expansion is only possible with scalable 
\AtBegShi@Output ...ipout \box \AtBeginShipoutBox 
                                                  \fi \fi 
share|improve this question
I have this error with package frutiger since Tex Live 2016, with 2015 everything works fine. – Matthias Pospiech Jun 19 at 15:27
up vote 34 down vote accepted

You have to load a scalable font like lmodern:


or install the cm-super fonts.

share|improve this answer
But wait, i wanna use Minion Pro. Does this mean i cant use it or? – Elmer Feb 9 '11 at 21:04
As far as I know there is no configuration for MinionPro – Herbert Feb 9 '11 at 21:22
no, for microtype. There must be a configuration file which defines what to do with the characters. – Herbert Feb 9 '11 at 21:37
@Herbert, @Joseph: Microtype works fine with every (scalable) font. If no specific configuration file exists it falls back to the default configuration. The error message above means that the document is using a bitmap font. A new configuration file will not solve the problem. – Ulrike Fischer Feb 11 '11 at 14:20
I don't fully understand why this answer is accepted. This sounds like the solution is to not solve the problem, right? Or am I doing something wrong, and this answer really provides a solution how to use MinionPro with microtype? 5 years ago, I successfully wrote my diploma thesis with MinionPro + microtype following these instructions, so in general it is possible, but using the more recent FontPro approach gives me the same problem as the OP. – bluenote10 Mar 14 '14 at 16:16

Check in the log-file in which package/file microtype is loaded and comment the call. Then compile your document (now without the microtype package) with pdflatex. Then check at the end of the log-file the list of fonts and identify the bitmap font(s) (with ending .pk) causing the problem.

share|improve this answer
Check in the log-file in which package/file microtype is loaded how can I notice/identify that? – Kristof Tak Nov 2 '14 at 0:23

Configuration files for fonts can be found in tex/latex/microtype/ subdirectory of your TeX installation.

But wait, i have no configuration file for PSCyr font; however i can use font expansion in a way like this (stretch and shrink are way too large, for the sake of demonstration):

% in preamble:
\SetExpansion[stretch = 70, shrink = 70,] { encoding = {T2A} } { }

An i have result like this:

enter image description here

It's clear, i have font expansion working here.

The point is that configuration file contains commands for character protrusion and font expansion --- like this one --- nothing special or magic.

So, you can write your own command, you can collect them in your own configuration file for your favorite font face.

Read manuals, specify your values (encoding!) and enjoy.

share|improve this answer
Im reading into it now. So ehm, i should use the microtype package first. And when that doesent work ur way of making my own configuration file with commands. Is there some explanation somwhere (on a noob level) on how to do what you just explained? – Elmer Feb 11 '11 at 18:35
microtype's manual is great! Well, i set stretchability and shrinkability to 70/1000th of em --- for T2A-encoded font. And asked microtype to use these rules. Like that. Just try!-) You will like it. – brownian Feb 11 '11 at 19:15
I got it all working now. Just some text looks weird, i think cuz of Minion Pro not being able to handle it. For instance: when i type griffie it looks like this in my pdf:ifïnAe. Is this something that could be fixed using microtype? I checked the microtype manual but thats abracadabra to me. – Elmer Feb 13 '11 at 18:26
Well, i've never got things like that. You can, however, try to disable ligatures (the manual, section 8), i would try this \DisableLigatures[ri]{encoding = T1} (and, possibly, experiment a bit more). – brownian Feb 14 '11 at 14:22
@Elmer could explain how did you make it work? – Kristof Tak Nov 2 '14 at 0:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.