зеркало из https://github.com/mozilla/gecko-dev.git
b=383960: Upgrade cairo to 1.4.10: moz cairo: win32-logical-font-scale.patch
This commit is contained in:
Родитель
5ceb30c90a
Коммит
c47b2401e6
|
@ -26,4 +26,6 @@ win32-scaled-font-size.patch: Add cairo_win32_font_face_create_for_logfontw_hfon
|
|||
allow win32 scaled_fonts to rescale themselves properly to the required CTM
|
||||
and only use the font_face's hfont if we're sure it's appropriate
|
||||
|
||||
win32-logical-font-scale.patch: set CAIRO_WIN32_LOGICAL_FONT_SCALE to 1
|
||||
|
||||
nonfatal-assertions.patch: Make assertions non-fatal
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#define SB_NONE 0
|
||||
#endif
|
||||
|
||||
#define WIN32_FONT_LOGICAL_SCALE 32
|
||||
#define WIN32_FONT_LOGICAL_SCALE 1
|
||||
|
||||
typedef struct _cairo_win32_surface {
|
||||
cairo_surface_t base;
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
diff -r e10a8066a62c gfx/cairo/cairo/src/cairo-win32-private.h
|
||||
--- a/gfx/cairo/cairo/src/cairo-win32-private.h Fri Jun 08 17:39:38 2007 -0700
|
||||
+++ b/gfx/cairo/cairo/src/cairo-win32-private.h Fri Jun 29 09:14:35 2007 +0200
|
||||
@@ -46,7 +46,7 @@
|
||||
#define SB_NONE 0
|
||||
#endif
|
||||
|
||||
-#define WIN32_FONT_LOGICAL_SCALE 32
|
||||
+#define WIN32_FONT_LOGICAL_SCALE 1
|
||||
|
||||
typedef struct _cairo_win32_surface {
|
||||
cairo_surface_t base;
|
Загрузка…
Ссылка в новой задаче