Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(789)

Issue 12313039: Installing ChromeOS font on developer Linux machine (Closed)

Created:
7 years, 10 months ago by sschmitz
Modified:
7 years, 3 months ago
Reviewers:
Nico, Daniel Erat
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Installing ChromeOS font on developer Linux machine Added call to a new script in: build/install-build-deps.sh to download and install the ChromeOS default font (Noto Sans UI). The installation is in: /usr/local/share/fonts. ChromeOS on Linux will use the font if present. The installation creates (or recreates) a subdir: "chromeos". In it it creates a .stamp file which is used to avoid re-installation if it is already up to date. It also creates a README file. BUG=148945 TEST=manual; One way to test is to instrument the file: src/ui/gfx/platform_font_pango.cc to log default_font_->GetFontName(); in ctor PlatformFontPango::PlatformFontPango() Expect: W/out font installation: DejaVu Sans With font installation: Noto Sans UI Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184006

Patch Set 1 #

Total comments: 16

Patch Set 2 : update #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -0 lines) Patch
M build/install-build-deps.sh View 1 3 chunks +13 lines, -0 lines 3 comments Download
A build/linux/install-chromeos-fonts.py View 1 1 chunk +71 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
sschmitz
Dan, thanks for your help.
7 years, 10 months ago (2013-02-21 18:36:16 UTC) #1
Daniel Erat
https://codereview.chromium.org/12313039/diff/1/build/install-build-deps.sh File build/install-build-deps.sh (right): https://codereview.chromium.org/12313039/diff/1/build/install-build-deps.sh#newcode17 build/install-build-deps.sh:17: echo "--[no-]chromeos-font: enable or disable installation of ChromeOS font" ...
7 years, 10 months ago (2013-02-21 20:38:03 UTC) #2
sschmitz
I also renamed the new script name - s/font/fonts/ - in order to be consistent. ...
7 years, 10 months ago (2013-02-21 21:47:44 UTC) #3
Daniel Erat
lgtm https://codereview.chromium.org/12313039/diff/5001/build/install-build-deps.sh File build/install-build-deps.sh (right): https://codereview.chromium.org/12313039/diff/5001/build/install-build-deps.sh#newcode17 build/install-build-deps.sh:17: echo "--[no-]chromeos-fonts: enable or disable installation of Chrome ...
7 years, 10 months ago (2013-02-21 21:51:43 UTC) #4
sschmitz
Comment on nit. No change. https://codereview.chromium.org/12313039/diff/5001/build/install-build-deps.sh File build/install-build-deps.sh (right): https://codereview.chromium.org/12313039/diff/5001/build/install-build-deps.sh#newcode17 build/install-build-deps.sh:17: echo "--[no-]chromeos-fonts: enable or ...
7 years, 10 months ago (2013-02-21 22:04:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sschmitz@chromium.org/12313039/5001
7 years, 10 months ago (2013-02-21 22:13:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sschmitz@chromium.org/12313039/5001
7 years, 10 months ago (2013-02-22 01:44:41 UTC) #7
commit-bot: I haz the power
Change committed as 184006
7 years, 10 months ago (2013-02-22 03:49:22 UTC) #8
Nico
7 years, 3 months ago (2013-09-17 19:48:25 UTC) #9
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/12313039/diff/5001/build/install-build...
File build/install-build-deps.sh (right):

https://chromiumcodereview.appspot.com/12313039/diff/5001/build/install-build...
build/install-build-deps.sh:215: fi
As this new script depends on curl, can you move this below all the apt-get
calls below which make sure that curl is installed?

Powered by Google App Engine
This is Rietveld 408576698