diff options
Diffstat (limited to 'data/fonts/mappings/petrucci.xml')
-rw-r--r-- | data/fonts/mappings/petrucci.xml | 158 |
1 files changed, 158 insertions, 0 deletions
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> |