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

Unified Diff: content/shell/app/blink_test_platform_support_linux.cc

Issue 749293002: Update location for Garuda font in Ubuntu 14.10 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/app/blink_test_platform_support_linux.cc
diff --git a/content/shell/app/blink_test_platform_support_linux.cc b/content/shell/app/blink_test_platform_support_linux.cc
index a05816fa3411faa715dcc9fee890f83d71cd1478..7bf64c96cdb04d6e8f0bf17d151a07ebfb059f2e 100644
--- a/content/shell/app/blink_test_platform_support_linux.cc
+++ b/content/shell/app/blink_test_platform_support_linux.cc
@@ -49,6 +49,8 @@ bool BlinkTestPlatformInitialize() {
base::FilePath garuda_path("/usr/share/fonts/truetype/thai/Garuda.ttf");
if (!base::PathExists(garuda_path))
garuda_path = base::FilePath("/usr/share/fonts/truetype/tlwg/Garuda.ttf");
+ if (!base::PathExists(garuda_path))
+ garuda_path = base::FilePath("/usr/share/fonts/opentype/tlwg/Garuda.otf");
if (!gfx::LoadFontIntoFontconfig(garuda_path))
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698