Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text is scaled up when using a high-DPI PC #752

Open
DanieleBenedettelli opened this issue Jan 18, 2024 · 3 comments
Open

Text is scaled up when using a high-DPI PC #752

DanieleBenedettelli opened this issue Jan 18, 2024 · 3 comments
Assignees

Comments

@DanieleBenedettelli
Copy link

DanieleBenedettelli commented Jan 18, 2024

Subject

Until now I used a Windows 10 PC with 1920x1080 screen.
I made a header file with many settings I like.
On a new Windows 11 PC (2400x1600 high-DPI screen), the text is larger, and edge thickness is lower.

Environment

OLD PC:
LPub3D vecchio PC

NEW PC:
lpub3d

Configuration

DEFAULT (using x64 zip from repository)

Screenshots

renders from OLD PC:
text_test_300_DPI_page_4
text_test_300_DPI_page_1

renders from NEW PC:
text_test_300_DPI_page_4
text_test_300_DPI_page_1

Workaround

I have to change all the settings related to text size in my header files.
I get about the same text size on the new PC by reducing all the fonts height by about 65%.
Why this ratio?

@trevorsandy trevorsandy self-assigned this Sep 22, 2024
@trevorsandy
Copy link
Owner

Thank you for reporting this behaviour. I'll take a look.

Cheers,

@trevorsandy
Copy link
Owner

Hi Daniele,
I don't have a high DPI monitor, so it's not so easy to reproduce this behaviour. However, I did treat some DPI tickets in the past.

Tickets #292 and #247 are also related to DPI settings. It looks like #292 is quite similar to the behaviour you are reporting. Please have a look.

Cheers,

@trevorsandy
Copy link
Owner

Hello Daniele, can you confirm up or down if the information in #292 was helpful ?

Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: IN PROGRESS
Development

No branches or pull requests

2 participants