[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-cygwin
Subject:    [PATCH]src\kernel\qfontengine_win.cpp && src\kernel\qpainter_win.cpp
From:       "Bennix Xu" <bennixlili () yahoo ! com ! cn>
Date:       2004-10-19 13:50:58
Message-ID: 000601c4b5e2$ab248470$8cba640a () bennixfudan
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

Hello all,

in src\kernel\qfontengine_win.cpp
Line:449 int i
         should be changed to px; otherwize it will not pass complier for MS VC 6.0
change into

  for (int px=0;px<si->num_glyphs;px++)
            x += advances[px];
also in
src\kernel\qpainter_win.cpp
for the same reason
Line 2884: int i
   should be changed into:
for (int px=0;px<npoints;px++) {
                points[px].x = pa[index+px].x ();
                points[px].y = pa[index+px].y ();
        }

Best Regards,
Bennix Xu
FuDan University,Shanghai
P.R.China

[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hello all,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>in src\kernel\qfontengine_win.cpp</FONT></DIV>
<DIV><FONT size=2>Line:449 int i</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; should be 
changed to px; otherwize it will not pass complier for MS VC 6.0</FONT></DIV>
<DIV><FONT size=2>change into</FONT></DIV><FONT size=2>
<DIV><BR>&nbsp;&nbsp;for (int 
px=0;px&lt;si-&gt;num_glyphs;px++)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
x += advances[px];</DIV>
<DIV>also in</DIV>
<DIV>src\kernel\qpainter_win.cpp</DIV>
<DIV>for the same reason</DIV>
<DIV>Line 2884: int i</DIV>
<DIV>&nbsp;&nbsp; should be changed into:</DIV>
<DIV>for (int px=0;px&lt;npoints;px++) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
points[px].x = pa[index+px].x 
();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
points[px].y = pa[index+px].y ();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
}</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best Regards,</DIV>
<DIV>Bennix Xu</DIV>
<DIV>FuDan University,Shanghai</DIV>
<DIV>P.R.China</DIV>
<DIV></FONT>&nbsp;</DIV></BODY></HTML>


_______________________________________________
kde-cygwin mailing list
kde-cygwin@kde.org
https://mail.kde.org/mailman/listinfo/kde-cygwin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic