Problems with kerning—too little space to the left of, too much space to the right of "f" dynamics in Emmentaler text

• Sep 16, 2014 - 19:33
Type
Functional
Severity
S5 - Suggestion
Status
closed
Project

On Mac dynamics look bad with EmmentalerText font due to a kerning problem:

'mf' is squeezed: mf_Emmentaler.png
'fff' is streched too far: fff_emmentaler.png
'sfpp' even looks like two distinct items: sfpp_emmentaler.png

I also attached an image of the emmentaler-text-3.mscz test file, which shows all dynamics.

Using 3338af9 on Mac OS X 10.9.4

Attachment Size
mf_Emmentaler.png 960 bytes
fff_emmentaler.png 1.14 KB
sfpp_emmentaler.png 1.43 KB
emmentaler-text-3.png 37.62 KB

Comments

Note that all the problems seem to be caused by a single letter, "f." Fix that one letter, and you've fixed all the kerning issues.

We'd need to fine a way to fix this kerning for Mac without breaking it for Windows and Linux, which don't have an issue with it currently...

Qt. Well, also, perhaps the version of FontForge used to generate the TTF files. Kerning is a highly complex and annoyingly OS-dependent affair. It's unfortunately not at all uncommong that something that imrpoves kerning on one platforms makes it work on another.

Has the font itself changed at all? Because Gonville Text and Bravura Text show no issues, nor does any letter in any font in any context except the "f" in this one unique music text font.

Okay, here's something I just noticed. Bravura and Gonville ("Gootville") are OpenType. Emmentaler ("mscore") is TrueType. Significant? Coincidence? I don't know.

Title [Mac] [Emmentaler] problems with kerning [Mac] [Emmentaler] problems with kerning—too little space to the left of and too much space to the right of "f" glyph
Title [Mac] [Emmentaler] problems with kerning—too little space to the left of and too much space to the right of "f" glyph [Mac] [Emmentaler] problems with kerning—too little space to the left of, too much space to the right of "f" glyph in dynamics
Title [Mac] [Emmentaler] problems with kerning—too little space to the left of, too much space to the right of "f" glyph in dynamics Problems with kerning—too little space to the left of, too much space to the right of "f" dynamics in Emmentaler text
Status (old) closed active

I'm not sure how long this has been broken, but the problem is definitely back in 4ae9ef8 (2.0.3 branch).

Have you done the Revert procedure to be sure you are using fresh palettes? I take it you are seeing this on Mac. Things look fine for me using a current 2.0.3 build on Ubuntu.

Can anyone else on Mac - or any OS for that matter - reproduce this? Not sure how close we really are to release, but this seems like a potential showstopper if it isn't just something really unique about your configuration.

To be clear, though this represents a regression in the code, it's no different from the previous released version—it's been the same (on OS X) since @heuchi reported it in September 2014. It was present all the way through until being fixed well after the release of 2.0.2. So hardly a showstopper.

Really? The original issue report is against a nightly build, and all other cpmments refer to otherr nightly builds. So I have been assuming this was a post-2.0.2 regression. Ceertainly it was good on Windows in 2.0.2, as per comment #22.

I guess if Mac has the same issue in 2.0.2, then it's not a regression indeed. Still, seems like something we should be trying to figure out.

I see only one relevant commit since this bug was supposedly fixed: https://github.com/musescore/MuseScore/commit/036d1b75e4de4ce7aceaf9d89…. Is it possible the TTF file was saved with the wrong options? As I recall, getting a single TTF file to work on Mac, WIndows, and Linux is a bit of a headache; there is like one magic combination of options to use when saving the file in FontForge thsat works but everything else fails for some platform.

Status (old) active fixed

I can reproduce the bad kerning in MuseScore 2.0.2 and current 2.0.3 nightly on Mac OSX.
But I can't reproduce with master.
Said differently, it's not a regression and this bug has never been fixed in 2.0.3 branch. Still, this bug is considered fixed because it's fixed in master branch.
The font in master is different (e278201b49), so it's no just a matter of copying the ttf files.
I'm not sure we want to risk to change the font just a few hours before 2.0.3...

I checked if I could do something but sfd file for the font in MuseScore 2.0.3 branch is quite old... my font forge can't read it properly...