[XeTeX] strange case of overlapping graphics

Ross Moore ross.moore at mq.edu.au
Thu Jun 10 22:35:55 CEST 2021


Hi Janusz, and others

For me, using  pdftex, the only issue is that the aspect ratio isn’t correct.
[cid:5105D501-FB64-47F0-930E-FF3F8D1A3877 at modem]
XeTeX gets it wrong:

[cid:FA0452A8-A6A1-4670-A790-4817ED378CA8 at modem]
Notice the apparent lack of centering with respect to the caption.
It’s as if the width has been read incorrectly by XeTeX, for positioning
the 2 instances of the image.



Explicitly specifying a more realistic width fixes this, with both engines.
Examining the information in GraphicConverter  (on MacOS)
I cannot see anything amiss.  (see image)

[cid:3149EB0F-88AD-4EA9-B2C6-8191DEC24C37 at modem]


So to me, this looks like a XeTeX issue after all.


Hope this helps.

Ross


On 11 Jun 2021, at 2:12 am, Janusz S. Bień <jsbien at mimuw.edu.pl<mailto:jsbien at mimuw.edu.pl>> wrote:

On Thu, Jun 10 2021 at 11:04 -05, Herbert Schulz wrote:
>> On Jun 10, 2021, at 10:58 AM, Zdenek Wagner <zdenek.wagner at gmail.com<mailto:zdenek.wagner at gmail.com>> wrote:
>>
>> čt 10. 6. 2021 v 17:09 odesílatel Philip Taylor
>> <P.Taylor at hellenic-institute.uk<mailto:P.Taylor at hellenic-institute.uk>> napsal:
>>>
>>> In both Windows Preview and in Adobe Illustrator CC, the PNG file
>>> is roughly twice as tall (relative to its width) as it appears in
>>> the PDF.
>>> --
>> So this means that the PNG contains something strange which is
>> interpreted by some programs and ignored by other programs. Maybe
>> different vertical and horizontal resolutions? I do not have a tool to
>> analyze it further.

Tomorrow I will make more tests and submit the problem to ddjvu
author(s).

> Howdy,
>
> And
>
> \includegraphics[width=1.3cm]{Zaborowski_MBC_page19y42_a}
> \includegraphics[width=1.3cm]{Zaborowski_MBC_page19y42_a}
>
> works fine (not exactly the same size but that can be adjusted).

Yes. It's great you have found a way to circumvent the problem!

On the other hand this make the problem more misterious...

Best regards

Janusz

--
,
Janusz S. Bien
emeryt (emeritus)
https://sites.google.com/view/jsbien<https://sites.google.com/view/jsbien>


Dr Ross Moore
Department of Mathematics and Statistics
12 Wally’s Walk, Level 7, Room 734
Macquarie University, NSW 2109, Australia
T: +61 2 9850 8955  |  F: +61 2 9850 8114
M:+61 407 288 255  |  E: ross.moore at mq.edu.au<mailto:ross.moore at mq.edu.au>
http://www.maths.mq.edu.au
[cid:image001.png at 01D030BE.D37A46F0]
CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.

This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University. <http://mq.edu.au/>
<http://mq.edu.au/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20210610/54e9c849/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-06-11 at 6.24.10 am.png
Type: image/png
Size: 41661 bytes
Desc: Screen Shot 2021-06-11 at 6.24.10 am.png
URL: <https://tug.org/pipermail/xetex/attachments/20210610/54e9c849/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-06-11 at 6.31.43 am.png
Type: image/png
Size: 62902 bytes
Desc: Screen Shot 2021-06-11 at 6.31.43 am.png
URL: <https://tug.org/pipermail/xetex/attachments/20210610/54e9c849/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2021-06-11 at 6.21.21 am.png
Type: image/png
Size: 471435 bytes
Desc: Screen Shot 2021-06-11 at 6.21.21 am.png
URL: <https://tug.org/pipermail/xetex/attachments/20210610/54e9c849/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <https://tug.org/pipermail/xetex/attachments/20210610/54e9c849/attachment-0007.png>


More information about the XeTeX mailing list.