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

textsize directive with percentage raises error #31

lpinner opened this Issue Nov 29, 2017 · 1 comment


2 participants

lpinner commented Nov 29, 2017

The following .pro that uses a (nested) textsize directive with a percentage raises an error. No issue when the textsize is an absolute value.

Testing against the dev branch

$ ./script/chordpro --version
This is ChordPro version 0.910_015

$ ./script/chordpro -X
Use of uninitialized value in multiplication (*) at script/../lib/App/Music/ChordPro/Output/ line 227.
A font size is required at script/../lib/App/Music/ChordPro/Output/ line 1886.

$ cat
{title: Swing Low Sweet Chariot}
{subtitle: Traditional}

Swing low, sweet chariot,
{textfont: Helvetica-Oblique}
Comin' for to carry me home.
Swing low, sweet chariot,
{textfont: Helvetica-Oblique}
Comin’ for to carry me home.
{textsize: 75%} 
#{textsize: 10} 

This comment has been minimized.

Show comment
Hide comment

sciurius Nov 29, 2017


Thanks, fixed in 091_016.


sciurius commented Nov 29, 2017

Thanks, fixed in 091_016.

@sciurius sciurius closed this Dec 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment