Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lLyrics plugin request #70

Open
GazMac2018 opened this issue May 9, 2018 · 1 comment
Open

lLyrics plugin request #70

GazMac2018 opened this issue May 9, 2018 · 1 comment

Comments

@GazMac2018
Copy link

Is it possible to set or change the current font in the lyric window?

I would like a font with a set character width so that I can edit the lyrics to add guitar tabulation.

As you may know, guitar tabulation requires a number of lines (namely 6 lines) in neighboring rows that show the location of musical notes on the guitar fretboard.

example:
|----------------|---------------|----------------|--------------|
|----------------|---------------|----------------|--------------|
|-0---3---5----0-|---3---6-5-----|-0---3---5----3-|---0----------|
|-0---3---5----0-|---3---6-5-----|-0---3---5----3-|---0----------|
|----------------|---------------|----------------|--------------|
|----------------|---------------|----------------|------0-1-2-3-|

In the above example, all the " | " should line up vertically.

Thank you,

regards,
Gaz

@GazMac2018
Copy link
Author

GazMac2018 commented Jun 5, 2018

As I know nothing about GTK, I used good old Google for several hours and found this..

myentry.modify_font(Pango.FontDescription('Sans Bold 12'))

edited it to my requirements, added it to /usr/lib/rhythmbox/plugins/lLyrics/lLyrics.py and it worked..

self.textview.modify_font(Pango.FontDescription('monospace 10'))

cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant