Use new ChordPro RRJSON configuration format

Requires ChordPro version 6.060.
This commit is contained in:
Emil Miler 2024-09-04 10:28:52 +02:00
parent d97d0cc0f6
commit 7c074457c9

View File

@ -1,85 +1,58 @@
{ pdf {
"pdf" : { papersize : a4
"papersize" : "a4", columnspace : 20
"columnspace" : 20, margintop : 60
"margintop" : 60, marginbottom : 40
"marginbottom" : 40, marginleft : 40
"marginleft" : 40, marginright : 40
"marginright" : 40, headspace : 40
"headspace" : 40, footspace : 20
"footspace" : 20,
formats.title {
"formats" : { title : [ "" "%{title}" "%{artist}" ]
"title" : { subtitle : [ "" "" "" ]
"title" : [ "", "%{title}", "%{artist}" ], }
"subtitle" : [ "", "", "" ],
}, fontdir : [ static/fonts/liberation-fonts-ttf-2.1.5/ ]
}, fontconfig {
serif {
"fontdir" : [ "static/fonts/liberation-fonts-ttf-2.1.5/" ], "" : LiberationSerif-Regular.ttf
"fontconfig" : { bold : LiberationSerif-Bold.ttf
"serif" : { italic : LiberationSerif-Italic.ttf
"" : "LiberationSerif-Regular.ttf", bolditalic : LiberationSerif-BoldItalic.ttf
"bold" : "LiberationSerif-Bold.ttf", }
"italic" : "LiberationSerif-Italic.ttf", sans {
"bolditalic" : "LiberationSerif-BoldItalic.ttf" "" : LiberationSans-Regular.ttf
}, bold : LiberationSans-Bold.ttf
"sans" : { italic : LiberationSans-Italic.ttf
"" : "LiberationSans-Regular.ttf", bolditalic : LiberationSans-BoldItalic.ttf
"bold" : "LiberationSans-Bold.ttf", }
"italic" : "LiberationSans-Italic.ttf", monospace {
"bolditalic" : "LiberationSans-BoldItalic.ttf" "" : LiberationMono-Regular.ttf
}, bold : LiberationMono-Bold.ttf
"monospace" : { italic : LiberationMono-Italic.ttf
"" : "LiberationMono-Regular.ttf", bolditalic : LiberationMono-BoldItalic.ttf
"bold" : "LiberationMono-Bold.ttf", }
"italic" : "LiberationMono-Italic.ttf", }
"bolditalic" : "LiberationMono-BoldItalic.ttf"
}, fonts {
}, title.description : "serif bold 14"
subtitle.description : "serif 11"
"fonts" : { text.description : "serif 12"
"title" : { chord.description : "sans italic 10"
"description" : "serif bold 14" comment {
}, description : "sans 12"
"subtitle" : { background : #E5E5E5
"description" : "serif 11" }
}, comment_italic.description : "sans italic 12"
"text" : { comment_box {
"description" : "serif 12" description : "sans 12"
}, frame : 1
"chord" : { }
"description" : "sans italic 10" tab.description : "monospace 10"
}, toc.description : "serif 11"
"comment" : { grid.description : "sans 10"
"description" : "sans 12", }
"background" : "#E5E5E5" }
},
"comment_italic" : { html.styles.display : /chordpro.css
"description" : "sans italic 12"
},
"comment_box" : {
"description" : "sans 12",
"frame" : 1
},
"tab" : {
"description" : "monospace 10"
},
"toc" : {
"description" : "serif 11"
},
"grid" : {
"description" : "sans 10"
},
"chordfingers" : {
"description" : "dingbats 10"
}
}
},
"html" : {
"styles" : {
"display" : "/chordpro.css"
}
}
}