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

Unified Diff: skia/ports/SkFontHost_FreeType.cpp

Issue 10414: Use Skia to render fonts (Closed)
Patch Set: Created 12 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 | « skia/SConscript ('k') | webkit/port/platform/graphics/chromium/FontCacheLinux.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ports/SkFontHost_FreeType.cpp
diff --git a/skia/ports/SkFontHost_FreeType.cpp b/skia/ports/SkFontHost_FreeType.cpp
index 4866f88a29dc323d2d3118277e62259cfae830f7..6430d2ddd213c67ce9a2236078ee55c8c824aea9 100644
--- a/skia/ports/SkFontHost_FreeType.cpp
+++ b/skia/ports/SkFontHost_FreeType.cpp
@@ -717,14 +717,6 @@ void SkScalerContext_FreeType::generatePath(const SkGlyph& glyph, SkPath* path)
path->close();
}
-static void map_y_to_pt(const FT_Matrix& mat, SkFixed y, SkPoint* pt)
-{
- SkFixed x = SkFixedMul(mat.xy, y);
- y = SkFixedMul(mat.yy, y);
-
- pt->set(SkFixedToScalar(x), SkFixedToScalar(y));
-}
-
void SkScalerContext_FreeType::generateFontMetrics(SkPaint::FontMetrics* mx, SkPaint::FontMetrics* my)
{
if (NULL == mx && NULL == my)
« no previous file with comments | « skia/SConscript ('k') | webkit/port/platform/graphics/chromium/FontCacheLinux.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698