Drop Arial Unicode MS font and request only sans-serif Arial Unicode MS does not have a bold version. Selecting this font prevents correct display of bold text on Mac OS X. Simplify the selector to sans-serif and allow the browser to use the user's preferred font in this family. Bug: issue 1863 Change-Id: I70627d974f6f34cc3b49821a4beb4c49032f6c6e
diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/gerrit.css b/gerrit-gwtui/src/main/java/com/google/gerrit/client/gerrit.css index 192698e..93db54c 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/gerrit.css +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/gerrit.css
@@ -20,7 +20,7 @@ @def black #000000; @def white #ffffff; -@def norm-font Arial Unicode MS, Arial, sans-serif; +@def norm-font sans-serif; @def mono-font monospace; @eval backgroundColor com.google.gerrit.client.Gerrit.getTheme().backgroundColor; @@ -1164,7 +1164,7 @@ margin-right: 5em; font-weight: bold; font-size: medium; - font-family: Arial Unicode; + font-family: norm-font; } /** Patch History Table **/
diff --git a/gerrit-plugin-gwt-archetype/src/main/resources/archetype-resources/src/main/java/public/hello.css b/gerrit-plugin-gwt-archetype/src/main/resources/archetype-resources/src/main/java/public/hello.css index a88059d..73bf5c6 100644 --- a/gerrit-plugin-gwt-archetype/src/main/resources/archetype-resources/src/main/java/public/hello.css +++ b/gerrit-plugin-gwt-archetype/src/main/resources/archetype-resources/src/main/java/public/hello.css
@@ -6,7 +6,7 @@ */ body, table td, select { - font-family: Arial Unicode MS, Arial, sans-serif; + font-family: sans-serif; font-size: small; } pre {