javafxports / openjdk-jfx

The openjfx repo has moved to:
https://github.com/openjdk/jfx
GNU General Public License v2.0
1.01k stars 146 forks source link

Font ignores FontWeight.BOLD on macOS #344

Open derreisende77 opened 5 years ago

derreisende77 commented 5 years ago

JavaFX still ignores FontWeight.BOLD when applying a Font to Text objects. I found several bug reports for this on JBS and one also mentioned it to be fixed in JavaFX 11 but even with 12-ea+7 it still doesn´t work on macOS Mojave. The same code I wrote works flawlessly on Windows 10 and Ubuntu Linux. I tested also with example 39-12 from JavaFX: Working with JavaFX UI Components but result differs from Figure 39-3 in that the bold text is instead regular.

kevinrushforth commented 5 years ago

This may be the same bug as: JDK-8209435: [macOS] Text with bold font weight rendered as normal text when TTC font is used

derreisende77 commented 5 years ago

@kevinrushforth Still not fixed here with openjfx 12-ea+9

kevinrushforth commented 5 years ago

Yes, we know. If you look at the JBS bug you will see that it is still unresolved (not yet fixed).