13
0
livetrax/libs
Robin Gareus 2abf9c66a4
Fix size-request that rely on Pango::Layout
A Pango::Layout created by Gtk::Widget::get_pango_context ()
does not have any font set. The Font is inherited from the
layout's context.

The actual font is set when the layout is used in
on_expose_event() via get_window ()->create_cairo_context ().

In some cases we rely on the font-size to calculate the widget's
size before rendering. At this point in time there is no drawing
context from which to inherit the style.

Furthermore, even after a call to `ensure_style()` in the c'tor
of a Widget get_font() simply returns the default value.

All Widgets that rely an Pango::Layout font size during
size-requests have to explicitly set the font.

This fixes various overlarge buttons with the initial default layout.
2021-01-30 02:23:35 +01:00
..
appleutility NO-OP: fix some Wimplicit-fallthrough 2019-09-18 17:37:54 +02:00
ardour Add Playlist::set_name() Lua binding & unique name check 2021-01-23 23:44:31 +01:00
ardouralsautil Fix C function prototypes 2020-12-01 12:08:09 +01:00
audiographer Use unique target names for unit-test build rules 2020-10-16 02:31:39 +02:00
backends ALSA: allow to select clock-source when using multiple devices 2021-01-24 18:23:37 +01:00
canvas canvas/ruler: provide option for a second font to be used for "major" marks 2021-01-03 16:50:18 -07:00
clearlooks-newer Special case checkbox border color in Treeview 2020-01-25 03:40:04 +01:00
evoral ARM 32bit enum alignment (used in MIDIBuffer) 2020-09-28 01:21:43 +02:00
fluidsynth Tweak fluidsynth performance on ARM CPUs 2020-12-12 22:03:05 +01:00
fst Fix typo in vst3-scanner --help text 2021-01-23 23:43:14 +01:00
gtkmm2ext Add/remove source(s) in our MSVC project (gtkmm2ext) 2021-01-28 10:50:27 +00:00
hidapi remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead 2018-10-14 22:06:11 -04:00
libltc Fix use of doxygen documented parameters in running text 2019-09-30 06:30:11 +02:00
lua Allow Lua bindings up to 11 args 2021-01-08 22:50:37 +01:00
midi++2 Transmitter::Debug implementation 1/2 2020-10-13 21:58:26 +02:00
panners Micro-optimization: pre-calculate pan-law 2021-01-18 16:14:16 +01:00
pbd For 64-bit compilation, MSVC no longer supports inline assembly 2021-01-07 09:22:43 +00:00
plugins Remove duplicate rdfs label in a-comp 2021-01-14 18:35:07 +01:00
ptformat ptformat: Update to upstream 232ba25 2021-01-17 13:19:54 +11:00
qm-dsp Do not install static libs 2020-01-22 02:00:25 +01:00
surfaces OSC, strip and select share all main strip functions 2021-01-23 21:18:32 -08:00
temporal Fix normalization in Temporal::Beats for times between -1 and 0 beats 2020-11-18 13:40:31 -07:00
vamp-plugins Update EBU VAMP plugin, report max short/mometary loudness 2020-07-20 05:16:04 +02:00
vamp-pyin Fix -Wsign-compare 2019-09-03 05:01:59 +02:00
vfork Update utility and tools GPL boilerplate and (C) from git log 2019-08-03 15:53:17 +02:00
vst3 VST3: Add PreSonus Plug-In Extensions 2020-10-08 15:36:35 +02:00
waveview Do not show blank waveforms in case height is < 1px 2020-12-22 13:27:46 +01:00
widgets Fix size-request that rely on Pango::Layout 2021-01-30 02:23:35 +01:00
zita-convolver Consolidate stack-size and priority of rt-threads 2020-04-23 01:28:58 +02:00
zita-resampler NO-OP fix typo in comment and header guard 2020-03-26 19:00:41 +01:00