Progress-info for XFONT_BuildMetrics()

Malte Starostik malte at kde.org
Wed Oct 16 04:36:24 CDT 2002


Sorry, this one supersedes the first attempt. There was a final 100.0% message 
missing.
-Malte

On Wednesday 16 October 2002 11:26, Malte Starostik wrote:
> Hi,
>
> reaktivate now sets up its own WINEPREFIX to avoid problems with different
> or non-existing wine configurations. On first run, I currently display a
> message "Building font database. Please wait...". The attached patch allows
> for proper progress info during this step. IMHO it's generally useful both
> for commandline use as well as any possible GUI frontend that runs wine the
> first time.
>
> Regards,
> -Malte

-- 
#!/usr/bin/perl
$t='char|short|int|long|void';%m=qw(U "unsigned\040$3" W "w$3_t");while(<>)
{/#define UNICODE/and$m{T}=$m{W};s/\b(LP)?([UWT])?($t)\b/lc(eval$m{$2}||$3)
.($1?'*':'')/gei;print;}print"/* Cleaned by Malte's WinAPI sanitizer */\n";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x11drv-font-progress.diff
Type: text/x-diff
Size: 747 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20021016/e0f34d2c/x11drv-font-progress.bin


More information about the wine-devel mailing list