mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:08:19 +00:00
Added progress messages while building font metrics.
This commit is contained in:
parent
6fc8f9f399
commit
f9a486b10b
|
@ -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;
|
||||
strcpy( typeface, x_pattern[i] );
|
||||
if (i % 10 == 0) MESSAGE("Font metrics: %.1f%% done\n", 100.0 * i / x_count);
|
||||
|
||||
lfd = LFD_Parse(typeface);
|
||||
if (!lfd)
|
||||
|
@ -2179,6 +2180,7 @@ static int XFONT_BuildMetrics(char** x_pattern, int res, unsigned x_checksum, in
|
|||
fr = fr->next;
|
||||
}
|
||||
|
||||
MESSAGE("Font metrics: 100.0%% done\n");
|
||||
return n_ff;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue