Index: clutter/pango/pangoclutter-glyph-cache.c
===================================================================
--- clutter/pango/pangoclutter-glyph-cache.c	(revision 3353)
+++ clutter/pango/pangoclutter-glyph-cache.c	(working copy)
@@ -63,6 +63,8 @@
 {
   PangoFont  *font;
   PangoGlyph  glyph;
+  gboolean    outline;
+  gfloat      outline_width;
 };
 
 /* Represents one texture that will be used to store glyphs. The
@@ -147,7 +149,9 @@
      the key holds a reference to the font so it is not possible that
      a different font will have the same memory address */
   return key_a->font == key_b->font
-    && key_a->glyph == key_b->glyph;
+    && key_a->glyph == key_b->glyph
+    && key_a->outline == key_b->outline
+    && key_a->outline_width == key_b->outline_width;
 }
 
 static void
@@ -222,12 +226,16 @@
 PangoClutterGlyphCacheValue *
 pango_clutter_glyph_cache_lookup (PangoClutterGlyphCache *cache,
 				  PangoFont              *font,
-				  PangoGlyph              glyph)
+				  PangoGlyph              glyph,
+				  gboolean                outline,
+				  gfloat                  outline_width)
 {
   PangoClutterGlyphCacheKey key;
 
   key.font = font;
   key.glyph = glyph;
+  key.outline = outline;
+  key.outline_width = outline_width;
 
   return (PangoClutterGlyphCacheValue *)
     g_hash_table_lookup (cache->hash_table, &key);
@@ -242,7 +250,9 @@
 			       int                     height,
 			       int                     stride,
 			       int                     draw_x,
-			       int                     draw_y)
+			       int                     draw_y,
+			       gboolean                outline,
+			       gfloat                  outline_width)
 {
   int                          band_height;
   PangoClutterGlyphCacheBand  *band;
@@ -341,6 +351,8 @@
   key = g_slice_new (PangoClutterGlyphCacheKey);
   key->font = g_object_ref (font);
   key->glyph = glyph;
+  key->outline = outline;
+  key->outline_width = outline_width;
 
   value = g_slice_new (PangoClutterGlyphCacheValue);
   value->texture = cogl_texture_ref (band->texture);
