Changing chord separator font style has no effect

In this (cut down) project, changing the chord separator’s font style has no effect, at least on my computer.
For testing, it is intentionally set to an absurd big size.
Any ideas?
Demo.dorico (788.2 KB)

That’s because Dorico is actually using U+E87B from the font defined for “Chord symbols music text”:

https://w3c.github.io/smufl/latest/tables/chord-symbols.html

Thanks Daniel, if is this intended behaviour, what is the dedicated font style for? Apart from that, I would like to have the possibility to adjust the separator’s size independently. In this case, it is too big, at least for my taste. :slight_smile:

The steps described below might help you out with adjusting the size of the separator:

1 Like

The steps above in the post @DanielMuzMurray linked to should also work on the slash. This does raise the question, why does the Font Style “Chord Symbols Altered Bass Separator Font” exist if it doesn’t do anything? It definitely seems like there should be a percentage setting, and X and Y positioning settings in Engraving Options too. (I actually thought there was a percentage setting already, but I guess not.)

I don’t have your font installed so I’m not sure what it’s supposed to look like, but here’s a little test file where I modified the slash to look like this:
test
DemoRvsd.dorico (780.9 KB)

If you’d like a permanent change to all files created from File/New, here’s a doricolib file too. You can unzip it and add it to your DefaultLibraryAdditions folder. It includes settings to change the font used and glyph location if you want, plus it’s easy to change the scale and Y offset (positive # brings it down), if I didn’t get those correct since I didn’t have your font installed.
ChordSlash.zip (625 Bytes)

ChordSlash doricolib file
<?xml version="1.0" encoding="utf-8"?>
<kScoreLibrary>
	<glyphDefinitions>
		<entities array="true">
			<GlyphPrimitiveEntityDefinition>
				<name>bass.slash</name>
				<entityID>glyph.bass.slash</entityID>
				<parentEntityID/>
				<inheritanceMask>0</inheritanceMask>
				<codePoint>0xE87B</codePoint>
				<isSmufl>true</isSmufl>
				<alternateForGlyph/>
				<fontStyle>font.chordsymbolsmusictext</fontStyle>
				<pointSize>1</pointSize>
				<rotation>0</rotation>
				<colour>kDefault</colour>
			</GlyphPrimitiveEntityDefinition>
		</entities>
	</glyphDefinitions>
	<compositeDefinitions>
		<entities array="true">
			<CompositeDefinition>
				<name>bass.slash</name>
				<entityID>comp.bass.slash</entityID>
				<parentEntityID/>
				<inheritanceMask>0</inheritanceMask>
				<category>kChordSymbols</category>
				<components array="true">
					<component>
						<componentId>glyph.bass.slash</componentId>
						<componentType>kGlyph</componentType>
						<xOffset>0</xOffset>
						<yOffset>2.5</yOffset>
						<xScale>100.000000</xScale>
						<yScale>100.000000</yScale>
						<zOrder>0</zOrder>
						<maxOpticalScale>100</maxOpticalScale>
						<componentInstance>0</componentInstance>
						<colour>kDefault</colour>
					</component>
				</components>
				<relativeAttachments array="true"/>
				<scalingRules array="true"/>
			</CompositeDefinition>
		</entities>
	</compositeDefinitions>
</kScoreLibrary>
1 Like

Thanks you very much @DanielMuzMurray & @FredGUnn! That really helps me a lot!

1 Like

Hi @FredGUnn : I’m looking to adjust the position of the slash as you’ve done. I can’t seem to find a DefaultLibraryAdditions folder. Can you tell me where this would be located (I’m on a Mac). Also, can this be used to change the position of the slash in existing projects or only new ones? Thank you!

I’m on a PC so I’m not entirely sure, but other threads have said it’s at Library/ApplicationSupport/Steinberg/Dorico 5/DefaultLibraryAdditions on a Mac. If it doesn’t exist at that location, you can go ahead and create it. Hopefully someone will correct me if that’s not accurate.

This is actually a somewhat old thread. In the time since I posted the doricolib file above to modify the slash, I created a new doricolib file which will add a new Font Style called Chord Symbols Slash Font, which will then allow you to modify the size directly in Dorico. Here’s the file:
Chord Symbols Slash Font.zip (917 Bytes)

… and here’s the code:

Chord Symbols Slash Font code
<?xml version="1.0" encoding="utf-8"?>
<kScoreLibrary>
	<glyphDefinitions>
		<entities array="true">
			<GlyphPrimitiveEntityDefinition>
				<name>bass.slash</name>
				<entityID>glyph.bass.slash</entityID>
				<parentEntityID/>
				<inheritanceMask>0</inheritanceMask>
				<codePoint>0xE87B</codePoint>
				<isSmufl>true</isSmufl>
				<alternateForGlyph/>
				<fontStyle>font.chordsymbolsslash</fontStyle>
				<pointSize>1</pointSize>
				<rotation>0</rotation>
				<colour>kDefault</colour>
			</GlyphPrimitiveEntityDefinition>
			<GlyphPrimitiveEntityDefinition>
				<name>bass.slashdiagonal</name>
				<entityID>glyph.bass.slashdiagonal</entityID>
				<parentEntityID/>
				<inheritanceMask>0</inheritanceMask>
				<codePoint>0xE87C</codePoint>
				<isSmufl>true</isSmufl>
				<alternateForGlyph/>
				<fontStyle>font.chordsymbolsslash</fontStyle>
				<pointSize>1</pointSize>
				<rotation>0</rotation>
				<colour>kDefault</colour>
			</GlyphPrimitiveEntityDefinition>
		</entities>
	</glyphDefinitions>
	<compositeDefinitions>
		<entities array="true">
			<CompositeDefinition>
				<name>bass.slash</name>
				<entityID>comp.bass.slash</entityID>
				<parentEntityID/>
				<inheritanceMask>0</inheritanceMask>
				<category>kChordSymbols</category>
				<components array="true">
					<component>
						<componentId>glyph.bass.slash</componentId>
						<componentType>kGlyph</componentType>
						<xOffset>0</xOffset>
						<yOffset>0.5</yOffset>
						<xScale>125.000000</xScale>
						<yScale>125.000000</yScale>
						<zOrder>0</zOrder>
						<maxOpticalScale>100</maxOpticalScale>
						<componentInstance>0</componentInstance>
						<colour>kDefault</colour>
					</component>
				</components>
				<relativeAttachments array="true"/>
				<scalingRules array="true"/>
			</CompositeDefinition>
			<CompositeDefinition>
				<name>bass.slashdiagonal</name>
				<entityID>comp.bass.slashdiagonal</entityID>
				<parentEntityID/>
				<inheritanceMask>0</inheritanceMask>
				<category>kChordSymbols</category>
				<components array="true">
					<component>
						<componentId>glyph.bass.slashdiagonal</componentId>
						<componentType>kGlyph</componentType>
						<xOffset>0</xOffset>
						<yOffset>0</yOffset>
						<xScale>85.000000</xScale>
						<yScale>85.000000</yScale>
						<zOrder>0</zOrder>
						<maxOpticalScale>100</maxOpticalScale>
						<componentInstance>0</componentInstance>
						<colour>kDefault</colour>
					</component>
				</components>
				<relativeAttachments array="true"/>
				<scalingRules array="true"/>
			</CompositeDefinition>
		</entities>
	</compositeDefinitions>
	<fontstyles>
		<entities array="true">
			<FontStyleEntityDefinition>
				<name>Chord Symbols Slash Font</name>
				<entityID>font.chordsymbolsslash</entityID>
				<parentEntityID>font.chordsymbolsmusictext</parentEntityID>
				<inheritanceMask>0xFFFF</inheritanceMask>
				<fontname>Bravura Text</fontname>
				<colour>kDefault</colour>
				<size>kStaveRelativeSize, 11</size>
				<weight>kNormal</weight>
				<italic>false</italic>
				<underlined>false</underlined>
				<namedStyle>Regular</namedStyle>
				<substituteFamilyNames>steamVariantList:list: </substituteFamilyNames>
			</FontStyleEntityDefinition>
		</entities>
	</fontstyles>
</kScoreLibrary>

Doricolib files typically only work at the time of file creation, as those attributes get embedded into the file. If you want to bring it into an existing file, you’ll need to do it with the Library Manager. In the doricolib code above, you’ll notice there’s a yOffset value applied to the glyph.bass.slash componentID, as well as a scaling factor. You may need to adjust these values to work with your font and size, so feel free to edit the file as needed. For the yOffset, positive values move it down. Let me know if you have any questions or can’t get it working.

1 Like

To answer the question posed earlier, the Chord Symbols Altered Bass Separator Font style is for chords using this sort of separator appearance, not for slashes:

image

I think I came across the post where you posted that new file. I was able to install it and make it work—I had to create the DefaultLibraryAdditions folder, and then I was able to put your xml file in there. The only issue now is that I cannot figure out how to get the appearance in existing projects. I’ve tried importing via the Library manager but that hasn’t worked—at least not so far.

Thank you!

OK, sorry to come back to this but I just cannot seem to get this to work. I’ve tried using the Library Manager to import a new file with proper slash placement, and have imported the “glyph primitives”, which correctly appear as differences in the two projects. However, nothing happens after the import. Any ideas?

EDIT: never mind! Apparently I also needed to update/import the “Music Symbols” setting for the slashes, and that took care of it.

1 Like

Ah, great, I hadn’t had a chance to investigate this, but glad you got it working!

1 Like