Issue 42828

Summary: When 'show Nonprinting characters', space after Thai text cause the text to be drawn twice with different font
Product: Internationalization Reporter: samphan
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: trivial    
Priority: P3 CC: arthit, hin.stone, issues, jjc, markpeak
Version: 680m74Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation on: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 41707, 92549    
Attachments:
Description Flags
Text document to show the problem
none
Screenshot of the problem
none
Screenshot from OOo 1.9.79 on Windows - no problem found none

Description samphan 2005-02-15 12:54:24 UTC
1) On Windows, (this bug doesn't happen on Linux)
2) for Thai text using some Windows Thai fonts (e.g. EurasiaUPC, FreesiaUPC),
3) when enable View->Nonprinting characters, 
4) if there's some space after/in the Thai text, 
=>	then the text will be drawn twice with different font (looks like Tahoma?).
See the attached screenshot.

Test case :-
1) Load the attached document. You'll see that Thai texts in the line that use
EurasiaUPC and FreesiaUPC are drawn twice. It is over-striked with the same text
but using different font. The English texts (font name) in the middle of those
lines don't have the problem.

2) Try disable View->Nonprinting characters. The problems will disappear.

3) Enable View->Nonprinting characters again. Try deleting the space (middle
dot) after/in a Thai text. The modified text will not have the problem.
Comment 1 samphan 2005-02-15 12:56:22 UTC
Created attachment 22649 [details]
Text document to show the problem
Comment 2 samphan 2005-02-15 12:57:11 UTC
Created attachment 22650 [details]
Screenshot of the problem
Comment 3 arthit 2005-02-18 22:55:03 UTC
Created attachment 22804 [details]
Screenshot from OOo 1.9.79 on Windows - no problem found
Comment 4 arthit 2005-02-18 22:57:15 UTC
Tested the provided testcase with OOo 1.9.79 on Windows XP (with Service Pack 2),
no problem found.

Comment 5 jjc 2005-03-01 09:20:16 UTC
I *can* reproduce with m79 on Windows XP (Home) SP2.

It seems to be font dependent:

- The problem does not occur with Tahoma, Microsoft Sans Serif, Angsana UPC/New,
Browalia UPC/New, Cordia UPC/New.

- The problem does occur with Dillenia UPC, Eucrosia UPC, Freesia UPC, Iris UPC,
Jasmine UPC, Kodchiang UPC, Lily UPC.

I am completely mystified as to why Art doesn't see the problem, when I do with
exactly the same configuration. I have my locale set to Thai (Control
Panel|Regional and Language Options|Regional Options|Standards and Formats) and
my "Language for non-Unicode programs" (Control Panel|Regional and Language
Options|Regional Options|Advanced) also set to Thai.
Comment 6 arthit 2005-03-20 13:58:28 UTC
Thanks James.

*font dependent*

Confirmed.
Comment 7 frank.meies 2005-04-04 13:28:13 UTC
FME: Could anyone please check this in a current version? I use m87 and
everything looks fine.
Comment 8 jjc 2005-04-22 05:16:33 UTC
I just tried it with m95 and everything looks fine.

samphan, can you give it a try?
Comment 9 samphan 2005-04-22 06:12:42 UTC
James - I still found the problem in m95 both in the ShowNonPrinting.odt
document and by testing manually.
Comment 10 jjc 2005-04-24 11:21:05 UTC
I found that

1. If I do a fresh install of Windows XP SP2, then install m95, I do get the
problem.

2. If I do a fresh install of Windows XP SP2, then install MS Office 2003, and
then install m95, I do not get the problem.

The Eucrosia and Freesia fonts are the same in 2 as in 1, so I guess MSO is
installing an updated DLL that fixes the problem.
Comment 11 Martin Hollmichel 2005-05-22 07:32:29 UTC
set target to OOo Later.
Comment 12 falko.tesch 2005-10-20 17:47:47 UTC
FT: Please verify and fix if applicable, thx.
Comment 13 arthit 2008-04-23 08:01:46 UTC
any Windows user can confirmed if this still occurs in the latest OOo ?