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

Side by Side Diff: trunk/src/ports/SkFontHost_win.cpp

Issue 13119021: add dummpy SkFontMgr::Factory() impl to font backends, so we can start testing it (Closed) Base URL: http://skia.googlecode.com/svn/
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « trunk/src/ports/SkFontHost_none.cpp ('k') | trunk/src/ports/SkFontHost_win_dw.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "SkAdvancedTypefaceMetrics.h" 9 #include "SkAdvancedTypefaceMetrics.h"
10 #include "SkBase64.h" 10 #include "SkBase64.h"
(...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1667 if (isLCD(*rec) && !isAxisAligned(*rec)) { 1667 if (isLCD(*rec) && !isAxisAligned(*rec)) {
1668 rec->fMaskFormat = SkMask::kA8_Format; 1668 rec->fMaskFormat = SkMask::kA8_Format;
1669 } 1669 }
1670 #endif 1670 #endif
1671 1671
1672 if (!fCanBeLCD && isLCD(*rec)) { 1672 if (!fCanBeLCD && isLCD(*rec)) {
1673 rec->fMaskFormat = SkMask::kA8_Format; 1673 rec->fMaskFormat = SkMask::kA8_Format;
1674 rec->fFlags &= ~SkScalerContext::kGenA8FromLCD_Flag; 1674 rec->fFlags &= ~SkScalerContext::kGenA8FromLCD_Flag;
1675 } 1675 }
1676 } 1676 }
1677
1678 ///////////////////////////////////////////////////////////////////////////////
1679
1680 #include "SkFontMgr.h"
1681
1682 SkFontMgr* SkFontMgr::Factory() {
1683 // todo
1684 return NULL;
1685 }
OLDNEW
« no previous file with comments | « trunk/src/ports/SkFontHost_none.cpp ('k') | trunk/src/ports/SkFontHost_win_dw.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698