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

Unified Diff: ui/gfx/platform_font_linux.h

Issue 2863693002: Fallback Font Cache and Character Hinting for VRShell (Closed)
Patch Set: using ICU script to increase cache hits Created 3 years, 7 months 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
« ui/gfx/font_fallback_android.cc ('K') | « ui/gfx/font_fallback_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/platform_font_linux.h
diff --git a/ui/gfx/platform_font_linux.h b/ui/gfx/platform_font_linux.h
index 95f5efb925038ce9d46ad24c7a08264f807980e0..b96c7f56cf5b32925007cd9f231ae190fc565cf8 100644
--- a/ui/gfx/platform_font_linux.h
+++ b/ui/gfx/platform_font_linux.h
@@ -53,6 +53,8 @@ class GFX_EXPORT PlatformFontLinux : public PlatformFont {
int GetFontSize() const override;
const FontRenderParams& GetFontRenderParams() override;
+ sk_sp<SkTypeface> typeface() const { return typeface_; }
+
private:
// Create a new instance of this object with the specified properties. Called
// from DeriveFont.
« ui/gfx/font_fallback_android.cc ('K') | « ui/gfx/font_fallback_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698