summaryrefslogtreecommitdiffstats
path: root/data/fonts/mappings/steinberg.xml
diff options
context:
space:
mode:
Diffstat (limited to 'data/fonts/mappings/steinberg.xml')
-rw-r--r--data/fonts/mappings/steinberg.xml142
1 files changed, 142 insertions, 0 deletions
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>