-
Notifications
You must be signed in to change notification settings - Fork 5
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
RFE: Windows High DPI Resolution response #20
Comments
Can you point me to the code needed? Thanks. Assume you have tried the option in preferences. |
I did not see an option to change text size in prefs. Just back from cruise will check again and try to find some example code |
Mike hopefully the links in this post will help. These were used to get Dashboard working for High Resolution High DPI Displays that are more often used these days. DB: Preferences. Scale instr.list and +- icons #2983 6a356104a63 DB: Dialog "Add Instrument". Increase size to half Canvas hight #2983 7fd1b159543 DB: Preferences. Scale instr.list and +- icons OpenCPN/OpenCPN#2983 43a64cad1b3 DB: Win Scaled fonts and sizing eb3b73acce2 Added this reference item for examples for other plugins to follow. |
Found Dave's correction for MSW in ocpn_draw. Alpha packages here: |
MIke, I will test, but can you point me to those corrections? I would like to bookmark them! |
MIke, this is considerably better. Is there a way to increase the line spacing? Also what Opencpn Options > User > Font name controls this? |
Line spacing can be increased with: |
Font size is hard-coded. OpenCPN options cannot change this. |
What I am showing has High Res checked. Line spacing is inadequate. Also text is a little too bold IMHO |
Package build with fontweight normal and line spacing increased from 26->35. |
Mike, otcurrent is excellent as ever. There is just on or two things that need to be improved.
Bdbcat has some code to make the text DPI responsive for Windows. You could use that for the Tide direction and speed as shown at each arrow.
The text was updated successfully, but these errors were encountered: