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

Side by Side Diff: Source/platform/fonts/win/FontPlatformDataWin.h

Issue 139203009: Re-land "Don't check lfQuality in LOGFONT as it has no effect on rendering"" (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007 Apple Computer, Inc. 2 * Copyright (C) 2006, 2007 Apple Computer, Inc.
3 * Copyright (c) 2006, 2007, 2008, 2009, Google Inc. All rights reserved. 3 * Copyright (c) 2006, 2007, 2008, 2009, Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "wtf/RefPtr.h" 46 #include "wtf/RefPtr.h"
47 #include "wtf/text/StringImpl.h" 47 #include "wtf/text/StringImpl.h"
48 48
49 #include <usp10.h> 49 #include <usp10.h>
50 50
51 typedef struct HFONT__ *HFONT; 51 typedef struct HFONT__ *HFONT;
52 52
53 namespace WebCore { 53 namespace WebCore {
54 54
55 // Return a typeface associated with the hfont, and return its size and 55 // Return a typeface associated with the hfont, and return its size and
56 // lfQuality from the hfont's LOGFONT. 56 // from the hfont's LOGFONT.
57 PassRefPtr<SkTypeface> CreateTypefaceFromHFont(HFONT, int* size, int* paintTextF lags); 57 PassRefPtr<SkTypeface> CreateTypefaceFromHFont(HFONT, int* size);
58 58
59 class FontDescription; 59 class FontDescription;
60 class GraphicsContext; 60 class GraphicsContext;
61 class HarfBuzzFace; 61 class HarfBuzzFace;
62 62
63 class PLATFORM_EXPORT FontPlatformData { 63 class PLATFORM_EXPORT FontPlatformData {
64 public: 64 public:
65 // Used for deleted values in the font cache's hash tables. The hash table 65 // Used for deleted values in the font cache's hash tables. The hash table
66 // will create us with this structure, and it will compare other values 66 // will create us with this structure, and it will compare other values
67 // to this "Deleted" one. It expects the Deleted one to be differentiable 67 // to this "Deleted" one. It expects the Deleted one to be differentiable
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 mutable OwnPtr<SCRIPT_FONTPROPERTIES> m_scriptFontProperties; 182 mutable OwnPtr<SCRIPT_FONTPROPERTIES> m_scriptFontProperties;
183 #endif 183 #endif
184 184
185 bool m_isHashTableDeletedValue; 185 bool m_isHashTableDeletedValue;
186 bool m_useSubpixelPositioning; 186 bool m_useSubpixelPositioning;
187 }; 187 };
188 188
189 } // WebCore 189 } // WebCore
190 190
191 #endif // FontPlatformDataChromiumWin_h 191 #endif // FontPlatformDataChromiumWin_h
OLDNEW
« no previous file with comments | « Source/platform/fonts/skia/SkiaFontWin.cpp ('k') | Source/platform/fonts/win/FontPlatformDataWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698