free-wheeling / freewheeling

Freewheeling Live Looper
http://freewheeling.sourceforge.net/
GNU General Public License v2.0
107 stars 7 forks source link

wrong font path on Linux Mint 18.2 #11

Closed lysergik closed 5 years ago

lysergik commented 6 years ago

Hello, I've installed freewheeling from the universe debian repositry, and when I launch it into a terminal I have this message(sorry for the lenght):

FreeWheeling 0.6
May we return to the circle.
....
VIDEO: Loading font main: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf (20 pt)
VIDEO: Couldn't find font file: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
Did you run 'make install'?`

If you have any idea to how I could fix this I would be interested.

neuschaefer commented 6 years ago

This line seems to be the culprit:

VIDEO: Couldn't find font file: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf

This file should be in either ttf-dejavu-core or fonts-dejavu-core.

lysergik commented 6 years ago

Thanks, the problem was the font. But actually it was in /usr/share/fonts/truetype/dejavu and not ../ttf-dejavu.

bill-auger commented 6 years ago

i am re-opening this just to remind me the debian package needs updating - i have been putting it off hoping the debian packager would do it

if you search the source code of this repo you will find that 'dejavu' is not specified anywhere - freewheeling specifies only the 'vera' fonts and installs them to /usr/share/fweelin as part of the package - IIRC debian added a patch that over-rides the freewheeling's font due to their policy for keeping all fonts under /usr/share/fonts - i think what is happening here is that mint names its font packages differently or puts them in a different directory than debian - there is a commit on the development branch here that should eliminate the debian patch by first searching the debian fonts directory and then falling back on the freewheeling resources - but if mint simply takes the debian package and additionally names it's font directories different than debian, then the problem may remain in mint unless they add their own patch to account for that

derMart commented 6 years ago

I get the exact same error on Ubuntu 16.04 after installing the official package freewheeling

bill-auger commented 6 years ago

derMart -

as stated above, the current ubuntu/mint package is broken - to make it work, open a terminal and run this command:

$ sed -i 's|ttf-dejavu|dejavu|' ~/.fweelin/graphics.xml