chm helper font too small with hdpi

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
Ronald
Super wx Problem Solver
Super wx Problem Solver
Posts: 306
Joined: Mon Mar 05, 2018 4:17 am

chm helper font too small with hdpi

Post by Ronald »

OS: Windows 10
Monitor size: 27
Resolution: 3840 x 2160
Scale: 150%
chm_font_too_small_with_hdpi.PNG
chm_font_too_small_with_hdpi.PNG (13.87 KiB) Viewed 7252 times
PS: The image showed here is scaled, please right click on the image and save it to local to see the actual image.

A workaround is to use "ctrl + mouse scroll" to sacle it.
If there are chm's that are made for hdpi natively, it'll be more convenient and more eye friendly.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: chm helper font too small with hdpi

Post by ONEEYEMAN »

Hi,
What wxWidgets version do you use?
For HiDPI you need Git master or 3.1.4.

Thank you.
Ronald
Super wx Problem Solver
Super wx Problem Solver
Posts: 306
Joined: Mon Mar 05, 2018 4:17 am

Re: chm helper font too small with hdpi

Post by Ronald »

ONEEYEMAN wrote: Sun Feb 07, 2021 7:04 pm What wxWidgets version do you use?
For HiDPI you need Git master or 3.1.4.
About the chm help document for wxWidgets, not the lib itself.
As I see, wx 3.1.4 is release on July 22, 2020, the same date as in the chm help doc (as in the sample image in the post).
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7458
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: chm helper font too small with hdpi

Post by ONEEYEMAN »

Hi,
Do you see it with any other documentation?

Thank you.
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: chm helper font too small with hdpi

Post by doublemax »

The CHM document is a static file. How do you expect it to react to a different screen DPI? I guess you have to live with that. Or do you want a 2nd version of the file with a bigger font?
Use the source, Luke!
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4193
Joined: Sun Jan 03, 2010 5:45 pm

Re: chm helper font too small with hdpi

Post by PB »

Microsoft HTML Help Viewer probably does not support HiDPI that well. You can either just zoom the document with Ctrl+MouseWheel or set "Ignore font sizes specified on webpages" in its Options / Internet Options / Accessibility.

You can also try an alternate CHM viewer.
Ronald
Super wx Problem Solver
Super wx Problem Solver
Posts: 306
Joined: Mon Mar 05, 2018 4:17 am

Re: chm helper font too small with hdpi

Post by Ronald »

doublemax wrote: Mon Feb 08, 2021 6:55 am The CHM document is a static file. How do you expect it to react to a different screen DPI? I guess you have to live with that. Or do you want a 2nd version of the file with a bigger font?
A 2nd version.
Ronald
Super wx Problem Solver
Super wx Problem Solver
Posts: 306
Joined: Mon Mar 05, 2018 4:17 am

Re: chm helper font too small with hdpi

Post by Ronald »

PB wrote: Mon Feb 08, 2021 8:05 am You can either just zoom the document with Ctrl+MouseWheel
It's fine, but a bigger native font size is better.
PB wrote: Mon Feb 08, 2021 8:05 am or set "Ignore font sizes specified on webpages" in its Options / Internet Options / Accessibility.
Capture.PNG
PB wrote: Mon Feb 08, 2021 8:05 am You can also try an alternate CHM viewer.
Good idea
Ronald
Super wx Problem Solver
Super wx Problem Solver
Posts: 306
Joined: Mon Mar 05, 2018 4:17 am

Re: chm helper font too small with hdpi

Post by Ronald »

ONEEYEMAN wrote: Mon Feb 08, 2021 5:48 am Hi,
Do you see it with any other documentation?

Thank you.
Yes, old chm files all have the same problem.
User avatar
doublemax
Moderator
Moderator
Posts: 19114
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: chm helper font too small with hdpi

Post by doublemax »

I think the CHM is also generated with doxygen, from <wxdir>/docs/doxygen/. I wonder if making changes to "extra_stylesheet.css" and rebuilding the docs might work. Give it a try.
Use the source, Luke!
Post Reply