Skip to content

Commit

Permalink
qml: log render settings
Browse files Browse the repository at this point in the history
  • Loading branch information
janbar committed Oct 11, 2024
1 parent 46af6eb commit 7ba11df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gui/controls2_515/osmin.qml
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,12 @@ ApplicationWindow {
mainView.width = (settings.widthGU >= minSizeGU ? units.gu(settings.widthGU) : units.gu(minSizeGU));
mainView.height = (settings.heightGU >= minSizeGU ? units.gu(settings.heightGU) : units.gu(minSizeGU));
}
// dump map settings
console.log("Settings: devDPI=" + mapSettings.physicalDPI.toFixed(0))
console.log("Settings: mapDPI=" + mapSettings.mapDPI.toFixed(0))
console.log("Settings: fontName=" + mapSettings.fontName)
console.log("Settings: fontSize=" + mapSettings.fontSize.toFixed(1))
console.log("Settings: units=" + mapSettings.units)
// setup hillshade provider
try {
var hsprovider = JSON.parse(HillshadeProvider);
Expand Down

0 comments on commit 7ba11df

Please sign in to comment.