From 0d34edc708abe2a9c4834c61ba6e4a7eca8c099d Mon Sep 17 00:00:00 2001 From: Phil Race Date: Fri, 14 Oct 2016 15:37:10 -0700 Subject: [PATCH] 8166034: [macosx] Non-AA Serif font always displays as regular - no bold Reviewed-by: serb, pnarayanan --- jdk/src/java.desktop/share/classes/java/awt/Font.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jdk/src/java.desktop/share/classes/java/awt/Font.java b/jdk/src/java.desktop/share/classes/java/awt/Font.java index 3e63e9af52f..18046fd9ea3 100644 --- a/jdk/src/java.desktop/share/classes/java/awt/Font.java +++ b/jdk/src/java.desktop/share/classes/java/awt/Font.java @@ -154,6 +154,10 @@ import static sun.font.EAttribute.*; * associated with a font face, each differing in size, style, transform * and font features. *

+ * Glyphs may not always be rendered with the requested properties (e.g, font + * and style) due to platform limitations such as the absence of suitable + * platform fonts to implement a logical font. + *

* The {@link GraphicsEnvironment#getAllFonts() getAllFonts} method * of the {@code GraphicsEnvironment} class returns an * array of all font faces available in the system. These font faces are