diff options
author | Jason Rumney <jasonr@gnu.org> | 2009-04-25 06:11:46 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2009-04-25 06:11:46 +0000 |
commit | b7053016e44dbeef02915ee3392079fd7846be17 (patch) | |
tree | 4e8aa0015b942aea8544dbf9617854428b9098d0 /src/w32font.c | |
parent | ddc1fc75dffce210387d7c067433020035a28cb2 (diff) | |
download | emacs-b7053016e44dbeef02915ee3392079fd7846be17.tar.gz |
(clear_cached_metrics): Remove, unused since 2008-08-02.
Diffstat (limited to 'src/w32font.c')
-rw-r--r-- | src/w32font.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/w32font.c b/src/w32font.c index d1ff969747b..7d9db3a6cd6 100644 --- a/src/w32font.c +++ b/src/w32font.c @@ -114,7 +114,6 @@ static Lisp_Object font_supported_scripts P_ ((FONTSIGNATURE *)); static int w32font_full_name P_ ((LOGFONT *, Lisp_Object, int, char *, int)); static void compute_metrics P_ ((HDC, struct w32font_info *, unsigned int, struct w32_metric_cache *)); -static void clear_cached_metrics P_ ((struct w32font_info *)); static Lisp_Object w32_registry P_ ((LONG, DWORD)); @@ -2390,19 +2389,6 @@ compute_metrics (dc, w32_font, code, metrics) metrics->status = W32METRIC_FAIL; } -static void -clear_cached_metrics (w32_font) - struct w32font_info *w32_font; -{ - int i; - for (i = 0; i < w32_font->n_cache_blocks; i++) - { - if (w32_font->cached_metrics[i]) - bzero (w32_font->cached_metrics[i], - CACHE_BLOCKSIZE * sizeof (struct font_metrics)); - } -} - DEFUN ("x-select-font", Fx_select_font, Sx_select_font, 0, 2, 0, doc: /* Read a font name using a W32 font selection dialog. Return fontconfig style font string corresponding to the selection. |