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