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