summaryrefslogtreecommitdiffstats
path: root/data/fonts/mappings
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 18:37:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 18:37:05 +0000
commit145364a8af6a1fec06556221e66d4b724a62fc9a (patch)
tree53bd71a544008c518034f208d64c932dc2883f50 /data/fonts/mappings
downloadrosegarden-145364a8af6a1fec06556221e66d4b724a62fc9a.tar.gz
rosegarden-145364a8af6a1fec06556221e66d4b724a62fc9a.zip
Added old abandoned KDE3 version of the RoseGarden MIDI tool
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1097595 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'data/fonts/mappings')
-rw-r--r--data/fonts/mappings/README15
-rw-r--r--data/fonts/mappings/feta.xml189
-rw-r--r--data/fonts/mappings/feta_pixmaps.xml226
-rw-r--r--data/fonts/mappings/fughetta.xml155
-rw-r--r--data/fonts/mappings/inkpen.xml154
-rw-r--r--data/fonts/mappings/maestro.xml154
-rw-r--r--data/fonts/mappings/opus.xml153
-rw-r--r--data/fonts/mappings/petrucci.xml158
-rw-r--r--data/fonts/mappings/rg21.xml102
-rw-r--r--data/fonts/mappings/sonata.xml147
-rw-r--r--data/fonts/mappings/steinberg.xml142
-rw-r--r--data/fonts/mappings/xinfonia.xml160
12 files changed, 1755 insertions, 0 deletions
diff --git a/data/fonts/mappings/README b/data/fonts/mappings/README
new file mode 100644
index 0000000..6483b1a
--- /dev/null
+++ b/data/fonts/mappings/README
@@ -0,0 +1,15 @@
+
+feta.xml contains descriptions for the TrueType conversion of the
+METAFONT outline font supplied with the GNU Lilypond musical notation
+typesetting system; the font may be found in gui/fonts/feta.ttf.
+
+feta pixmaps.xml contains descriptions for a pixmap version of the
+same font; the bitmaps may be found in gui/pixmaps/feta.
+
+Lilypond and the feta font are copyright 1997 to 2001 by Han-Wen
+Nienhuys and Jan Nieuwenhuizen and are distributed under the terms of
+the GNU General Public Licence, a copy of which may be found in the
+top-level directory of this distribution.
+
+See http://www.lilypond.org/ for more information about Lilypond.
+
diff --git a/data/fonts/mappings/feta.xml b/data/fonts/mappings/feta.xml
new file mode 100644
index 0000000..9c875a1
--- /dev/null
+++ b/data/fonts/mappings/feta.xml
@@ -0,0 +1,189 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<rosegarden-font-encoding name="Feta">
+
+<font-information
+ origin="GNU Lilypond"
+ copyright="Copyright (c) 1997--2003 Han-Wen Nienhuys and Jan Nieuwenhuizen"
+ mapped-by="Chris Cannam"
+ type="scalable"
+ smooth="true"/>
+
+<font-requirements>
+ <!-- The LilyPond fonts are included with Rosegarden, so we tweak their
+ names to avoid conflict with already-installed system fonts -->
+ <font-requirement font-id="0" names="LilyPond-feta-rosegarden" strategy="prefer-glyphs"/>
+ <font-requirement font-id="1" names="LilyPond-feta-nummer-rosegarden" strategy="prefer-codes"/>
+ <font-requirement font-id="2" names="LilyPond-parmesan-rosegarden" strategy="prefer-glyphs"/>
+ <font-requirement font-id="3" names="bitstream vera serif,luxi serif,times new roman,times,DEFAULT" strategy="prefer-codes"/> <!-- text font -->
+</font-requirements>
+
+<font-sizes>
+ <font-scale font-height="4.5" beam-thickness="0.5" staff-line-thickness="0.16" leger-line-thickness="0.19" stem-thickness="0.18"/>
+ <font-scale font-id="1" font-height="2.1"/>
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <codebase font-id="0" base="61440"/> <!-- Unicode private-use area -->
+
+ <symbol name="__UNKNOWN__" font-id="2" code="63"/> <!-- question mark -->
+
+ <symbol name="MUSIC SHARP SIGN" font-id="0" code="63" glyph="15"/>
+ <symbol name="MUSIC NATURAL SIGN" font-id="0" code="64" glyph="18"/>
+ <symbol name="MUSIC FLAT SIGN" font-id="0" code="65" glyph="19"/>
+
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" font-id="0" code="67" glyph="23"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" font-id="0" code="66" glyph="21"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" font-id="0" glyph="27"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" font-id="0" code="72" glyph="28"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" font-id="0" code="73" glyph="29"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" font-id="0" code="74" glyph="30"/>
+
+ <symbol name="MUSICAL SYMBOL X NOTEHEAD" font-id="0" code="86" glyph="42"/>
+ <symbol name="MUSICAL SYMBOL CIRCLE X NOTEHEAD" font-id="0" code="85" glyph="43"/>
+
+ <symbol name="MUSICAL SYMBOL BREVIS" font-id="2" glyph="20"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS WHITE" font-id="0" glyph="143"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS BLACK" font-id="0" glyph="144"/>
+
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP WHITE" font-id="0" glyph="137"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP BLACK" font-id="0" glyph="138"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1"
+ font-id="0" code="133" inversion-code="137" glyph="98" inversion-glyph="102"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-2"
+ font-id="0" code="134" inversion-code="140" glyph="99" inversion-glyph="105"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-3"
+ font-id="0" code="135" inversion-code="141" glyph="100" inversion-glyph="106"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-4"
+ font-id="0" code="136" inversion-code="142" glyph="101" inversion-glyph="107"/>
+
+ <!-- None of the "... REST ON STAFF" names are part of Unicode 4.0: -->
+ <symbol name="MUSICAL SYMBOL MULTI REST" font-id="0" glyph="7"/>
+ <symbol name="MUSICAL SYMBOL MULTI REST ON STAFF" font-id="0" glyph="7"/>
+ <symbol name="MUSICAL SYMBOL WHOLE REST" font-id="0" code="34" glyph="3"/>
+ <symbol name="MUSICAL SYMBOL WHOLE REST ON STAFF" font-id="0" code="32" glyph="1"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" font-id="0" code="35" glyph="4"/>
+ <symbol name="MUSICAL SYMBOL HALF REST ON STAFF" font-id="0" code="33" glyph="2"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" font-id="0" code="38" glyph="8"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" font-id="0" code="39" glyph="10"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" font-id="0" code="41" glyph="11"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" font-id="0" code="42" glyph="12"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" font-id="0" code="43" glyph="13"/>
+ <symbol name="MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH REST" font-id="0" code="44" glyph="14"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" font-id="0" code="70" glyph="26"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" font-id="0" code="92" glyph="53"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" font-id="0" code="96" glyph="57"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" font-id="0" code="93" glyph="54"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATISSIMO"
+ font-id="0" code="94" inversion-code="95" glyph="55" inversion-glyph="56"/>
+ <symbol name="MUSICAL SYMBOL COMBINING MARCATO"
+ font-id="0" code="99" inversion-code="100" glyph="60" inversion-glyph="61"/>
+ <symbol name="MUSICAL SYMBOL FERMATA"
+ font-id="0" code="89" inversion-code="90" glyph="44" inversion-glyph="45"/>
+ <symbol name="MUSICAL SYMBOL TR" font-id="0" code="107" glyph="68"/>
+ <symbol name="MUSICAL SYMBOL TURN" font-id="0" code="106" glyph="67"/>
+
+ <!-- The mordents and trill line are not Unicode names: -->
+ <symbol name="MUSICAL SYMBOL COMBINING TRILL LINE" font-id="0" glyph="82"/>
+ <symbol name="MUSICAL SYMBOL MORDENT" font-id="0" glyph="87"/>
+ <symbol name="MUSICAL SYMBOL INVERTED MORDENT" font-id="0" glyph="86"/>
+ <symbol name="MUSICAL SYMBOL LONG MORDENT" font-id="0" glyph="89"/>
+ <symbol name="MUSICAL SYMBOL LONG INVERTED MORDENT" font-id="0" glyph="88"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" font-id="0" code="103" glyph="64"/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" font-id="0" code="104" glyph="65"/>
+
+ <symbol name="MUSICAL SYMBOL PEDAL MARK" font-id="0" glyph="126"/>
+ <symbol name="MUSICAL SYMBOL PEDAL UP MARK" font-id="0" glyph="120"/>
+
+ <symbol name="MUSICAL SYMBOL C CLEF" font-id="0" code="145" glyph="108"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" font-id="0" code="149" glyph="112"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" font-id="0" code="147" glyph="110"/>
+
+ <symbol name="MUSICAL SYMBOL CUT TIME" font-id="0" glyph="119"/>
+ <symbol name="MUSICAL SYMBOL COMMON TIME" font-id="0" glyph="118"/>
+
+ <symbol name="DIGIT ZERO" font-id="1" code="48"/>
+ <symbol name="DIGIT ONE" font-id="1" code="49"/>
+ <symbol name="DIGIT TWO" font-id="1" code="50"/>
+ <symbol name="DIGIT THREE" font-id="1" code="51"/>
+ <symbol name="DIGIT FOUR" font-id="1" code="52"/>
+ <symbol name="DIGIT FIVE" font-id="1" code="53"/>
+ <symbol name="DIGIT SIX" font-id="1" code="54"/>
+ <symbol name="DIGIT SEVEN" font-id="1" code="55"/>
+ <symbol name="DIGIT EIGHT" font-id="1" code="56"/>
+ <symbol name="DIGIT NINE" font-id="1" code="57"/>
+
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSICAL SYMBOL VOID NOTEHEAD">
+ <scaled x="0.1" y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL NOTEHEAD BLACK">
+ <fixed x="1"/>
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSIC FLAT SIGN">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL DOUBLE FLAT">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <scaled y="0.47"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <scaled y="0.64"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <scaled y="0.32"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST ON STAFF">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <scaled y="0.1"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST ON STAFF">
+ <scaled y="0.1"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST">
+ <scaled y="0.9"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST ON STAFF">
+ <scaled y="0.9"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL QUARTER REST">
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL EIGHTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTEENTH REST">
+ <scaled y="0.28"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL THIRTY-SECOND REST">
+ <scaled y="0.45"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTY-FOURTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL COMBINING TRILL LINE">
+ <scaled x="0.4" y="0.5"/>
+ </hotspot>
+</font-hotspots>
+
+</rosegarden-font-encoding>
diff --git a/data/fonts/mappings/feta_pixmaps.xml b/data/fonts/mappings/feta_pixmaps.xml
new file mode 100644
index 0000000..b50bc79
--- /dev/null
+++ b/data/fonts/mappings/feta_pixmaps.xml
@@ -0,0 +1,226 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<rosegarden-font-encoding name="Feta Pixmaps">
+
+<font-information
+ origin="GNU Lilypond"
+ copyright="Copyright (c) 1997--2003 Han-Wen Nienhuys and Jan Nieuwenhuizen"
+ mapped-by="Chris Cannam"
+ type="pixmap"
+ smooth="true"/>
+
+<font-sizes>
+ <font-size note-height="4" beam-thickness="2" staff-line-thickness="1" stem-thickness="1"/>
+ <font-size note-height="6" beam-thickness="3" staff-line-thickness="1" stem-thickness="1"/>
+ <font-size note-height="8" beam-thickness="4" staff-line-thickness="1" stem-thickness="1"/>
+ <font-size note-height="10" beam-thickness="5" staff-line-thickness="1" stem-thickness="2"/>
+ <font-size note-height="12" beam-thickness="6" staff-line-thickness="2" stem-thickness="2"/>
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <src-directory name="feta"/>
+
+ <symbol name="__UNKNOWN__" src="unknown"/>
+
+ <symbol name="MUSIC SHARP SIGN" src="accidentals-1"/>
+ <symbol name="MUSIC NATURAL SIGN" src="accidentals-0"/>
+ <symbol name="MUSIC FLAT SIGN" src="accidentals--1"/>
+
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" src="accidentals-2"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" src="accidentals--2"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" src="noteheads--1"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" src="noteheads-0"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" src="noteheads-1"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" src="noteheads-2"/>
+
+ <symbol name="MUSICAL SYMBOL X NOTEHEAD" src="noteheads-2cross"/>
+ <symbol name="MUSICAL SYMBOL CIRCLE X NOTEHEAD" src="noteheads-2xcircle"/>
+ <symbol name="MUSICAL SYMBOL BREVIS" src="noteheads--1mensural"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS WHITE" src="noteheads-1mensural"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS BLACK" src="noteheads-2mensural"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP WHITE" src="noteheads-1triangle"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP BLACK" src="noteheads-2triangle"/>
+
+ <!-- There's only one Unicode point for each flag; I guess
+ you're expected to invert them yourself -->
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1"
+ src="flags-u3" inversion-src="flags-d3"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-2"
+ src="flags-u4" inversion-src="flags-d4"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-3"
+ src="flags-u5" inversion-src="flags-d5"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-4"
+ src="flags-u6" inversion-src="flags-d6"/>
+
+ <!-- None of the "... REST ON STAFF" names are part of Unicode 4.0: -->
+ <symbol name="MUSICAL SYMBOL MULTI REST" src="rests--1o"/>
+ <symbol name="MUSICAL SYMBOL MULTI REST ON STAFF" src="rests--1"/>
+ <symbol name="MUSICAL SYMBOL WHOLE REST" src="rests-0o"/>
+ <symbol name="MUSICAL SYMBOL WHOLE REST ON STAFF" src="rests-0"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" src="rests-1o"/>
+ <symbol name="MUSICAL SYMBOL HALF REST ON STAFF" src="rests-1"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" src="rests-2"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" src="rests-3"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" src="rests-4"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" src="rests-5"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" src="rests-6"/>
+ <symbol name="MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH REST" src="rests-7"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" src="dots-dot"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" src="scripts-sforzato"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" src="scripts-tenuto"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" src="scripts-staccato"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATISSIMO"
+ src="scripts-ustaccatissimo" inversion-src="scripts-dstaccatissimo"/>
+ <symbol name="MUSICAL SYMBOL COMBINING MARCATO"
+ src="scripts-umarcato" inversion-src="scripts-dmarcato"/>
+ <symbol name="MUSICAL SYMBOL FERMATA"
+ src="scripts-ufermata" inversion-src="scripts-dfermata"/>
+ <symbol name="MUSICAL SYMBOL TR" src="scripts-trill"/>
+ <symbol name="MUSICAL SYMBOL TURN" src="scripts-turn"/>
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" src="scripts-upbow"/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" src="scripts-downbow"/>
+ <!-- Unicode (and Lilypond) just have a single G clef, they
+ don't distinguish between alto and tenor. We'll have to
+ use the same clef with an offset. -->
+ <symbol name="MUSICAL SYMBOL C CLEF" src="clefs-C"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" src="clefs-G"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" src="clefs-F"/>
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSICAL SYMBOL VOID NOTEHEAD">
+ <fixed x="1"/>
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL NOTEHEAD BLACK">
+ <fixed x="1"/>
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL COMBINING FLAG-1">
+ <fixed x="1"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL COMBINING FLAG-2">
+ <fixed x="1"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL COMBINING FLAG-3">
+ <fixed x="1"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL COMBINING FLAG-4">
+ <fixed x="1"/>
+ </hotspot>
+ <hotspot name="MUSIC FLAT SIGN">
+ <when note-height="4" y="8"/>
+ <when note-height="6" y="12"/>
+ <when note-height="8" y="15"/>
+ <when note-height="10" y="19"/>
+ <when note-height="12" y="22"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <when note-height="4" y="9"/>
+ <when note-height="6" y="13"/>
+ <when note-height="8" y="16"/>
+ <when note-height="10" y="20"/>
+ <when note-height="12" y="24"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <when note-height="4" y="19"/>
+ <when note-height="6" y="29"/>
+ <when note-height="8" y="38"/>
+ <when note-height="10" y="48"/>
+ <when note-height="12" y="58"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <when note-height="4" y="5"/>
+ <when note-height="6" y="7"/>
+ <when note-height="8" y="9"/>
+ <when note-height="10" y="11"/>
+ <when note-height="12" y="13"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <when note-height="4" y="0"/>
+ <when note-height="6" y="0"/>
+ <when note-height="8" y="0"/>
+ <when note-height="10" y="0"/>
+ <when note-height="12" y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST ON STAFF">
+ <when note-height="4" y="0"/>
+ <when note-height="6" y="0"/>
+ <when note-height="8" y="0"/>
+ <when note-height="10" y="0"/>
+ <when note-height="12" y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <when note-height="4" y="1"/>
+ <when note-height="6" y="1"/>
+ <when note-height="8" y="1"/>
+ <when note-height="10" y="1"/>
+ <when note-height="12" y="1"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST ON STAFF">
+ <when note-height="4" y="1"/>
+ <when note-height="6" y="1"/>
+ <when note-height="8" y="1"/>
+ <when note-height="10" y="1"/>
+ <when note-height="12" y="1"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST">
+ <when note-height="4" y="3"/>
+ <when note-height="6" y="4"/>
+ <when note-height="8" y="6"/>
+ <when note-height="10" y="7"/>
+ <when note-height="12" y="8"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST ON STAFF">
+ <when note-height="4" y="3"/>
+ <when note-height="6" y="4"/>
+ <when note-height="8" y="6"/>
+ <when note-height="10" y="7"/>
+ <when note-height="12" y="8"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL QUARTER REST">
+ <when note-height="4" y="6"/>
+ <when note-height="6" y="9"/>
+ <when note-height="8" y="12"/>
+ <when note-height="10" y="15"/>
+ <when note-height="12" y="19"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL EIGHTH REST">
+ <when note-height="4" y="4"/>
+ <when note-height="6" y="6"/>
+ <when note-height="8" y="7"/>
+ <when note-height="10" y="9"/>
+ <when note-height="12" y="11"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTEENTH REST">
+ <when note-height="4" y="5"/>
+ <when note-height="6" y="7"/>
+ <when note-height="8" y="8"/>
+ <when note-height="10" y="10"/>
+ <when note-height="12" y="12"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL THIRTY-SECOND REST">
+ <when note-height="4" y="6"/>
+ <when note-height="6" y="8"/>
+ <when note-height="8" y="9"/>
+ <when note-height="10" y="11"/>
+ <when note-height="12" y="13"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTY-FOURTH REST">
+ <when note-height="4" y="7"/>
+ <when note-height="6" y="9"/>
+ <when note-height="8" y="10"/>
+ <when note-height="10" y="12"/>
+ <when note-height="12" y="14"/>
+ </hotspot>
+</font-hotspots>
+
+</rosegarden-font-encoding>
diff --git a/data/fonts/mappings/fughetta.xml b/data/fonts/mappings/fughetta.xml
new file mode 100644
index 0000000..3612f81
--- /dev/null
+++ b/data/fonts/mappings/fughetta.xml
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<!-- The name here must match the filename in everything except case -->
+<rosegarden-font-encoding name="Fughetta">
+
+<!-- !!! check copyright -->
+<font-information
+ origin="Created by Blake Hodgetts; freely redistributable. See http://www.efn.org/~bch/aboutfonts.html"
+ copyright="Copyright 1995-1999 Blake Hodgetts"
+ mapped-by="Chris Cannam"
+ type="scalable"
+ smooth="true"/>
+
+<font-requirements>
+ <font-requirement font-id="0" names="fughetta" strategy="prefer-glyphs"/>
+ <font-requirement font-id="1" names="georgia,times new roman,times,DEFAULT" strategy="prefer-codes"/> <!-- text font -->
+</font-requirements>
+
+<font-sizes>
+ <font-scale font-height="4.3" beam-thickness="0.5" staff-line-thickness="0.1" stem-thickness="0.1"/>
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <codebase font-id="0" base="61440"/> <!-- Unicode private-use area -->
+
+ <symbol name="__UNKNOWN__" font-id="1" code="63"/> <!-- question mark -->
+
+ <symbol name="MUSIC SHARP SIGN" font-id="0" code="35" glyph="35"/>
+ <symbol name="MUSIC NATURAL SIGN" font-id="0" code="110" glyph="110"/>
+ <symbol name="MUSIC FLAT SIGN" font-id="0" code="98" glyph="98"/>
+
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" font-id="0" code="220" glyph="220"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" font-id="0" code="186" glyph="186"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" font-id="0" code="87" glyph="87"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" font-id="0" code="119" glyph="119"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" font-id="0" code="243" glyph="243"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" font-id="0" code="207" glyph="207"/>
+
+
+ <symbol name="MUSICAL SYMBOL X NOTEHEAD" font-id="0" code="224" glyph="224"/>
+
+ <symbol name="MUSICAL SYMBOL CIRCLE X NOTEHEAD" font-id="0" code="88" glyph="88"/>
+ <symbol name="MUSICAL SYMBOL BREVIS" font-id="0" code="221" glyph="221"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS WHITE" font-id="0" code="77" glyph="77"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS BLACK" font-id="0" code="75" glyph="75"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP WHITE" font-id="0" code="141" glyph="141"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP BLACK" font-id="0" code="143" glyph="143"/>
+
+ <!-- There's only one Unicode point for each flag; I guess
+ you're expected to invert them yourself -->
+ <symbol name="MUSICAL SYMBOL COMBINING PARTIAL FLAG"
+ font-id="0" code="730"/>
+ <symbol name="MUSICAL SYMBOL COMBINING PARTIAL FLAG FINAL"
+ font-id="0" code="106" glyph="106" inversion-code="74" inversion-glyph="74"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1"
+ font-id="0" code="106" glyph="106" inversion-code="74" inversion-glyph="74"/>
+ <symbol name="MUSICAL SYMBOL MULTI REST" font-id="0" code="214" glyph="214"/>
+ <symbol name="MUSICAL SYMBOL WHOLE REST" font-id="0" code="227" glyph="227"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" font-id="0" code="238" glyph="238"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" font-id="0" code="206" glyph="206"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" font-id="0" code="228" glyph="228"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" font-id="0" code="197" glyph="197"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" font-id="0" code="168" glyph="168"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" font-id="0" code="244" glyph="244"/>
+ <symbol name="MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH REST" font-id="0" code="229" glyph="229"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" font-id="0" code="46" glyph="46"/>
+<!-- ???
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" font-id="0" code="62" glyph="62"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" font-id="0" code="45" glyph="45"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" font-id="0" code="46" glyph="46"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATISSIMO"
+ font-id="0" code="174" glyph="174" inversion-code="95" inversion-glyph="95"/>
+ <symbol name="MUSICAL SYMBOL COMBINING MARCATO"
+ font-id="0" code="94" glyph="94" inversion-code="118" inversion-glyph="118"/>
+ <symbol name="MUSICAL SYMBOL FERMATA"
+ font-id="0" code="85" glyph="85" inversion-code="117" inversion-glyph="117"/>
+-->
+<!--
+ <symbol name="MUSICAL SYMBOL TR" font-id="0" code="107" glyph="107"/>
+ <symbol name="MUSICAL SYMBOL TURN" font-id="0" code="106" glyph="106"/>
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" font-id="0" code="178" glyph="178"/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" font-id="0" code="179" glyph="179"/>
+-->
+
+ <!-- Unicode (and Lilypond) just have a single G clef, they
+ don't distinguish between alto and tenor. We'll have to
+ use the same clef with an offset. -->
+ <symbol name="MUSICAL SYMBOL C CLEF" font-id="0" code="66" glyph="66"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" font-id="0" code="38" glyph="38"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" font-id="0" code="63" glyph="63"/>
+
+ <symbol name="MUSICAL SYMBOL CUT TIME" font-id="0" glyph="67"/>
+ <symbol name="MUSICAL SYMBOL COMMON TIME" font-id="0" glyph="99"/>
+ <symbol name="DIGIT ZERO" font-id="0" code="48" glyph="48"/>
+ <symbol name="DIGIT ONE" font-id="0" code="49" glyph="49"/>
+ <symbol name="DIGIT TWO" font-id="0" code="50" glyph="50"/>
+ <symbol name="DIGIT THREE" font-id="0" code="51" glyph="51"/>
+ <symbol name="DIGIT FOUR" font-id="0" code="52" glyph="52"/>
+ <symbol name="DIGIT FIVE" font-id="0" code="53" glyph="53"/>
+ <symbol name="DIGIT SIX" font-id="0" code="54" glyph="54"/>
+ <symbol name="DIGIT SEVEN" font-id="0" code="55" glyph="55"/>
+ <symbol name="DIGIT EIGHT" font-id="0" code="56" glyph="56"/>
+ <symbol name="DIGIT NINE" font-id="0" code="57" glyph="57"/>
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSIC FLAT SIGN">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL DOUBLE FLAT">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <scaled y="0.47"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <scaled y="0.64"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <scaled y="0.32"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST">
+ <scaled y="0.98"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL QUARTER REST">
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL EIGHTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTEENTH REST">
+ <scaled y="0.28"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL THIRTY-SECOND REST">
+ <scaled y="0.45"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTY-FOURTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+</font-hotspots>
+
+</rosegarden-font-encoding>
diff --git a/data/fonts/mappings/inkpen.xml b/data/fonts/mappings/inkpen.xml
new file mode 100644
index 0000000..136132c
--- /dev/null
+++ b/data/fonts/mappings/inkpen.xml
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<rosegarden-font-encoding name="Inkpen">
+
+<!-- !!! check copyright -->
+<font-information
+ origin="Inkpen is part of Sibelius, but other fonts may use the same mappings."
+ copyright="Copyright Sibelius Software Ltd"
+ mapped-by="Chris Cannam"
+ type="scalable"
+ smooth="true"/>
+
+<font-requirements>
+ <font-requirement font-id="0" names="inkpen2,inkpen" strategy="prefer-glyphs"/>
+ <font-requirement font-id="1" names="inkpen2 text,inkpen text,comic sans ms,times new roman,times,DEFAULT" strategy="prefer-codes"/> <!-- text font -->
+</font-requirements>
+
+<font-sizes>
+ <font-scale font-height="4.0" beam-thickness="0.5" staff-line-thickness="0.1" stem-thickness="0.15"/>
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <symbol name="__UNKNOWN__" font-id="1" code="63"/> <!-- question mark -->
+
+ <symbol name="MUSIC SHARP SIGN" font-id="0" code="35" glyph="3"/>
+ <symbol name="MUSIC NATURAL SIGN" font-id="0" code="110" glyph="45"/>
+ <symbol name="MUSIC FLAT SIGN" font-id="0" code="98" glyph="39"/>
+
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" font-id="0" code="8249" glyph="69"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" font-id="0" code="8747" glyph="61"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" font-id="0" code="87" glyph="36"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" font-id="0" code="119" glyph="51"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" font-id="0" code="729" glyph="78"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" font-id="0" code="339" glyph="65"/>
+
+ <symbol name="MUSICAL SYMBOL X NOTEHEAD" font-id="0" code="192"/>
+
+<!-- <symbol name="MUSICAL SYMBOL CIRCLE X NOTEHEAD" font-id="0" code="85" glyph="35"/> -->
+ <symbol name="MUSICAL SYMBOL BREVIS" font-id="0" code="8250" glyph="70"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS WHITE" font-id="0" code="79" glyph="31"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS BLACK" font-id="0" code="8218" glyph="72"/>
+<!--
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP WHITE" font-id="0" code="121"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP BLACK" font-id="0" code="209"/>
+-->
+ <!-- There's only one Unicode point for each flag; I guess
+ you're expected to invert them yourself -->
+ <symbol name="MUSICAL SYMBOL COMBINING PARTIAL FLAG"
+ font-id="0" code="75" glyph="29" inversion-code="212" inversion-glyph="76"/>
+ <symbol name="MUSICAL SYMBOL COMBINING PARTIAL FLAG FINAL"
+ font-id="0" code="106" glyph="43" inversion-code="74" inversion-glyph="28"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1"
+ font-id="0" code="106" glyph="43" inversion-code="74" inversion-glyph="28"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-2"
+ font-id="0" code="114" glyph="48" inversion-code="82" inversion-glyph="33"/>
+<!--
+ <symbol name="MUSICAL SYMBOL MULTI REST" font-id="0" code=""/>
+-->
+ <symbol name="MUSICAL SYMBOL WHOLE REST" font-id="0" code="8721" glyph="60"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" font-id="0" code="211" glyph="75"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" font-id="0" code="338" glyph="64"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" font-id="0" code="8240" glyph="73"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" font-id="0" code="8776" glyph="63"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" font-id="0" code="174" glyph="55"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" font-id="0" code="217" glyph="77"/>
+ <symbol name="MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH REST" font-id="0" code="194" glyph="74"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" font-id="0" code="46" glyph="10"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" font-id="0" code="62" glyph="22"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" font-id="0" code="45" glyph="9"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" font-id="0" code="46" glyph="10"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATISSIMO"
+ font-id="0" code="174" glyph="55" inversion-code="95"/>
+ <symbol name="MUSICAL SYMBOL COMBINING MARCATO"
+ font-id="0" code="94" glyph="38" inversion-code="118" inversion-glyph="50"/>
+ <symbol name="MUSICAL SYMBOL FERMATA"
+ font-id="0" code="85" glyph="35" inversion-code="117" inversion-glyph="49"/>
+ <symbol name="MUSICAL SYMBOL TR" font-id="0" code="376" glyph="68"/>
+<!--
+ <symbol name="MUSICAL SYMBOL TURN" font-id="0" code="106" glyph="43"/>
+-->
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" font-id="0" code="8804" glyph="57"/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" font-id="0" code="8805" glyph="58"/>
+ <!-- Unicode (and Lilypond) just have a single G clef, they
+ don't distinguish between alto and tenor. We'll have to
+ use the same clef with an offset. -->
+ <symbol name="MUSICAL SYMBOL C CLEF" font-id="0" code="66" glyph="24"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" font-id="0" code="38" glyph="5"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" font-id="0" code="63" glyph="23"/>
+
+ <symbol name="MUSICAL SYMBOL CUT TIME" font-id="0" glyph="25"/>
+ <symbol name="MUSICAL SYMBOL COMMON TIME" font-id="0" glyph="40"/>
+ <symbol name="DIGIT ZERO" font-id="0" code="48" glyph="12"/>
+ <symbol name="DIGIT ONE" font-id="0" code="49" glyph="13"/>
+ <symbol name="DIGIT TWO" font-id="0" code="50" glyph="14"/>
+ <symbol name="DIGIT THREE" font-id="0" code="51" glyph="15"/>
+ <symbol name="DIGIT FOUR" font-id="0" code="52" glyph="16"/>
+ <symbol name="DIGIT FIVE" font-id="0" code="53" glyph="17"/>
+ <symbol name="DIGIT SIX" font-id="0" code="54" glyph="18"/>
+ <symbol name="DIGIT SEVEN" font-id="0" code="55" glyph="19"/>
+ <symbol name="DIGIT EIGHT" font-id="0" code="56" glyph="20"/>
+ <symbol name="DIGIT NINE" font-id="0" code="57" glyph="21"/>
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSIC FLAT SIGN">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL DOUBLE FLAT">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <scaled y="0.47"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <scaled y="0.64"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <scaled y="0.32"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST">
+ <scaled y="0.98"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL QUARTER REST">
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL EIGHTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTEENTH REST">
+ <scaled y="0.28"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL THIRTY-SECOND REST">
+ <scaled y="0.45"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTY-FOURTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+</font-hotspots>
+
+</rosegarden-font-encoding>
diff --git a/data/fonts/mappings/maestro.xml b/data/fonts/mappings/maestro.xml
new file mode 100644
index 0000000..c4946de
--- /dev/null
+++ b/data/fonts/mappings/maestro.xml
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<!-- The name here must match the filename in everything except case -->
+<rosegarden-font-encoding name="Maestro">
+
+<!-- !!! check copyright -->
+<font-information
+ origin="Maestro is part of Finale, but other fonts use the same mappings."
+ copyright="Copyright Coda Inc"
+ mapped-by="Chris Cannam"
+ type="scalable"
+ smooth="true"/>
+
+<font-requirements>
+ <font-requirement font-id="0" names="maestro"/>
+ <font-requirement font-id="1" names="georgia,times new roman,times,DEFAULT"/> <!-- text font -->
+</font-requirements>
+
+<font-sizes>
+ <font-scale font-height="4.3" beam-thickness="0.5" staff-line-thickness="0.1" stem-thickness="0.1" flag-spacing="0.8"/>
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <codebase font-id="0" base="61440"/> <!-- Unicode private-use area -->
+
+ <symbol name="__UNKNOWN__" font-id="1" code="63"/> <!-- question mark -->
+
+ <symbol name="MUSIC SHARP SIGN" font-id="0" code="35" glyph="6"/>
+ <symbol name="MUSIC NATURAL SIGN" font-id="0" code="110" glyph="79"/>
+ <symbol name="MUSIC FLAT SIGN" font-id="0" code="98" glyph="68"/>
+
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" font-id="0" code="220" glyph="174"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" font-id="0" code="186" glyph="142"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" font-id="0" code="87" glyph="57"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" font-id="0" code="119" glyph="88"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" font-id="0" code="250" glyph="204"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" font-id="0" code="207" glyph="161"/>
+
+ <symbol name="MUSICAL SYMBOL X NOTEHEAD" font-id="0" code="192" glyph="148"/>
+
+<!-- <symbol name="MUSICAL SYMBOL CIRCLE X NOTEHEAD" font-id="0" code="85" glyph="55"/> -->
+<!-- <symbol name="MUSICAL SYMBOL BREVIS" font-id="0" code="71" glyph="41"/> -->
+<!-- <symbol name="MUSICAL SYMBOL SEMIBREVIS WHITE" font-id="0" code=""/> -->
+<!--
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS BLACK" font-id="0" code="noteheads-2mensural"/>
+-->
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP WHITE" font-id="0" code="121" glyph="90"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP BLACK" font-id="0" code="209" glyph="163"/>
+
+ <!-- There's only one Unicode point for each flag; I guess
+ you're expected to invert them yourself -->
+ <symbol name="MUSICAL SYMBOL COMBINING PARTIAL FLAG"
+ font-id="0" code="75" glyph="45" inversion-code="239" inversion-glyph="193"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1"
+ font-id="0" code="106" glyph="75" inversion-code="74" inversion-glyph="44"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-2"
+ font-id="0" code="114" glyph="83" inversion-code="82" inversion-glyph="52"/>
+ <symbol name="MUSICAL SYMBOL MULTI REST" font-id="0" code="227" glyph="181"/>
+ <symbol name="MUSICAL SYMBOL WHOLE REST" font-id="0" code="238" glyph="192"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" font-id="0" code="238" glyph="192"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" font-id="0" code="206" glyph="160"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" font-id="0" code="228" glyph="182"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" font-id="0" code="197" glyph="153"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" font-id="0" code="168" glyph="124"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" font-id="0" code="244" glyph="198"/>
+ <symbol name="MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH REST" font-id="0" code="229" glyph="183"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" font-id="0" code="46" glyph="17"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" font-id="0" code="62" glyph="33"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" font-id="0" code="45" glyph="16"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" font-id="0" code="46" glyph="17"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATISSIMO"
+ font-id="0" code="174" glyph="130" inversion-code="95" inversion-glyph="65"/>
+ <symbol name="MUSICAL SYMBOL COMBINING MARCATO"
+ font-id="0" code="94" glyph="64" inversion-code="118" inversion-glyph="87"/>
+ <symbol name="MUSICAL SYMBOL FERMATA"
+ font-id="0" code="85" glyph="55" inversion-code="117" inversion-glyph="86"/>
+<!--
+ <symbol name="MUSICAL SYMBOL TR" font-id="0" code="107" glyph="76"/>
+ <symbol name="MUSICAL SYMBOL TURN" font-id="0" code="106" glyph="75"/>
+-->
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" font-id="0" code="178" glyph="134"/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" font-id="0" code="179" glyph="135"/>
+ <!-- Unicode (and Lilypond) just have a single G clef, they
+ don't distinguish between alto and tenor. We'll have to
+ use the same clef with an offset. -->
+ <symbol name="MUSICAL SYMBOL C CLEF" font-id="0" code="66" glyph="37"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" font-id="0" code="38" glyph="9"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" font-id="0" code="63" glyph="34"/>
+
+ <symbol name="MUSICAL SYMBOL CUT TIME" font-id="0" glyph="38"/>
+ <symbol name="MUSICAL SYMBOL COMMON TIME" font-id="0" glyph="69"/>
+ <symbol name="DIGIT ZERO" font-id="0" code="48" glyph="19"/>
+ <symbol name="DIGIT ONE" font-id="0" code="49" glyph="20"/>
+ <symbol name="DIGIT TWO" font-id="0" code="50" glyph="21"/>
+ <symbol name="DIGIT THREE" font-id="0" code="51" glyph="22"/>
+ <symbol name="DIGIT FOUR" font-id="0" code="52" glyph="23"/>
+ <symbol name="DIGIT FIVE" font-id="0" code="53" glyph="24"/>
+ <symbol name="DIGIT SIX" font-id="0" code="54" glyph="25"/>
+ <symbol name="DIGIT SEVEN" font-id="0" code="55" glyph="26"/>
+ <symbol name="DIGIT EIGHT" font-id="0" code="56" glyph="27"/>
+ <symbol name="DIGIT NINE" font-id="0" code="57" glyph="28"/>
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSIC FLAT SIGN">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL DOUBLE FLAT">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <scaled y="0.47"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <scaled y="0.64"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <scaled y="0.32"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST">
+ <scaled y="0.98"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL QUARTER REST">
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL EIGHTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTEENTH REST">
+ <scaled y="0.28"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL THIRTY-SECOND REST">
+ <scaled y="0.45"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTY-FOURTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+</font-hotspots>
+
+</rosegarden-font-encoding>
diff --git a/data/fonts/mappings/opus.xml b/data/fonts/mappings/opus.xml
new file mode 100644
index 0000000..ba3a882
--- /dev/null
+++ b/data/fonts/mappings/opus.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<rosegarden-font-encoding name="Opus">
+
+<!-- !!! check copyright -->
+<font-information
+ origin="Opus is part of Sibelius, but other fonts may use the same mappings."
+ copyright="Copyright Sibelius Software Ltd"
+ mapped-by="Chris Cannam"
+ type="scalable"
+ smooth="true"/>
+
+<font-requirements>
+ <font-requirement font-id="0" names="opus" strategy="prefer-glyphs"/>
+ <font-requirement font-id="1" names="opus text,georgia,times new roman,times,DEFAULT" strategy="prefer-codes"/> <!-- text font -->
+</font-requirements>
+
+<font-sizes>
+ <font-scale font-height="4.3" beam-thickness="0.5" staff-line-thickness="0.1" stem-thickness="0.1"/>
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <symbol name="__UNKNOWN__" font-id="1" code="63"/> <!-- question mark -->
+
+ <symbol name="MUSIC SHARP SIGN" font-id="0" code="35" glyph="3"/>
+ <symbol name="MUSIC NATURAL SIGN" font-id="0" code="110" glyph="45"/>
+ <symbol name="MUSIC FLAT SIGN" font-id="0" code="98" glyph="39"/>
+
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" font-id="0" code="8249" glyph="69"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" font-id="0" code="8747" glyph="61"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" font-id="0" code="87" glyph="36"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" font-id="0" code="119" glyph="51"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" font-id="0" code="729" glyph="78"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" font-id="0" code="339" glyph="65"/>
+
+ <symbol name="MUSICAL SYMBOL X NOTEHEAD" font-id="0" code="192"/>
+
+<!-- <symbol name="MUSICAL SYMBOL CIRCLE X NOTEHEAD" font-id="0" code="85" glyph="35"/> -->
+ <symbol name="MUSICAL SYMBOL BREVIS" font-id="0" code="8250" glyph="70"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS WHITE" font-id="0" code="79" glyph="31"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS BLACK" font-id="0" code="8218" glyph="72"/>
+<!--
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP WHITE" font-id="0" code="121"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP BLACK" font-id="0" code="209"/>
+-->
+ <!-- There's only one Unicode point for each flag; I guess
+ you're expected to invert them yourself -->
+ <symbol name="MUSICAL SYMBOL COMBINING PARTIAL FLAG"
+ font-id="0" code="75" glyph="29" inversion-code="212" inversion-glyph="76"/>
+ <symbol name="MUSICAL SYMBOL COMBINING PARTIAL FLAG FINAL"
+ font-id="0" code="106" glyph="43" inversion-code="74" inversion-glyph="28"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1"
+ font-id="0" code="106" glyph="43" inversion-code="74" inversion-glyph="28"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-2"
+ font-id="0" code="114" glyph="48" inversion-code="82" inversion-glyph="33"/>
+<!--
+ <symbol name="MUSICAL SYMBOL MULTI REST" font-id="0" code=""/>
+-->
+ <symbol name="MUSICAL SYMBOL WHOLE REST" font-id="0" code="8721" glyph="60"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" font-id="0" code="211" glyph="75"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" font-id="0" code="338" glyph="64"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" font-id="0" code="8240" glyph="73"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" font-id="0" code="8776" glyph="63"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" font-id="0" code="174" glyph="55"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" font-id="0" code="217" glyph="77"/>
+ <symbol name="MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH REST" font-id="0" code="194" glyph="74"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" font-id="0" code="46" glyph="11"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" font-id="0" code="62" glyph="22"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" font-id="0" code="45" glyph="10"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" font-id="0" code="46" glyph="11"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATISSIMO"
+ font-id="0" code="174" glyph="55" inversion-code="95"/>
+ <symbol name="MUSICAL SYMBOL COMBINING MARCATO"
+ font-id="0" code="94" glyph="38" inversion-code="118" inversion-glyph="50"/>
+ <symbol name="MUSICAL SYMBOL FERMATA"
+ font-id="0" code="85" glyph="35" inversion-code="117" inversion-glyph="49"/>
+ <symbol name="MUSICAL SYMBOL TR" font-id="0" code="376" glyph="68"/>
+<!--
+ <symbol name="MUSICAL SYMBOL TURN" font-id="0" code="106" glyph="43"/>
+-->
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" font-id="0" code="8804" glyph="57"/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" font-id="0" code="8805" glyph="58"/>
+ <!-- Unicode (and Lilypond) just have a single G clef, they
+ don't distinguish between alto and tenor. We'll have to
+ use the same clef with an offset. -->
+ <symbol name="MUSICAL SYMBOL C CLEF" font-id="0" code="66" glyph="24"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" font-id="0" code="38" glyph="5"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" font-id="0" code="63" glyph="23"/>
+
+ <symbol name="MUSICAL SYMBOL CUT TIME" font-id="0" glyph="25"/>
+ <symbol name="MUSICAL SYMBOL COMMON TIME" font-id="0" glyph="40"/>
+ <symbol name="DIGIT ZERO" font-id="0" code="48" glyph="13"/>
+ <symbol name="DIGIT ONE" font-id="0" code="49" glyph="79"/>
+ <symbol name="DIGIT TWO" font-id="0" code="50" glyph="14"/>
+ <symbol name="DIGIT THREE" font-id="0" code="51" glyph="15"/>
+ <symbol name="DIGIT FOUR" font-id="0" code="52" glyph="16"/>
+ <symbol name="DIGIT FIVE" font-id="0" code="53" glyph="17"/>
+ <symbol name="DIGIT SIX" font-id="0" code="54" glyph="18"/>
+ <symbol name="DIGIT SEVEN" font-id="0" code="55" glyph="19"/>
+ <symbol name="DIGIT EIGHT" font-id="0" code="56" glyph="20"/>
+ <symbol name="DIGIT NINE" font-id="0" code="57" glyph="21"/>
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSIC FLAT SIGN">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL DOUBLE FLAT">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <scaled y="0.47"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <scaled y="0.64"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <scaled y="0.32"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST">
+ <scaled y="0.98"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL QUARTER REST">
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL EIGHTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTEENTH REST">
+ <scaled y="0.28"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL THIRTY-SECOND REST">
+ <scaled y="0.45"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTY-FOURTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+</font-hotspots>
+</rosegarden-font-encoding>
diff --git a/data/fonts/mappings/petrucci.xml b/data/fonts/mappings/petrucci.xml
new file mode 100644
index 0000000..2cf0b58
--- /dev/null
+++ b/data/fonts/mappings/petrucci.xml
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<!-- The name here must match the filename in everything except case -->
+<rosegarden-font-encoding name="Petrucci">
+
+<!-- !!! check copyright -->
+<font-information
+ origin="Petrucci is part of Finale, but other fonts use the same mappings."
+ copyright="Copyright Coda Inc"
+ mapped-by="Chris Cannam"
+ type="scalable"
+ smooth="true"/>
+
+<font-requirements>
+ <font-requirement font-id="0" names="petrucci"/>
+ <font-requirement font-id="1" names="georgia,times new roman,times,DEFAULT"/> <!-- text font -->
+</font-requirements>
+
+<font-sizes>
+ <font-scale font-height="4.2" beam-thickness="0.5" staff-line-thickness="0.1" stem-thickness="0.1" />
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <codebase font-id="0" base="61440"/> <!-- Unicode private-use area -->
+
+ <symbol name="__UNKNOWN__" font-id="1" code="63"/> <!-- question mark -->
+
+ <symbol name="MUSIC SHARP SIGN" font-id="0" code="35" glyph="6"/>
+ <symbol name="MUSIC NATURAL SIGN" font-id="0" code="110" glyph="79"/>
+ <symbol name="MUSIC FLAT SIGN" font-id="0" code="98" glyph="68"/>
+
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" font-id="0" code="220" glyph="156"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" font-id="0" code="186" glyph="125"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" font-id="0" code="87" glyph="57"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" font-id="0" code="119" glyph="88"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" font-id="0" code="250" glyph="186"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" font-id="0" code="207" glyph="143"/>
+
+ <symbol name="MUSICAL SYMBOL X NOTEHEAD" font-id="0" code="192" glyph="131"/>
+
+<!-- <symbol name="MUSICAL SYMBOL CIRCLE X NOTEHEAD" font-id="0" code="85" glyph="55"/> -->
+<!-- <symbol name="MUSICAL SYMBOL BREVIS" font-id="0" code="71" glyph="41"/> -->
+<!-- <symbol name="MUSICAL SYMBOL SEMIBREVIS WHITE" font-id="0" code=""/> -->
+<!--
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS BLACK" font-id="0" code="noteheads-2mensural"/>
+-->
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP WHITE" font-id="0" code="121" glyph="90"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP BLACK" font-id="0" code="209" glyph="145"/>
+
+ <!-- There's only one Unicode point for each flag; I guess
+ you're expected to invert them yourself -->
+ <symbol name="MUSICAL SYMBOL COMBINING PARTIAL FLAG"
+ font-id="0" code="75" glyph="45" inversion-code="239" inversion-glyph="175"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1"
+ font-id="0" code="106" glyph="75" inversion-code="74" inversion-glyph="44"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-2"
+ font-id="0" code="114" glyph="83" inversion-code="82" inversion-glyph="52"/>
+<!--
+ <symbol name="MUSICAL SYMBOL MULTI REST" font-id="0" code="214" glyph="150"/>
+ <symbol name="MUSICAL SYMBOL WHOLE REST" font-id="0" code="227" glyph="163"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" font-id="0" code="238" glyph="174"/>
+-->
+ <symbol name="MUSICAL SYMBOL MULTI REST" font-id="0" code="227" glyph="163"/>
+ <symbol name="MUSICAL SYMBOL WHOLE REST" font-id="0" code="238" glyph="174"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" font-id="0" code="238" glyph="174"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" font-id="0" code="206" glyph="142"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" font-id="0" code="228" glyph="164"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" font-id="0" code="197" glyph="136"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" font-id="0" code="168" glyph="108"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" font-id="0" code="244" glyph="180"/>
+ <symbol name="MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH REST" font-id="0" code="229" glyph="165"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" font-id="0" code="46" glyph="17"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" font-id="0" code="62" glyph="33"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" font-id="0" code="45" glyph="16"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" font-id="0" code="46" glyph="17"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATISSIMO"
+ font-id="0" code="174" glyph="113" inversion-code="95" inversion-glyph="65"/>
+ <symbol name="MUSICAL SYMBOL COMBINING MARCATO"
+ font-id="0" code="94" glyph="64" inversion-code="118" inversion-glyph="87"/>
+ <symbol name="MUSICAL SYMBOL FERMATA"
+ font-id="0" code="85" glyph="55" inversion-code="117" inversion-glyph="86"/>
+<!--
+ <symbol name="MUSICAL SYMBOL TR" font-id="0" code="107" glyph="76"/>
+ <symbol name="MUSICAL SYMBOL TURN" font-id="0" code="106" glyph="75"/>
+-->
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" font-id="0" code="178" glyph="117"/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" font-id="0" code="179" glyph="118"/>
+ <!-- Unicode (and Lilypond) just have a single G clef, they
+ don't distinguish between alto and tenor. We'll have to
+ use the same clef with an offset. -->
+ <symbol name="MUSICAL SYMBOL C CLEF" font-id="0" code="66" glyph="37"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" font-id="0" code="38" glyph="9"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" font-id="0" code="63" glyph="34"/>
+
+ <symbol name="MUSICAL SYMBOL CUT TIME" font-id="0" glyph="38"/>
+ <symbol name="MUSICAL SYMBOL COMMON TIME" font-id="0" glyph="69"/>
+ <symbol name="DIGIT ZERO" font-id="0" code="48" glyph="19"/>
+ <symbol name="DIGIT ONE" font-id="0" code="49" glyph="20"/>
+ <symbol name="DIGIT TWO" font-id="0" code="50" glyph="21"/>
+ <symbol name="DIGIT THREE" font-id="0" code="51" glyph="22"/>
+ <symbol name="DIGIT FOUR" font-id="0" code="52" glyph="23"/>
+ <symbol name="DIGIT FIVE" font-id="0" code="53" glyph="24"/>
+ <symbol name="DIGIT SIX" font-id="0" code="54" glyph="25"/>
+ <symbol name="DIGIT SEVEN" font-id="0" code="55" glyph="26"/>
+ <symbol name="DIGIT EIGHT" font-id="0" code="56" glyph="27"/>
+ <symbol name="DIGIT NINE" font-id="0" code="57" glyph="28"/>
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSIC FLAT SIGN">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL DOUBLE FLAT">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <scaled y="0.47"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <scaled y="0.64"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <scaled y="0.32"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST">
+ <scaled y="0.98"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL QUARTER REST">
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL EIGHTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTEENTH REST">
+ <scaled y="0.28"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL THIRTY-SECOND REST">
+ <scaled y="0.45"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTY-FOURTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+</font-hotspots>
+</rosegarden-font-encoding>
diff --git a/data/fonts/mappings/rg21.xml b/data/fonts/mappings/rg21.xml
new file mode 100644
index 0000000..bf64bda
--- /dev/null
+++ b/data/fonts/mappings/rg21.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<rosegarden-font-encoding name="RG21">
+
+<font-information
+ origin="Rosegarden 2.1"
+ copyright="Copyright (c) 1994--2001 Chris Cannam"
+ mapped-by="Chris Cannam"
+ type="pixmap"
+ smooth="false"/>
+
+<font-sizes>
+ <font-size note-height="4" staff-line-thickness="1" stem-thickness="1"/>
+ <font-size note-height="8" staff-line-thickness="1" stem-thickness="1"/>
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <symbol name="__UNKNOWN__" src="unknown"/>
+
+ <symbol name="MUSIC SHARP SIGN" src="notemod-sharp"/>
+ <symbol name="MUSIC NATURAL SIGN" src="notemod-natural"/>
+ <symbol name="MUSIC FLAT SIGN" src="notemod-flat"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" src="notemod-doublesharp"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" src="notemod-doubleflat"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" src="note-breve"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" src="note-bodyempty"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" src="note-bodyempty"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" src="note-bodyfilled"/>
+
+ <!-- There's only one Unicode point for each flag; I guess
+ you're expected to invert them yourself -->
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1"
+ src="tail-down-1" inversion-src="tail-up-1"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-2"
+ src="tail-down-2" inversion-src="tail-up-2"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-3"
+ src="tail-down-3" inversion-src="tail-up-3"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-4"
+ src="tail-down-4" inversion-src="tail-up-4"/>
+
+ <symbol name="MUSICAL SYMBOL MULTI REST" src="rest-breve"/>
+ <symbol name="MUSICAL SYMBOL WHOLE REST" src="rest-semibreve"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" src="rest-minim"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" src="rest-crotchet"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" src="rest-quaver"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" src="rest-semiquaver"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" src="rest-demisemi"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" src="rest-hemidemisemi"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" src="dot"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" src="chordmod-accent"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" src="chordmod-legato"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" src="chordmod-dot"/>
+ <symbol name="MUSICAL SYMBOL FERMATA" src="chordmod-pause"/>
+ <symbol name="MUSICAL SYMBOL TR" src="chordmod-trill"/>
+ <symbol name="MUSICAL SYMBOL TURN" src="chordmod-turn"/>
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" src="unknown"/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" src="unknown"/>
+
+ <!-- Unicode (and Lilypond) just have a single C clef, they
+ don't distinguish between alto and tenor. We'd have to
+ use the same clef with an offset. -->
+ <symbol name="MUSICAL SYMBOL C CLEF" src="clef-alto"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" src="clef-treble"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" src="clef-bass"/>
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSIC FLAT SIGN">
+ <when note-height="4" y="4"/>
+ <when note-height="8" y="9"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <when note-height="4" y="14"/>
+ <when note-height="8" y="26"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <when note-height="4" y="19"/>
+ <when note-height="8" y="35"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <when note-height="4" y="9"/>
+ <when note-height="8" y="17"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <when note-height="4" y="5"/>
+ <when note-height="8" y="9"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <when note-height="4" y="5"/>
+ <when note-height="8" y="9"/>
+ </hotspot>
+</font-hotspots>
+
+</rosegarden-font-encoding>
diff --git a/data/fonts/mappings/sonata.xml b/data/fonts/mappings/sonata.xml
new file mode 100644
index 0000000..6a30fb6
--- /dev/null
+++ b/data/fonts/mappings/sonata.xml
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<rosegarden-font-encoding name="Sonata">
+
+<!-- !!! check copyright -->
+<font-information
+ origin="Adobe"
+ copyright="Copyright Adobe Inc"
+ mapped-by="Chris Cannam"
+ type="scalable"
+ smooth="true"/>
+
+<font-requirements>
+ <font-requirement font-id="0" names="sonata" strategy="prefer-glyphs"/>
+ <font-requirement font-id="1" names="georgia,times new roman,times,DEFAULT" strategy="prefer-codes"/> <!-- text font -->
+</font-requirements>
+
+<font-sizes>
+ <font-scale font-height="4.5" beam-thickness="0.5" staff-line-thickness="0.12" stem-thickness="0.14"/>
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <symbol name="__UNKNOWN__" font-id="1" code="63"/> <!-- question mark -->
+
+ <symbol name="MUSIC SHARP SIGN" font-id="0" glyph="3"/>
+ <symbol name="MUSIC NATURAL SIGN" font-id="0" glyph="76"/>
+ <symbol name="MUSIC FLAT SIGN" font-id="0" glyph="64"/>
+
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" font-id="0" glyph="149"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" font-id="0" glyph="121"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" font-id="0" glyph="53"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" font-id="0" glyph="85"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" font-id="0" glyph="172"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" font-id="0" glyph="171"/>
+
+ <symbol name="MUSICAL SYMBOL X NOTEHEAD" font-id="0" glyph="127"/>
+
+<!-- <symbol name="MUSICAL SYMBOL CIRCLE X NOTEHEAD" font-id="0" code="85" glyph="35"/> -->
+<!--
+ <symbol name="MUSICAL SYMBOL BREVIS" font-id="0" code="8250" glyph="70"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS WHITE" font-id="0" code="79" glyph="31"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS BLACK" font-id="0" code="8218" glyph="72"/>
+-->
+<!--
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP WHITE" font-id="0" code="121"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP BLACK" font-id="0" code="209"/>
+-->
+ <!-- There's only one Unicode point for each flag; I guess
+ you're expected to invert them yourself -->
+ <symbol name="MUSICAL SYMBOL COMBINING PARTIAL FLAG"
+ font-id="0" glyph="173" inversion-glyph="166"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1"
+ font-id="0" glyph="72" inversion-glyph="41"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-2"
+ font-id="0" glyph="73" inversion-glyph="42"/>
+ <symbol name="MUSICAL SYMBOL MULTI REST" font-id="0" glyph="140"/>
+ <symbol name="MUSICAL SYMBOL WHOLE REST" font-id="0" glyph="118"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" font-id="0" glyph="164"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" font-id="0" glyph="138"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" font-id="0" glyph="156"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" font-id="0" glyph="132"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" font-id="0" glyph="105"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" font-id="0" glyph="170"/>
+ <symbol name="MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH REST" font-id="0" glyph="157"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" font-id="0" glyph="14"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" font-id="0" glyph="29"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" font-id="0" glyph="13"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" font-id="0" glyph="14"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATISSIMO"
+ font-id="0" glyph="110"/>
+ <symbol name="MUSICAL SYMBOL COMBINING MARCATO"
+ font-id="0" glyph="50"/>
+ <symbol name="MUSICAL SYMBOL FERMATA"
+ font-id="0" glyph="51" inversion-glyph="83"/>
+ <symbol name="MUSICAL SYMBOL TR" font-id="0" glyph="62"/>
+ <symbol name="MUSICAL SYMBOL TURN" font-id="0" glyph="50"/>
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" font-id="0" glyph="114"/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" font-id="0" glyph="115"/>
+
+ <symbol name="MUSICAL SYMBOL C CLEF" font-id="0" glyph="33"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" font-id="0" glyph="6"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" font-id="0" glyph="30"/>
+
+ <symbol name="MUSICAL SYMBOL CUT TIME" font-id="0" glyph="34"/>
+ <symbol name="MUSICAL SYMBOL COMMON TIME" font-id="0" glyph="65"/>
+ <symbol name="DIGIT ZERO" font-id="0" code="48" glyph="16"/>
+ <symbol name="DIGIT ONE" font-id="0" code="49" glyph="17"/>
+ <symbol name="DIGIT TWO" font-id="0" code="50" glyph="18"/>
+ <symbol name="DIGIT THREE" font-id="0" code="51" glyph="19"/>
+ <symbol name="DIGIT FOUR" font-id="0" code="52" glyph="20"/>
+ <symbol name="DIGIT FIVE" font-id="0" code="53" glyph="21"/>
+ <symbol name="DIGIT SIX" font-id="0" code="54" glyph="22"/>
+ <symbol name="DIGIT SEVEN" font-id="0" code="55" glyph="23"/>
+ <symbol name="DIGIT EIGHT" font-id="0" code="56" glyph="24"/>
+ <symbol name="DIGIT NINE" font-id="0" code="57" glyph="25"/>
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSIC FLAT SIGN">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL DOUBLE FLAT">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <scaled y="0.47"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <scaled y="0.64"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <scaled y="0.32"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST">
+ <scaled y="0.98"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL QUARTER REST">
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL EIGHTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTEENTH REST">
+ <scaled y="0.28"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL THIRTY-SECOND REST">
+ <scaled y="0.45"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTY-FOURTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+</font-hotspots>
+</rosegarden-font-encoding>
diff --git a/data/fonts/mappings/steinberg.xml b/data/fonts/mappings/steinberg.xml
new file mode 100644
index 0000000..bc5defa
--- /dev/null
+++ b/data/fonts/mappings/steinberg.xml
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<rosegarden-font-encoding name="Steinberg">
+
+<!-- !!! check copyright -->
+<font-information
+ origin="The Steinberg Notation font is part of Cubase."
+ copyright="Copyright Steinberg Inc"
+ mapped-by="Chris Cannam"
+ type="scalable"
+ smooth="true"/>
+
+<font-requirements>
+ <font-requirement font-id="0" names="steinberg notation" strategy="prefer-codes"/>
+ <font-requirement font-id="1" names="georgia,times new roman,times,DEFAULT" strategy="prefer-codes"/> <!-- text font -->
+</font-requirements>
+
+<font-sizes>
+ <font-scale font-height="8.0" beam-thickness="0.5" staff-line-thickness="0.1" stem-thickness="0.1"/>
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <codebase font-id="0" base="61440"/> <!-- Unicode private-use area -->
+
+ <symbol name="__UNKNOWN__" font-id="1" code="63"/> <!-- question mark -->
+
+ <symbol name="MUSIC SHARP SIGN" font-id="0" code="36"/>
+ <symbol name="MUSIC NATURAL SIGN" font-id="0" code="38"/>
+ <symbol name="MUSIC FLAT SIGN" font-id="0" code="35"/>
+
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" font-id="0" code="37"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" font-id="0" code="34"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" font-id="0" code="216"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" font-id="0" code="39"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" font-id="0" code="40"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" font-id="0" code="41"/>
+
+ <symbol name="MUSICAL SYMBOL X NOTEHEAD" font-id="0" code="109"/>
+
+ <symbol name="MUSICAL SYMBOL CIRCLE X NOTEHEAD" font-id="0" code="108"/>
+<!-- <symbol name="MUSICAL SYMBOL BREVIS" font-id="0" code="71"/> -->
+<!-- <symbol name="MUSICAL SYMBOL SEMIBREVIS WHITE" font-id="0" code=""/> -->
+<!--
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS BLACK" font-id="0" code="noteheads-2mensural"/>
+-->
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP WHITE" font-id="0" code="116"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP BLACK" font-id="0" code="115"/>
+
+ <!-- There's only one Unicode point for each flag; I guess
+ you're expected to invert them yourself -->
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1"
+ font-id="0" code="50" inversion-code="55"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-2"
+ font-id="0" code="51" inversion-code="56"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-3"
+ font-id="0" code="52" inversion-code="57"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-4"
+ font-id="0" code="53" inversion-code="58"/>
+
+<!-- <symbol name="MUSICAL SYMBOL MULTI REST" font-id="0" code="214"/> -->
+ <symbol name="MUSICAL SYMBOL WHOLE REST" font-id="0" code="42"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" font-id="0" code="43"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" font-id="0" code="44"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" font-id="0" code="45"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" font-id="0" code="46"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" font-id="0" code="47"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" font-id="0" code="48"/>
+ <symbol name="MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH REST" font-id="0" code="49"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" font-id="0" code="106"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" font-id="0" code="91"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" font-id="0" code="73"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" font-id="0" code="106"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATISSIMO"
+ font-id="0" code="122"/>
+ <symbol name="MUSICAL SYMBOL COMBINING MARCATO"
+ font-id="0" code="90"/>
+ <symbol name="MUSICAL SYMBOL FERMATA"
+ font-id="0" code="93" inversion-code="75"/>
+ <symbol name="MUSICAL SYMBOL TR" font-id="0" code="101"/>
+ <symbol name="MUSICAL SYMBOL TURN" font-id="0" code="131"/>
+<!--
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" font-id="0" code=""/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" font-id="0" code=""/>
+-->
+ <!-- Unicode (and Lilypond) just have a single G clef, they
+ don't distinguish between alto and tenor. We'll have to
+ use the same clef with an offset. -->
+ <symbol name="MUSICAL SYMBOL C CLEF" font-id="0" code="220"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" font-id="0" code="218"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" font-id="0" code="219"/>
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSIC FLAT SIGN">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL DOUBLE FLAT">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <scaled y="0.47"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <scaled y="0.64"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <scaled y="0.32"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST">
+ <scaled y="0.98"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL QUARTER REST">
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL EIGHTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTEENTH REST">
+ <scaled y="0.28"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL THIRTY-SECOND REST">
+ <scaled y="0.45"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTY-FOURTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+</font-hotspots>
+</rosegarden-font-encoding>
diff --git a/data/fonts/mappings/xinfonia.xml b/data/fonts/mappings/xinfonia.xml
new file mode 100644
index 0000000..263f87a
--- /dev/null
+++ b/data/fonts/mappings/xinfonia.xml
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rosegarden-font-encoding>
+
+<!-- The name here must match the filename in everything except case -->
+<rosegarden-font-encoding name="Xinfonia">
+
+<!-- !!! check copyright -->
+<font-information
+ origin="xemo.org"
+ copyright="Copyright 2001-2003 Xemus Software LLC"
+ mapped-by="Chris Cannam"
+ type="scalable"
+ smooth="true"/>
+
+<font-requirements>
+ <font-requirement font-id="0" names="xinfonia" strategy="prefer-codes"/>
+ <font-requirement font-id="1" names="georgia,times new roman,times,DEFAULT" strategy="prefer-codes"/> <!-- text font -->
+</font-requirements>
+
+<font-sizes>
+ <font-scale font-height="4.2" beam-thickness="0.5" staff-line-thickness="0.1" stem-thickness="0.1"/>
+</font-sizes>
+
+<font-symbol-map>
+ <!-- Symbol names are from the Unicode code charts: see
+ http://www.unicode.org/charts/PDF/U2600.pdf
+ http://www.unicode.org/charts/PDF/U1D100.pdf -->
+
+ <!-- Xinfonia is a Unicode font, so the codes are the Unicode
+ code points expressed in decimal. -->
+
+ <codebase font-id="0" base="119040"/> <!-- Unicode musical symbols area -->
+
+ <symbol name="__UNKNOWN__" font-id="1" code="63"/> <!-- question mark -->
+
+ <symbol name="MUSIC SHARP SIGN" font-id="0" code="41" glyph="4"/>
+ <symbol name="MUSIC NATURAL SIGN" font-id="0" code="40" glyph="28"/>
+ <symbol name="MUSIC FLAT SIGN" font-id="0" code="39" glyph="24"/>
+
+ <symbol name="MUSICAL SYMBOL DOUBLE SHARP" font-id="0" code="42" glyph="39"/>
+ <symbol name="MUSICAL SYMBOL DOUBLE FLAT" font-id="0" code="43" glyph="35"/>
+
+ <symbol name="MUSICAL SYMBOL BREVE" font-id="0" code="92"/>
+ <symbol name="MUSICAL SYMBOL WHOLE NOTE" font-id="0" code="93" glyph="32"/>
+ <symbol name="MUSICAL SYMBOL VOID NOTEHEAD" font-id="0" code="87" glyph="43"/>
+ <symbol name="MUSICAL SYMBOL NOTEHEAD BLACK" font-id="0" code="88" glyph="38"/>
+
+ <symbol name="MUSICAL SYMBOL X NOTEHEAD" font-id="0" code="67"/>
+ <symbol name="MUSICAL SYMBOL CIRCLE X NOTEHEAD" font-id="0" code="69"/>
+
+<!--
+ <symbol name="MUSICAL SYMBOL BREVIS" font-id="0" code="184"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS WHITE" font-id="0" code="185"/>
+ <symbol name="MUSICAL SYMBOL SEMIBREVIS BLACK" font-id="0" code="186"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP WHITE" font-id="0" code="72"/>
+ <symbol name="MUSICAL SYMBOL TRIANGLE NOTEHEAD UP BLACK" font-id="0" code="73"/>
+-->
+ <!-- There's only one Unicode point for each flag; I guess
+ you're expected to invert them yourself -->
+
+ <symbol name="MUSICAL SYMBOL COMBINING PARTIAL FLAG"
+ font-id="0" glyph="21" inversion-glyph="42"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-1" font-id="0" code="110" glyph="26" inversion-glyph="20"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-2" font-id="0" code="111" glyph="30" inversion-glyph="22"/>
+<!--
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-3" font-id="0" code="112"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-4" font-id="0" code="113"/>
+ <symbol name="MUSICAL SYMBOL COMBINING FLAG-5" font-id="0" code="114"/>
+-->
+
+<!--
+ <symbol name="MUSICAL SYMBOL MULTI REST" font-id="0" code="58"/>
+-->
+ <symbol name="MUSICAL SYMBOL WHOLE REST" font-id="0" code="59" glyph="34"/>
+ <symbol name="MUSICAL SYMBOL HALF REST" font-id="0" code="60" glyph="41"/>
+ <symbol name="MUSICAL SYMBOL QUARTER REST" font-id="0" code="61" glyph="37"/>
+ <symbol name="MUSICAL SYMBOL EIGHTH REST" font-id="0" code="62" glyph="40"/>
+ <symbol name="MUSICAL SYMBOL SIXTEENTH REST" font-id="0" code="63" glyph="36"/>
+ <symbol name="MUSICAL SYMBOL THIRTY-SECOND REST" font-id="0" code="64" glyph="33"/>
+ <symbol name="MUSICAL SYMBOL SIXTY-FOURTH REST" font-id="0" code="65"/>
+ <symbol name="MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH REST" font-id="0" code="66"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING AUGMENTATION DOT" font-id="0" code="109" glyph="27"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING ACCENT" font-id="0" code="123"/>
+ <symbol name="MUSICAL SYMBOL COMBINING TENUTO" font-id="0" code="125"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATO" font-id="0" code="124"/>
+ <symbol name="MUSICAL SYMBOL COMBINING STACCATISSIMO" font-id="0" code="126"/>
+ <symbol name="MUSICAL SYMBOL COMBINING MARCATO" font-id="0" code="127"/>
+ <symbol name="MUSICAL SYMBOL FERMATA"
+ font-id="0" code="16" inversion-code="17" glyph="23" inversion-glyph="31"/>
+
+ <symbol name="MUSICAL SYMBOL TR" font-id="0" code="150"/>
+ <symbol name="MUSICAL SYMBOL TURN" font-id="0" code="151"/>
+
+ <symbol name="MUSICAL SYMBOL COMBINING UP BOW" font-id="0" code="171"/>
+ <symbol name="MUSICAL SYMBOL COMBINING DOWN BOW" font-id="0" code="170"/>
+
+ <!-- Unicode (and Lilypond) just have a single G clef, they
+ don't distinguish between alto and tenor. We'll have to
+ use the same clef with an offset. -->
+ <symbol name="MUSICAL SYMBOL C CLEF" font-id="0" code="33" glyph="19"/>
+ <symbol name="MUSICAL SYMBOL G CLEF" font-id="0" code="30" glyph="5"/>
+ <symbol name="MUSICAL SYMBOL F CLEF" font-id="0" code="34" glyph="18"/>
+
+ <symbol name="DIGIT ZERO" font-id="0" code="48" glyph="7"/>
+ <symbol name="DIGIT ONE" font-id="0" code="49" glyph="8"/>
+ <symbol name="DIGIT TWO" font-id="0" code="50" glyph="9"/>
+ <symbol name="DIGIT THREE" font-id="0" code="51" glyph="10"/>
+ <symbol name="DIGIT FOUR" font-id="0" code="52" glyph="11"/>
+ <symbol name="DIGIT FIVE" font-id="0" code="53" glyph="12"/>
+ <symbol name="DIGIT SIX" font-id="0" code="54" glyph="13"/>
+ <symbol name="DIGIT SEVEN" font-id="0" code="55" glyph="14"/>
+ <symbol name="DIGIT EIGHT" font-id="0" code="56" glyph="15"/>
+ <symbol name="DIGIT NINE" font-id="0" code="57" glyph="16"/>
+
+</font-symbol-map>
+
+<font-hotspots>
+ <hotspot name="MUSIC FLAT SIGN">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL DOUBLE FLAT">
+ <scaled y="0.74"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL C CLEF">
+ <scaled y="0.47"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL G CLEF">
+ <scaled y="0.64"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL F CLEF">
+ <scaled y="0.32"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL MULTI REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL WHOLE REST">
+ <scaled y="0"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL HALF REST">
+ <scaled y="0.98"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL QUARTER REST">
+ <scaled y="0.5"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL EIGHTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTEENTH REST">
+ <scaled y="0.28"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL THIRTY-SECOND REST">
+ <scaled y="0.45"/>
+ </hotspot>
+ <hotspot name="MUSICAL SYMBOL SIXTY-FOURTH REST">
+ <scaled y="0.4"/>
+ </hotspot>
+</font-hotspots>
+</rosegarden-font-encoding>