Old 08-13-2018, 01:36 PM   #281
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: The vast, frozen wasteland of western Canadia.
Posts: 5,168
Default

Quote:
Originally Posted by cfillion View Post
Ah right, for some reason gfx.getfont() always returns an empty string on Linux (bug?)
I can't imagine it's intentional.
__________________
Currently working away from home; don't expect timely responses from me.
Default 5.0 Nitpicky Edition / GUI tutorial for Lua / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate / ReaPack
Lokasenna is offline   Reply With Quote
Old 08-13-2018, 01:41 PM   #282
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: The vast, frozen wasteland of western Canadia.
Posts: 5,168
Default

What I'm gathering from this is that I should probably throw Linux on a USB drive just for scripting.
__________________
Currently working away from home; don't expect timely responses from me.
Default 5.0 Nitpicky Edition / GUI tutorial for Lua / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate / ReaPack
Lokasenna is offline   Reply With Quote
Old 08-13-2018, 02:52 PM   #283
White Tie
Pixel Pusher
 
White Tie's Avatar
 
Join Date: Mar 2007
Location: Blighty
Posts: 2,331
Default

As of v5.94pre6, Reaper for Linux bundles the liberation fonts.
__________________
The House of White Tie
White Tie is offline   Reply With Quote
Old 08-14-2018, 04:13 AM   #284
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 244
Default

I am maybe out and bicycling now but I looked in Reaper.ini and found this:

Code:
t_font_fallback=// Cantarell FreeSans DejaVuSans NotoSans LiberationSans Oxygen Arial Verdana
ft_font_fallback_fixedwidth=// FreeMono DejaVuSansMono NotoMono OxygenMono LiberationMono Courier
Is this something I can change to make it work?
__________________
Mark4Celest: Frid (i ditt hjärta)
Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 08-14-2018, 09:13 AM   #285
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 2,934
Default

@Lokasenna

I just did a quick check on Linux and changing these lines in your Core.lua seem to help:

Code:
Linux = {
            sans = "Arial",
            mono = "DejaVuSansMono"   <-- without the spaces
Or in case of using the Liberation fonts White Tie mentioned:
Code:
Linux = {
            sans = "LiberationSans",
            mono = "LiberationMono"
        }

Quote:
Originally Posted by Lokasenna
What I'm gathering from this is that I should probably throw Linux on a USB drive just for scripting.
In case you don't already know it, another option is to make a Linux install on a virtual machine using something like VirtualBox.
That's what I'm currently using here to test the Linux version
__________________
ReaLauncher

Last edited by solger; 08-14-2018 at 09:19 AM.
solger is offline   Reply With Quote
Old 08-14-2018, 11:44 AM   #286
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: The vast, frozen wasteland of western Canadia.
Posts: 5,168
Default

Alright, I'm dual-booting with Ubuntu Studio now. Just have to sort out some crap with my trackball and my laptop's function keys and then I can investigate.
__________________
Currently working away from home; don't expect timely responses from me.
Default 5.0 Nitpicky Edition / GUI tutorial for Lua / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate / ReaPack
Lokasenna is offline   Reply With Quote
Old 08-14-2018, 12:42 PM   #287
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: The vast, frozen wasteland of western Canadia.
Posts: 5,168
Default

Fix confirmed, updating.
__________________
Currently working away from home; don't expect timely responses from me.
Default 5.0 Nitpicky Edition / GUI tutorial for Lua / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate / ReaPack
Lokasenna is offline   Reply With Quote
Old 08-14-2018, 01:22 PM   #288
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 2,934
Default

Quote:
Originally Posted by Lokasenna View Post
Fix confirmed, updating.
Nice!
__________________
ReaLauncher
solger is offline   Reply With Quote
Old 08-14-2018, 10:08 PM   #289
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 244
Default

Quote:
Originally Posted by Lokasenna View Post
Fix confirmed, updating.
Yeah, nice!
__________________
Mark4Celest: Frid (i ditt hjärta)
Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old Today, 12:43 PM   #290
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,020
Default

v5.95pre7 supports font families and gfx.getfont's second return value on Linux!

sans-serif/serif/monospace/cursive now resolves to the user's preferred font of that type.

(It doesn't always match what was given to gfx.setfont. The system's FontConfig will select the closest substitute font in most cases if the requested one isn't installed. gfx.getfont returns which font is actually being used.)

Last edited by cfillion; Today at 02:42 PM.
cfillion is online now   Reply With Quote
Old Today, 02:30 PM   #291
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: The vast, frozen wasteland of western Canadia.
Posts: 5,168
Default

Quote:
Originally Posted by cfillion View Post
v5.95pre7 supports font families and gfx.getfont's second return value on Linux!

(It doesn't always match what was given to gfx.setfont. The system's FontConfig will select the closest substitute font in most cases if the requested one isn't installed. gfx.getfont returns which font is actually being used.)
Awesome. AFAIK pretty much any Linux distro should have DejaVu on hand, so I won't worry too much unless I hear about people having trouble.
__________________
Currently working away from home; don't expect timely responses from me.
Default 5.0 Nitpicky Edition / GUI tutorial for Lua / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate / ReaPack
Lokasenna is offline   Reply With Quote
Reply

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 04:55 PM.


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