Bug 101558

Summary: print or preview charactor overlapped
Product: WebKit Reporter: 范俊武 <awfan.cn>
Component: PrintingAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: ap, mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description 范俊武 2012-11-08 00:03:23 PST
if chinese and english charators 
the print preview is overlapped.


in webkit' src code has a global var s_codePath.


webkit\Source\WebCore\platform\graphics\font.cpp


i changed s_codePath = 2 ,it is ok
Comment 1 Alexey Proskuryakov 2012-11-08 11:25:28 PST
Can you please explain the steps to reproduce the issue? Which web site should I try to print to see bad print preview?
Comment 2 范俊武 2012-11-08 18:00:03 PST
(In reply to comment #1)
> Can you please explain the steps to reproduce the issue? Which web site should I try to print to see bad print preview?


demo can reproduce this appearance:

http://awfan.cn/demo/bug/qt/qtwebkit-overlapped-print.zip

use visual studio 2010.
Comment 3 范俊武 2012-11-08 18:09:02 PST
(In reply to comment #1)
> Can you please explain the steps to reproduce the issue? Which web site should I try to print to see bad print preview?


demo can reproduce this appearance:

http://awfan.cn/demo/bug/qt/qtwebkit-overlapped-print.zip

use visual studio 2010.
Comment 4 范俊武 2012-11-08 18:21:15 PST
(In reply to comment #1)
> Can you please explain the steps to reproduce the issue? Which web site should I try to print to see bad print preview?

in Font::CodePath Font::codePath(const TextRun& run) const function 


 is not set s_codePath by right value when charactors has chinese charactor!