From 4b26a2a7f908fe6eec802a1b1f358a05543148af Mon Sep 17 00:00:00 2001 From: Shawn Pearce Date: Wed, 17 Apr 2013 07:34:32 -0700 Subject: [PATCH] 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 --- .../src/main/java/com/google/gerrit/client/gerrit.css | 4 ++-- .../archetype-resources/src/main/java/public/hello.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 192698e3d0..93db54ca54 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 @@ a:hover.downloadLink { 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 a88059d3b0..73bf5c6e9c 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 {