Old 01-24-2020, 01:33 PM   #1
Human being with feelings
skila's Avatar
Join Date: Jan 2020
Location: UK
Posts: 1
Default Font size on Theme Adjuster in Linux

When using the Theme Adjuster, the font size is quite large in Linux compared to Mac OSX. This has the effect of making the layout look a bit poor.

I've attached a couple of images so you can see what I mean.

Ubuntu 18.04 (64bit)
Reaper 6.03

I did a quick workaround for this - edited the theme adjuster script to change the if statement so that the default is not Windows, but the Mac settings, which work reasonably well on my machine (probably need testing on other distro's?)

Here is the code from my workaround

if reaper.GetOS() == "Win64" or reaper.GetOS() == "Win32" then
  gfx.setfont(1, "Calibri", 13)
  gfx.setfont(2, "Calibri", 15)
  gfx.setfont(3, "Calibri", 16)
  gfx.setfont(4, "Calibri", 20) -- used in : undocked palette title
  gfx.setfont(5, "Calibri", 16) -- IMPORTANT : match the font and size (by eye, oops!) of TCP & EnvCP labels
  gfx.setfont(11, "Calibri", 26)
  gfx.setfont(12, "Calibri", 30)
  gfx.setfont(13, "Calibri", 32)
  gfx.setfont(14, "Calibri", 40) -- used in : undocked palette title
  gfx.setfont(15, "Calibri", 32)
  gfx.setfont(1, "Verdana", 9)
  gfx.setfont(2, "Verdana", 10)
  gfx.setfont(3, "Tahoma", 10)             --<< To DO : OSX font matching
  gfx.setfont(4, "Verdana", 14)
  gfx.setfont(5, "Tahoma", 11)
  gfx.setfont(11, "Verdana", 18)
  gfx.setfont(12, "Verdana", 20)
  gfx.setfont(13, "Tahoma", 20)             --<< To DO : OSX font matching
  gfx.setfont(14, "Verdana", 28)
  gfx.setfont(15, "Tahoma", 22)
Attached Images
File Type: jpg mixer-control.jpg (54.1 KB, 8 views)
File Type: jpg track-control.jpg (55.4 KB, 9 views)

Last edited by skila; 01-24-2020 at 01:38 PM. Reason: It didn't add the attachments first time.
skila is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 11:17 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.