SumatraPDF: wrong content position

Xailer professional forum in English
Responder
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

SumatraPDF: wrong content position

Mensaje por Timm »

Hi!

The PDF is not displayed centred.
The view is only displayed correctly when the window size is changed at runtime.

example.png
example.png (87.9 KiB) Visto 1705 veces

Best regards
Timm
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Re: SumatraPDF: wrong content position

Mensaje por Timm »

Hi,

does anyone have any ideas?
You can easily recreate the problem with the example in \Samples\Sumatra.

Regards Timm
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9255
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: SumatraPDF: wrong content position

Mensaje por ignacio »

I'm afraid I can not reproduce your error. Sorry. Try with another Sumatra version. There are three different versions in \samples\sumatra directory.
Imagen 118.png
Imagen 118.png (68.86 KiB) Visto 1651 veces
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Re: SumatraPDF: wrong content position

Mensaje por Timm »

Hi Ignacio,

I found out that the problem only exist on high-resolution monitors and scaling other than 100%.
Setting Application:lDpiAware := .t. fixes it, but it has a lot side effect to the other controls.

Regards, Timm
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9255
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: SumatraPDF: wrong content position

Mensaje por ignacio »

Hi,

Today we publish a new version that I hope it will fix the problem. Fingers crossed.

Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Timm
Mensajes: 136
Registrado: Lun Jun 21, 2010 11:01 am

Re: SumatraPDF: wrong content position

Mensaje por Timm »

Hi Ignacio,

yes, the new version fixed the problem.
Many thanks!

Regards, Timm
Responder