Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
sschmitz@chromium.org f7fe703f61 Wrong file/dir owner and permission for installed Chrome OS fonts
The install script sets owner to root and adjust dir/file permissions to 0755 and 0644 respectively.

BUG=178612
TEST=manual; inspect dir/file owner and permissions in
/usr/local/share/fonts/chromeos.


Review URL: https://chromiumcodereview.appspot.com/12314144

git-svn-id: http://src.chromium.org/svn/trunk/src/build@184986 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-27 18:03:23 +00:00
sschmitz@chromium.org 4dcb5c4e95 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



Review URL: https://chromiumcodereview.appspot.com/12313039

git-svn-id: http://src.chromium.org/svn/trunk/src/build@184006 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-02-22 03:49:20 +00:00