mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 10:30:47 -05:00
012b169a73
Most of the patches updated weren't failing but there were a number of hunk offsets when applying so it tidies that up. The change in mtx_transform.0.patch has been moved to clutter-actor.c.0.patch.
25 lines
893 B
Diff
25 lines
893 B
Diff
diff --git a/clutter/pango/cogl-pango-render.c b/clutter/pango/cogl-pango-render.c
|
|
index d8f87fb..3e23309 100644
|
|
--- a/clutter/pango/cogl-pango-render.c
|
|
+++ b/clutter/pango/cogl-pango-render.c
|
|
@@ -102,8 +102,6 @@ cogl_pango_renderer_draw_glyph (CoglPangoRenderer *priv,
|
|
*(p++) = cache_value->tx2; *(p++) = cache_value->ty2;
|
|
}
|
|
|
|
-#define COGL_PANGO_UNIT_TO_FIXED(x) ((x) << (COGL_FIXED_Q - 10))
|
|
-
|
|
static void cogl_pango_renderer_finalize (GObject *object);
|
|
static void cogl_pango_renderer_draw_glyphs (PangoRenderer *renderer,
|
|
PangoFont *font,
|
|
@@ -439,8 +437,8 @@ cogl_pango_renderer_get_device_units (PangoRenderer *renderer,
|
|
}
|
|
else
|
|
{
|
|
- *xout = COGL_PANGO_UNIT_TO_FIXED (xin);
|
|
- *yout = COGL_PANGO_UNIT_TO_FIXED (yin);
|
|
+ *xout = PANGO_PIXELS (xin);
|
|
+ *yout = PANGO_PIXELS (yin);
|
|
}
|
|
}
|
|
|