Progress-info for XFONT_BuildMetrics()

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


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: 585 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20021016/85c240d1/x11drv-font-progress.bin


More information about the wine-patches mailing list