aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunasSudo <runassudo@yingtongli.me>2020-05-22 23:20:05 +1000
committerRunasSudo <runassudo@yingtongli.me>2020-05-23 03:06:24 +1000
commit00c0fff9fc7706a4fd0a55737bc93c8783badca3 (patch)
tree7859f707a219e7179c421d82d7666bb60de76340
parent07e241237f87d5b265a471facfafb1f1c8e03ba2 (diff)
Add custom "*" and related tokens to manually fix kerning, e.g. following the letter A
MuseScore doesn't let us automatically adjust the spacing depending on the chord root :(
-rw-r--r--chords_serifjazz.m4.xml15
-rw-r--r--chords_serifjazz_0.925mm_R8.xml15
-rw-r--r--chords_serifjazz_1.764mm_Default.xml15
3 files changed, 45 insertions, 0 deletions
diff --git a/chords_serifjazz.m4.xml b/chords_serifjazz.m4.xml
index 8c70a3e..ffabd71 100644
--- a/chords_serifjazz.m4.xml
+++ b/chords_serifjazz.m4.xml
@@ -138,6 +138,21 @@
<render>m:0:&unsup; oslash m:-1.0:-&unsup;</render>
</token>
+ <token>
+ <name>*</name> <!-- used to fix kerning for letter "A" -->
+ <render>m:-1.0:0;</render>
+ </token>
+
+ <token>
+ <name>*o</name> <!-- A° -->
+ <render>m:-2.0:&unsup; degree m:-1.0:-&unsup;</render>
+ </token>
+
+ <token>
+ <name>*h</name> <!-- Aø -->
+ <render>m:-2.0:&unsup; oslash m:-1.0:-&unsup;</render>
+ </token>
+
<!-- Modifier text -->
<token class="modifier">
<name>add</name>
diff --git a/chords_serifjazz_0.925mm_R8.xml b/chords_serifjazz_0.925mm_R8.xml
index 66f06fb..09cf057 100644
--- a/chords_serifjazz_0.925mm_R8.xml
+++ b/chords_serifjazz_0.925mm_R8.xml
@@ -138,6 +138,21 @@
<render>m:0:&unsup; oslash m:-1.0:-&unsup;</render>
</token>
+ <token>
+ <name>*</name> <!-- used to fix kerning for letter "A" -->
+ <render>m:-1.0:0;</render>
+ </token>
+
+ <token>
+ <name>*o</name> <!-- A° -->
+ <render>m:-2.0:&unsup; degree m:-1.0:-&unsup;</render>
+ </token>
+
+ <token>
+ <name>*h</name> <!-- Aø -->
+ <render>m:-2.0:&unsup; oslash m:-1.0:-&unsup;</render>
+ </token>
+
<!-- Modifier text -->
<token class="modifier">
<name>add</name>
diff --git a/chords_serifjazz_1.764mm_Default.xml b/chords_serifjazz_1.764mm_Default.xml
index d8891d9..a39b369 100644
--- a/chords_serifjazz_1.764mm_Default.xml
+++ b/chords_serifjazz_1.764mm_Default.xml
@@ -138,6 +138,21 @@
<render>m:0:&unsup; oslash m:-1.0:-&unsup;</render>
</token>
+ <token>
+ <name>*</name> <!-- used to fix kerning for letter "A" -->
+ <render>m:-1.0:0;</render>
+ </token>
+
+ <token>
+ <name>*o</name> <!-- A° -->
+ <render>m:-2.0:&unsup; degree m:-1.0:-&unsup;</render>
+ </token>
+
+ <token>
+ <name>*h</name> <!-- Aø -->
+ <render>m:-2.0:&unsup; oslash m:-1.0:-&unsup;</render>
+ </token>
+
<!-- Modifier text -->
<token class="modifier">
<name>add</name>
Contact (issues, pull requests, etc.) at git@yingtongli.me. Generated by cgit.