]> git.eshelyaron.com Git - emacs.git/commitdiff
(compute_metrics): Don't mess with glyph_idx setting here.
authorJason Rumney <jasonr@gnu.org>
Sat, 2 Aug 2008 21:26:08 +0000 (21:26 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 2 Aug 2008 21:26:08 +0000 (21:26 +0000)
src/ChangeLog
src/w32font.c

index cd355044499eeda8847bd5c94b499b480a70eb4a..c74d93b9c64a86a3a334d6e39f527f9bb25485af 100644 (file)
@@ -1,3 +1,7 @@
+2008-08-02  Jason Rumney  <jasonr@gnu.org>
+
+        * w32font.c (compute_metrics): Don't mess with glyph_idx setting here.
+
 2008-08-02  Eli Zaretskii  <eliz@gnu.org>
 
        * alloc.c (NSTATICS): Bump to 0x640.
index 4a2812560ee896b01ee7265993f836497417059e..74c74ee0750ed9822efe20ddec197df52e32c845 100644 (file)
@@ -2265,14 +2265,6 @@ compute_metrics (dc, w32_font, code, metrics)
       metrics->width = gm.gmCellIncX;
       metrics->status = W32METRIC_SUCCESS;
     }
-  else if (w32_font->glyph_idx)
-    {
-      /* Can't use glyph indexes after all.
-        Avoid it in future, and clear any metrics that were based on
-        glyph indexes.  */
-      w32_font->glyph_idx = 0;
-      clear_cached_metrics (w32_font);
-    }
   else
     metrics->status = W32METRIC_FAIL;
 }