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

Unified Diff: skia/ext/vector_platform_device_emf_win.h

Issue 11363008: Fix for 128506: Random Chinese/Japanese characters are missing in documents printed via the syst... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 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 | « content/renderer/renderer_main_platform_delegate_win.cc ('k') | skia/ext/vector_platform_device_emf_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/vector_platform_device_emf_win.h
===================================================================
--- skia/ext/vector_platform_device_emf_win.h (revision 167921)
+++ skia/ext/vector_platform_device_emf_win.h (working copy)
@@ -127,6 +127,18 @@
DISALLOW_COPY_AND_ASSIGN(VectorPlatformDeviceEmf);
};
+typedef void (*SkiaEnsureTypefaceCharactersAccessible)
+ (const LOGFONT& font, const wchar_t* text, unsigned int text_length);
+
+void SetSkiaEnsureTypefaceCharactersAccessible(
Lei Zhang 2012/11/17 02:33:28 This needs to be exposed with SK_API.
edisonn 2012/11/17 22:16:40 Done.
+ SkiaEnsureTypefaceCharactersAccessible func);
+
+static SkiaEnsureTypefaceCharactersAccessible
Lei Zhang 2012/11/17 02:33:28 This can go in the .cc file.
edisonn 2012/11/17 22:16:40 Done.
+ g_skia_ensure_typeface_characters_accessible = NULL;
+
+void SetSkiaEnsureTypefaceCharactersAccessible(
Lei Zhang 2012/11/17 02:33:28 You accidentally defined this 2X.
edisonn 2012/11/17 22:16:40 Done.
+ SkiaEnsureTypefaceCharactersAccessible func);
+
} // namespace skia
#endif // SKIA_EXT_VECTOR_PLATFORM_DEVICE_EMF_WIN_H_
« no previous file with comments | « content/renderer/renderer_main_platform_delegate_win.cc ('k') | skia/ext/vector_platform_device_emf_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698