Added progress messages while building font metrics.

This commit is contained in:
Malte Starostik 2002-10-17 01:22:56 +00:00 committed by Alexandre Julliard
parent 6fc8f9f399
commit f9a486b10b
1 changed files with 2 additions and 0 deletions

View File

@ -2036,6 +2036,7 @@ static int XFONT_BuildMetrics(char** x_pattern, int res, unsigned x_checksum, in
if (!(typeface = HeapAlloc(GetProcessHeap(), 0, strlen(x_pattern[i])+1))) break; if (!(typeface = HeapAlloc(GetProcessHeap(), 0, strlen(x_pattern[i])+1))) break;
strcpy( typeface, x_pattern[i] ); strcpy( typeface, x_pattern[i] );
if (i % 10 == 0) MESSAGE("Font metrics: %.1f%% done\n", 100.0 * i / x_count);
lfd = LFD_Parse(typeface); lfd = LFD_Parse(typeface);
if (!lfd) if (!lfd)
@ -2179,6 +2180,7 @@ static int XFONT_BuildMetrics(char** x_pattern, int res, unsigned x_checksum, in
fr = fr->next; fr = fr->next;
} }
MESSAGE("Font metrics: 100.0%% done\n");
return n_ff; return n_ff;
} }