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

Unified Diff: src/ports/SkFontConfigInterface_direct.cpp

Issue 23618061: Map Calibri to Carlito (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 3 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
« 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: src/ports/SkFontConfigInterface_direct.cpp
===================================================================
--- src/ports/SkFontConfigInterface_direct.cpp (revision 11397)
+++ src/ports/SkFontConfigInterface_direct.cpp (working copy)
@@ -172,6 +172,7 @@
PMINGLIUHK,
MINGLIUHK,
CAMBRIA,
+ CALIBRI,
};
// Match the font name against a whilelist of fonts, returning the equivalence
@@ -284,6 +285,10 @@
// Cambria
{ CAMBRIA, "Cambria" },
{ CAMBRIA, "Caladea" },
+
+ // Calibri
+ { CALIBRI, "Calibri" },
+ { CALIBRI, "Carlito" },
};
static const size_t kFontCount =
« 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