App-Music-ChordPro

 view release on metacpan or  search on metacpan

t/380_roundtrip.t  view on Meta::CPAN

      # 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.
  # subtitle       --> 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)

  # Bookmarks (PDF outlines).
  # fields:   primary and (optional) secondary fields.
  # label:    outline label
  # line:     text of the outline element
  # collapse: initial display is collapsed
  # letter:   sublevel with first letters if more
  # fold:     group by primary (NYI)
  # omit:     ignore this
  outlines = [
    {
      fields   = [ "sorttitle" "artist" ]
      label    = "By Title"
      line     = "%{title}%{artist| - %{}}"
      collapse = false
      letter   = 5
      fold     = false
    }
    {
      fields   = [ "artist" "sorttitle" ]
      label    = "By Artist"
      line     = "%{artist|%{} - }%{title}"
      collapse = false
      letter   = 5
      fold     = false
    }
  ]

  # This will show the page layout if non-zero.
  showlayout = false
}



( run in 2.218 seconds using v1.01-cache-2.11-cpan-d06a3f9ecfd )