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
This commit is contained in:
@@ -195,8 +195,7 @@ void SHCSelector::updateBackBuffer()
|
||||
|
||||
// update font
|
||||
fontd.set_weight (Pango::WEIGHT_NORMAL);
|
||||
// Absolute size is defined in "Pango units" and shall be multiplied by
|
||||
// Pango::SCALE from "px"
|
||||
|
||||
const double fontSize = static_cast<double>(h) * 0.8; // pt
|
||||
// Converting font size to "px" based on DPI and scale
|
||||
#ifndef __APPLE__
|
||||
|
Reference in New Issue
Block a user