Bug 101558 - print or preview charactor overlapped
Summary: print or preview charactor overlapped
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Printing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 00:03 PST by 范俊武
Modified: 2012-11-08 18:33 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!