From 26f8c13f7bab2318687e569e2d08fd72e595f150 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 28 Nov 2002 21:10:55 +0000 Subject: [PATCH] Don't call SetFractEnable every time we draw some text, since SetFractEnable unconditionally flushes the Font Manager's width cache, and the default is fine for us anyway. This more or less doubles redraw speed, which is nice, but still not really fast enough. [originally from svn r2263] --- mac/macterm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mac/macterm.c b/mac/macterm.c index cde046ff..9e51fd1c 100644 --- a/mac/macterm.c +++ b/mac/macterm.c @@ -1,4 +1,4 @@ -/* $Id: macterm.c,v 1.14 2002/11/28 21:02:07 ben Exp $ */ +/* $Id: macterm.c,v 1.15 2002/11/28 21:10:55 ben Exp $ */ /* * Copyright (c) 1999 Simon Tatham * Copyright (c) 1999, 2002 Ben Harris @@ -843,7 +843,6 @@ void do_text(Context ctx, int x, int y, char *text, int len, TextFace(style); TextSize(s->cfg.fontheight); TextMode(srcOr); - SetFractEnable(FALSE); /* We want characters on pixel boundaries */ if (HAVE_COLOR_QD()) if (style & bold) { SpaceExtra(s->font_boldadjust << 16);