Do not automatically set font-size on macOS

freetype on macOS does not scale fonts, font-scale and ui_scale
have to remain at 100% otherwise other UI elements change size
while the font does not.
This commit is contained in:
Robin Gareus 2023-10-30 21:52:43 +01:00
parent 870172611f
commit 560885b7da
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 6 additions and 0 deletions

View file

@ -216,9 +216,11 @@ static const gchar *_record_mode_strings[] = {
static bool
ask_about_configuration_copy (string const & old_dir, string const & new_dir, int version)
{
#ifndef __APPLE__
/* guess screen scaling */
UIConfiguration::instance ().set_font_scale (1024 * guess_default_ui_scale ());
UIConfiguration::instance ().reset_dpi ();
#endif
ArdourMessageDialog msg (string_compose (
_("%1 %2.x has discovered configuration files from %1 %3.x.\n\n"