14 Commits

Author SHA1 Message Date
Pandagrapher
488a157476 Fixing review comments 2023-10-13 11:12:37 +02:00
Pandagrapher
bf988ad274 Updates font management for hidpi
Improvements:
- Cleanup of default options files to use OS font by default
- Comments updates
- Simplify font size management as Pango/Gtk directly manage pt/px conversions

Bug fix:
- If Preference panel is closed by "cancel", font size was not reinitialized to previously saved one
- Font size was specified in "RawTherapee.css" theme and so user choice could be ignored
2023-08-23 13:43:07 +02:00
Pandagrapher
21ebb81ece Stop using scale factor for font and pixel size scaling 2022-12-09 16:09:03 +01:00
Pandagrapher
35ce0d1227 Fixes hi-dpi on Windows
- Fixes incorrect install path for icons
- Fixes incorrect font size conversion from "Pango units" (updates some comments)
- Fixes incorrect volume icon in directory browser
2022-08-29 19:26:41 +02:00
Pandagrapher
89d2bdce5b Initial commit for real hidpi support
Note: This commit has only been tested on MacOS

Changes:
- Icons now use the native hidpi support from Gtk (through Icon Theme)
- Icons are now directly generated from scalable file (i.e. SVG file)
- Widget sizes are scaled based on DPI and scale factor
- Font size is scaled based on DPI and scale factor
2022-08-19 16:47:28 +02:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Hombre
500fac34cd The svg2png icon cache is now cleared on new minor version
The `version` value from the `Options` file is compared to the harcoded
value (computed at build time) of the running application. If the major
or minor version is different, the `svg2png` folder is cleaned at
startup-time.
2019-09-05 01:09:48 +02:00
Hombre57
ace5a01136 Setting 12pt as base font size for MacOS (see issue #5282) 2019-04-14 11:10:01 +02:00
Hombre57
d01d99481d Suppress baseDPI and baseHiDPI hardcoded values
Should fix the issue reported here :
https://discuss.pixls.us/t/test-rawtherapee-5-6-rc1/12073/13
2019-04-11 22:23:07 +02:00
Hombre
0407dc3487 Adding spciial case for MacOS which has a base DPI of 72.
See issue #3547
2019-01-06 20:08:06 +01:00
Hombre
92ed81a1fe Non used svg2png cache folders are now deleted when exiting RT
see #3547
2019-01-02 22:39:49 +01:00
Hombre
81407cd663 Adding SVG support for icons with automatic cache handling
See issue #3547 and #4803
2018-12-13 00:04:30 +01:00
Hombre
5ea0bacddd Icons are resized depending on the current scale/resolution
See issue #3547 and #4803
2018-12-08 22:48:15 +01:00
Hombre
4eb8a8f70c Adding HiDPI support (WIP) 2018-10-25 20:22:33 +02:00