App-Music-ChordPro
view release on metacpan or search on metacpan
t/380_roundtrip.t view on Meta::CPAN
# Formats.
formats {
# Titles/Footers.
# Titles/footers have 3 parts, which are printed left
# centered and right.
# For even/odd printing, the order is reversed.
# By default, a page has:
default {
# No title/subtitle.
title = null
subtitle = null
# Footer is title -- page number.
footer.0 = "%{title}"
footer.1 = ""
footer.2 = "%{page}"
}
# The first page of a song has:
title {
# Title and subtitle.
title.0 = ""
title.1 = "%{title}"
title.2 = ""
subtitle.0 = ""
subtitle.1 = "%{subtitle}"
subtitle.2 = ""
# Footer with page number.
footer.0 = ""
footer.1 = ""
footer.2 = "%{page}"
}
# The very first output page is slightly different:
first {
# It has title and subtitle, like normal 'first' pages.
# But no footer.
footer = null
}
}
# Split marker for syllables that are smaller than chord width.
# split-marker is a 3-part array: 'start', 'repeat', and 'final'.
# 'final' is always printed, last.
# 'start' is printed if there is enough room.
# 'repeat' is printed repeatedly to fill the rest.
# If split-marker is a single string, this is 'start'.
# All elements may be left empty strings.
split-marker = [ "" "" "" ]
# Font families and properties.
# "fontconfig" maps members of font families to physical fonts.
# Optionally, additional properties of the fonts can be specified.
# Physical fonts can be the names of TrueType/OpenType fonts
# or names of built-in fonts (corefonts).
# Relative filenames are looked up in the fontdir.
# fontdir = [ "/usr/share/fonts/liberation", "/home/me/fonts" ]
fontdir = null
fontconfig {
# alternatives: regular r normal <empty>
# alternatives: bold b strong
# alternatives: italic i oblique o emphasis
# alternatives: bolditalic bi italicbold ib boldoblique bo obliquebold ob
times {
'' = "Times-Roman"
bold = "Times-Bold"
italic = "Times-Italic"
bolditalic = "Times-BoldItalic"
}
helvetica {
'' = "Helvetica"
bold = "Helvetica-Bold"
oblique = "Helvetica-Oblique"
boldoblique = "Helvetica-BoldOblique"
}
courier {
'' = "Courier"
bold = "Courier-Bold"
italic = "Courier-Italic"
bolditalic = "Courier-BoldItalic"
}
dingbats {
"" = "ZapfDingbats"
}
}
# "fonts" maps output elements to fonts as defined in "fontconfig".
# The elements can have a background colour associated.
# Colours are "#RRGGBB" or predefined names like "black", "white"
# and lots of others.
# NOTE: In the built-in config we use only "name" since that can
# be overruled with user settings.
fonts {
title {
name = "Times-Bold"
size = 14
}
text {
name = "Times-Roman"
size = 12
}
chord {
name = "Helvetica-Oblique"
size = 10
}
chordfingers {
name = "ZapfDingbats"
size = 10
}
comment {
name = "Helvetica"
size = 12
background = "#E5E5E5"
}
comment_italic {
name = "Helvetica-Oblique"
size = 12
}
comment_box {
name = "Helvetica"
size = 12
frame = 1
}
tab {
name = "Courier"
size = 10
}
toc {
name = "Times-Roman"
size = 11
}
grid {
name = "Helvetica"
size = 10
}
}
# Element mappings that can be specified, but need not since
# they default to other elements.
( run in 2.474 seconds using v1.01-cache-2.11-cpan-5c0b1e786e0 )