musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.39k stars 2.68k forks source link

Failure to use true italic font variant #21726

Open CookieShade opened 9 months ago

CookieShade commented 9 months ago

Issue type

Engraving bug (incorrect score rendering)

Bug description

Using italics in standard Times New Roman results in a false, synthesized slanted version of Times New Roman, rather than the true italic version, even though the latter is installed by default on Windows, and recognized as such by other Windows applications such as LibreOffice Writer.

This error occurs with many other system fonts (e.g. Bodoni MT), as well as several non-system fonts (e.g. Source Serif), making this issue rather severe as it makes a large number of fonts nigh-unusable for expression text, bar numbers, or alternate-language lyrics. It does not occur with all system fonts -- for example, Gentium Basic gets correct italics.

Steps to reproduce

  1. Open an empty MuseScore Score
  2. Set the title and subtitle to font Times New Roman, and the subtitle to italic, in the Properties panel.
  3. Observe that the subtitle does not look like Times New Roman italics

Screenshots/Screen recordings

Italics as they incorrectly appear in Musescore 4.2.1: Musescore bug italics 1 Italics as they correctly appear in LibreOffice and most other applications: Musescore bug italics 2

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433

Regression

I don't know

Operating system

Windows 10 & 11

Additional context

I'd categorize incorrect text font rendering as an engraving bug; apologies if this isn't true here.

oktophonie commented 9 months ago

image 4.2.1 in Windows 11 (for me) But this may be another example of https://github.com/musescore/MuseScore/issues/18494

FloraCanou commented 5 months ago

I have the same problem, but only with Source Serif 4. I can't reproduce this with Times New Roman or Bodoni MT. Behavior is the same across Musescore 3.6.2 and 4.3.1 on Windows 10.