mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 00:37:32 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
31
gfx/cairo/win32-canvas-glyph-position.patch
Normal file
31
gfx/cairo/win32-canvas-glyph-position.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
diff --git a/gfx/cairo/cairo/src/cairo-win32-font.c b/gfx/cairo/cairo/src/cairo-win32-font.c
|
||||
--- a/gfx/cairo/cairo/src/cairo-win32-font.c
|
||||
+++ b/gfx/cairo/cairo/src/cairo-win32-font.c
|
||||
@@ -1182,22 +1182,22 @@ _add_glyph (cairo_glyph_state_t *state,
|
||||
if (state->glyphs.num_elements > 0) {
|
||||
int dx;
|
||||
|
||||
if (logical_y != state->last_y) {
|
||||
status = _flush_glyphs (state);
|
||||
if (status)
|
||||
return status;
|
||||
state->start_x = logical_x;
|
||||
+ } else {
|
||||
+ dx = logical_x - state->last_x;
|
||||
+ status = _cairo_array_append (&state->dx, &dx);
|
||||
+ if (status)
|
||||
+ return status;
|
||||
}
|
||||
-
|
||||
- dx = logical_x - state->last_x;
|
||||
- status = _cairo_array_append (&state->dx, &dx);
|
||||
- if (status)
|
||||
- return status;
|
||||
} else {
|
||||
state->start_x = logical_x;
|
||||
}
|
||||
|
||||
state->last_x = logical_x;
|
||||
state->last_y = logical_y;
|
||||
|
||||
status = _cairo_array_append (&state->glyphs, &glyph_index);
|
||||
Loading…
Add table
Add a link
Reference in a new issue