App-Music-ChordPro
view release on metacpan or search on metacpan
lib/ChordPro/res/config/chordpro.rjson view on Meta::CPAN
"" : Courier
bold : Courier-Bold
italic : Courier-Oblique
bolditalic : Courier-BoldOblique
}
"mono, monospace" {
"" : Courier
bold : Courier-Bold
italic : Courier-Oblique
bolditalic : Courier-BoldOblique
}
"muse, musejazztext" {
"" : MuseJazzText.otf
bold : MuseJazzText.otf
italic : MuseJazzText.otf
bolditalic : MuseJazzText.otf
}
dingbats. : ZapfDingbats
}
// `fonts` maps output elements to fonts as defined in `fontconfig`.
//
// Some element mappings can be specified, but it's not needed for all since they default to other elements:
// subtitle --> text
// chorus --> text
// comment --> text
// comment_italic --> chord
// comment_box --> chord
// annotation --> chord
// toc --> text
// grid --> chord
// grid_margin --> comment
// footer --> subtitle @ 60%
// empty --> text
// diagram --> comment
// diagram_base --> text (but at a small size)
fonts {
// The font used for page titles.
title : "Times-Bold 14"
// The font used for lyrics texts.
text : "Times-Roman 12"
// The font used for chords above the lyrics.
chord : "Helvetica-Oblique 10"
// Font for numbers in chord diagram dots.
// `color` is for the numbers.
// `numbercolor` is for the dots.
// `size` doesn't matter unless `diagrams.fingers` = `"below"`.
chordfingers : "sans; numbercolor=background"
// The font used for comments. If not set, falls back on the `text` font.
comment : "Helvetica 12; background=foreground-light"
// The font used for `comment_italic` directives. If not set, falls back on the `chord` font.
comment_italic : "Helvetica-Oblique 12"
// The font used for `comment_box` directives. If not set, falls back on the `chord` font.
comment_box : "Helvetica 12; frame=1"
// The font used for the contents of tab environments.
tab : "Courier 10"
// The font used for the table of contents. If not set, falls back on the `text` font.
toc : "Times-Roman 11"
// The font used for grid elements. If not set, falls back on the `chord` font.
grid : "Helvetica 10"
// Font for typesetting gridstrum symbols.
// You can set size and colours, but you cannot change the font.
gridstrum : "ChordProSymbols 13"
// Font for typesetting grilles.
grille : "Helvetica 10"
}
// PDF outlines (index) can be used in most PDF viewers for quick navigation.
outlines : [
{
// An identifying name for this outline.
name : by_title
// Primary and (optional) secondary fields.
fields : [ sorttitle artist ]
// Title, omitted if there's only one outline.
label : "By Title"
// The format for the outline entries.
line : "%{title}%{artist| - %{}}"
// Initial display is collapsed.
collapse : false
// If there are at least as many outline items with differing first letters than the amount specified here, an extra level of outlines (letter index) is created for easy navigation. A value of zero (`0`) disables this.
letter : 5
// For future use.
fold : false
}
{
// An identifying name for this outline.
name : by_artist
// Primary and (optional) secondary fields.
fields : [ artist sorttitle ]
// Title, omitted if there's only one outline.
label : "By Artist"
// The format for the outline entries.
line : "%{artist|%{} - }%{title}"
// Initial display is collapsed.
collapse : false
( run in 1.039 second using v1.01-cache-2.11-cpan-e1769b4cff6 )