joiningdata / lollipops

Lollipop-style mutation diagrams for annotating genetic variations.
GNU General Public License v3.0
186 stars 70 forks source link

Unable to load arial.ttf #58

Closed coolmak32 closed 2 years ago

coolmak32 commented 2 years ago

Hi! Thank you for developing this great software. I have been trying to generate some png file and I am getting the error " Unable to find Arial.ttf - Which is required for accurate font sizing".

I am using the path to arial.ttf argument but for some reason the file just does not load.

My command : ./lollipops -legend -labels -show-motifs -U Q99835 R31Q D54N -0=tumor3214.png -f=/Users/kuldeepmakwana/Documents/lollipops-v1.5.2-mac64/arial.ttf

Any help is much appreciated.

pbnjay commented 2 years ago

I believe that you just need to move all the options before the -U otherwise it thinks they’re variants!

On Fri, May 20, 2022 at 4:55 PM coolmak32 @.***> wrote:

Hi! Thank you for developing this great software. I have been trying to generate some png file and I am getting the error " Unable to find Arial.ttf - Which is required for accurate font sizing".

I am using the path to arial.ttf argument but for some reason the file just does not load.

My command : ./lollipops -legend -labels -show-motifs -U Q99835 R31Q D54N -0=tumor3214.png -f=/Users/kuldeepmakwana/Documents/lollipops-v1.5.2-mac64/arial.ttf

Any help is much appreciated.

— Reply to this email directly, view it on GitHub https://github.com/joiningdata/lollipops/issues/58, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABHOEC4LYGOMQB5GEGQWVLVK734LANCNFSM5WQRYXAQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jeremy

coolmak32 commented 2 years ago

Thank you for you quick response Jeremy. I was able to generate the graph after modifying the argument as per your suggestion.