13
0
livetrax/libs/surfaces/push2
David Robillard 941aa20148 Fix font size on Push2
At least on my machine, the fonts on the Push display were ridiculously large,
making everything overlapping and unusable.  I suspect this is because
pango_cairo_font_map_get_default() inherits DPI from the system, so the
monitor scaling factor got applied to the Push display as well.

This commit instead creates a new plain font map, and sets the resolution to
96, which looks like what the UI was designed for.  Some more tweaking of the
Pango context might make things more optimal on the Push, but just setting the
resolution makes things look reasonable to me anyway.
2019-12-09 23:38:10 +01:00
..
buttons.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
canvas.cc Fix font size on Push2 2019-12-09 23:38:10 +01:00
canvas.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
gui.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
gui.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
interface.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
knob.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
knob.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
layout.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
layout.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
leds.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
level_meter.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
level_meter.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
menu.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
menu.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
midi_byte_array.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
midi_byte_array.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
mix.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
mix.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
push2.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
push2.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
scale.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
scale.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
splash.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
splash.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
track_mix.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
track_mix.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
utils.cc Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
utils.h Update plugins/addons GPL boilerplate and (C) from git log 2019-08-03 15:53:18 +02:00
wscript