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

Unified Diff: Source/platform/fonts/AlternateFontFamily.h

Issue 179723005: Remove GDI font rendering code for windows (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | « Source/platform/blink_platform.gypi ('k') | Source/platform/fonts/FontCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/AlternateFontFamily.h
diff --git a/Source/platform/fonts/AlternateFontFamily.h b/Source/platform/fonts/AlternateFontFamily.h
index f2648d2208ca4f44b764b38981bbde9299e9d1ef..efa70144aa82544425263e79b0e9c41f0d5fe133 100644
--- a/Source/platform/fonts/AlternateFontFamily.h
+++ b/Source/platform/fonts/AlternateFontFamily.h
@@ -36,10 +36,9 @@
namespace WebCore {
-// We currently do not support bitmap fonts on windows (with GDI_FONTS_ON_WINDOWS enabled).
+// We currently do not support bitmap fonts on windows.
// Instead of trying to construct a bitmap font and then going down the fallback path map
-// certain common bitmap fonts to their truetype equivalent up front. This also allows the
-// GDI_FONTS_ON_WINDOWS disabled code path to match our current behavior.
+// certain common bitmap fonts to their truetype equivalent up front.
inline const AtomicString& adjustFamilyNameToAvoidUnsupportedFonts(const AtomicString& familyName)
{
#if OS(WIN)
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/fonts/FontCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698