[XeTeX] strange difference

Zdenek Wagner zdenek.wagner at gmail.com
Wed Jun 1 20:17:21 CEST 2022


st 1. 6. 2022 v 19:40 odesílatel Apostolos Syropoulos via XeTeX
<xetex at tug.org> napsal:
>
> >it may feel like a bug in this situation, but it is not, for the single
> >reason that includegraphics cannot look inside the picture and decide
> >which part of the picture is irrelevant. If you add a picture of some
> >width and height, TeX makes sure it is completely inserted. If you turn
> >it by an angle, TeX makes sure the whole of the picture is included and
> >no corners are cut off. If TeX did otherwise, I would consider that a bug.
>
> Hi Julius,
>
> In different words: When I place an image in the middle of an A4 page,
> the final PDF will be a A4 page but if turn the same image, the final
> PDF will not fit inside an A4 page, right? The attached images are
> generated from XeLaTeX sources that do not rely on the standalone
> document class.
>
Hi,

as Julius wrote, an imaga is a rectangle, thus the area needed for the
rotated image can be calculated by a simple geometry. If you know that
the corners do not contain anything, you should prepare a rotated and
cropped image and include this instance.

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


> Regards,
>
> Apostolos
>
> ----------------------
> Apostolos Syropoulos
> Xanthi, Greece
>
>
>
>
>
>
>
>
>



More information about the XeTeX mailing list.