summaryrefslogtreecommitdiffstats
path: root/data/fonts/mappings/rg21.xml
blob: bf64bda565452342f110a5222433ff6725e27feb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
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>