Closed spakarl closed 1 month ago
The error message indicates a problem with reading the font information. It could be as easy as a missing font file.
Can you run chordpro with additional --define debug.fonts=2
argument?
Yes sure.
Ah, found it. It's the line (fonts5.json):
italic: Barlow-Italic
It is missing the .ttf
.
I'll be the first to admit that this should be detected, so I leave this issue open.
Thank you so much!
Using Chordpro core 6.060 on Windows 11.
I want to use a very popular font. It is the german DIN font. Microsoft has implemented a similar font in Windows - where it is called "Bahnschrift". But this is one TTF-File with many Subfonts inside. I did not find any way to use it under chordpro. So I looked for some other implementation for the font that is contained in one TTF file for every subfont. I found a good candidate in Google Fonts. It is called Barlow. But unfortunately there seems to be a problem with Chordpro when I try to use that font. I receive the following error message.
fonts5.json surface.json