App-Music-ChordPro

 view release on metacpan or  search on metacpan

lib/ChordPro/res/config/chordii.json  view on Meta::CPAN


  // Page bottom margin, excluding `footspace`.
  marginbottom : 40

  // Page left margin.
  marginleft : 72

  // Page right margin.
  marginright : 40

  // Space for page titles.
  headspace : 57

  // Space for page footers.
  footspace : 20

  // Heading on first page only, add the headspace to the other pages so they become larger.

  head-first-only : true

  // Baseline distances as a factor of the font size.
  spacing {

    // Spacing for page titles.
    title : 1.5

    // Spacing between songlines (grouped chords + lyrics).
    lyrics : 1

    // Spacing between chords and lyrics in songlines.
    chords : 1

    // Spacing for empty (blank) lines.
    empty : 1.7
  }

  // Appearance of chord diagrams for string instruments.
  diagrams {
    show : below
    linewidth : 0.15
  }

  // Page formats.
  formats {

    default.footer : [ "" " %{title}" "Page %{page}" ]
    title.footer : [ "" "" "Page %{page}" ]
    first.footer : [ "" "" "" ]
  }

  // `fonts` maps output elements to fonts as defined in `fontconfig`.
  fonts {

    // The font used for page titles.
    title : "Times-Roman 17"

    // The font used for chords above the lyrics.
    chord : "Helvetica-Oblique 9"

    // The font used for comments. If not set, falls back on the `text` font.
    comment: "Times-Roman 12; background=foreground-light"

    // The font used for the table of contents. If not set, falls back on the `text` font.
    toc: "Times-Roman 12"
  }
}



( run in 1.694 second using v1.01-cache-2.11-cpan-5a3173703d6 )