# [tex-live] Fontspec overriding default paper size with LuaTeX

Zdenek Wagner zdenek.wagner at gmail.com
Thu May 26 16:11:19 CEST 2016

Hi all,

it is necessary to distinguish two things. The paper size defined by LaTeX
and stored in \paperwidth and \paperheight and the physical size known by
the driver. Unless a package gets the values from \paperheight and
\paperwidth and sends them to the driver, the physical size will remain at
its default no matter whether I specify a4paper in \documentclass or not.
This year the internals of luatex has changed so it is possible that it no
longer sets the default page size configured in TeX Live. Anyway, the
default mechanism in TeX Live need not work in other TeX distros (MiKTeX,
...). If the physical page size is not set explicitely in the document, it
will vary from computer to computer, from distro to distro. This is a
feature, not a bug.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz

2016-05-26 16:00 GMT+02:00 Norbert Preining <preining at logic.at>:

> Hi David
>
> >so far it looks like expected behaviour, I don't see a bug.
> >
> >\documentclass{article}
> >
> >specifies a USletter document and (once you load a package that knows
> >anything about the back end) that is what you are getting.
>
> That hasn't been the behaviour since many years.
>
> We allowed for setting the global paper size so that documents without a
> paper specification got that paper size.
>
> This is broken now, and I consider this very unfortunate.
>
> Norbert
>
> --
> Sent from my mobile device. Please excuse my brevity.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20160526/0d5c7d4e/attachment-0001.html>