Issue 79737 - japanese input: incorrect spacing with full stop/period
Summary: japanese input: incorrect spacing with full stop/period
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: 680m221
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: ericb
QA Contact: issues@porting
URL:
Keywords: aqua
Depends on:
Blocks:
 
Reported: 2007-07-18 09:16 UTC by sparcmoz
Modified: 2009-07-20 15:20 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
before hitting "Enter" on last line (69.20 KB, text/plain)
2007-07-18 09:17 UTC, sparcmoz
no flags Details
after, and some different fonts (73.47 KB, image/png)
2007-07-18 09:19 UTC, sparcmoz
no flags Details
Patch to prevent hanging punctuations (1.26 KB, text/plain)
2007-07-19 04:13 UTC, ekato
no flags Details
corrected patch (1.35 KB, text/plain)
2007-07-19 04:29 UTC, ekato
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2007-07-18 09:16:06 UTC
Mac/Intel m221 with current aquavcl02, no other patches.
This is en-US build, preferences are unchanged in a fresh installation.

See the attached screenshots, when a period/full stop is entered then the
spacing between characters is increased. Tested with Osaka and Hiragino fonts,
kana and kanji.
Comment 1 sparcmoz 2007-07-18 09:17:37 UTC
Created attachment 46873 [details]
before hitting "Enter" on last line
Comment 2 sparcmoz 2007-07-18 09:19:34 UTC
Created attachment 46874 [details]
after, and some different fonts
Comment 3 sparcmoz 2007-07-18 09:20:04 UTC
keyword
Comment 4 ekato 2007-07-19 02:11:24 UTC
@ spacmoz:
In my environment (m221 + aquavcl02, en-US build), this problem happens only
with following fonts.

 - Hiragino Kaku Gothic Pro W3
 - Hiragino Kaku Gothic Pro W6
 - Hiragino Maru Gothic Pro W4
 - Hiragino Mincho Pro W3
 - Hiragino Mincho Pro W6

And doesn't happen with these fonts.
 - Osaka
 - Hiragino Kaku Gothic Std W8
 - MS Gothic
 - MS PGothic
 - MS Mincho
 - MS PMincho

I'm totally not sure what is going on.  @ hdu: Do you have any idea about the
punctuation mark problem with Hiragino fonts?
Comment 5 ekato 2007-07-19 04:12:26 UTC
By reading ATSUI documents, I found it is related to the text layout of
justification and hanging punctuations.  The problem may be fixed with the
attached patch.
Comment 6 ekato 2007-07-19 04:13:21 UTC
Created attachment 46902 [details]
Patch to prevent hanging punctuations
Comment 7 ekato 2007-07-19 04:19:15 UTC
But if the patch is applied, justification of a paragraph becomes corrupted.  So
it needs some more work on this area.
Comment 8 ekato 2007-07-19 04:27:50 UTC
Oops, the previous comment about corruption of justification is just caused from
my stupid bug...  I forgot to adjust number of tag in ATSUSetLayoutControls().

So here is the correct patch.  It should work fine.
Comment 9 ekato 2007-07-19 04:29:45 UTC
Created attachment 46903 [details]
corrected patch
Comment 10 sparcmoz 2007-07-19 12:55:47 UTC
I tested the second patch from this issue 79793, and then together with the
second patch from issue 79676. Both cases work fine, thanks.
Comment 11 ekato 2007-07-19 15:02:06 UTC
The second patch has been committed in aquavcl02.
Comment 12 sparcmoz 2007-07-21 01:28:46 UTC
verified in aquavcl02
Comment 13 thorsten.ziehm 2009-07-20 15:20:57 UTC
This issue is closed automatically and wasn't rechecked in a current version of
OOo. The fixed issue should be integrated in OOo since more than half a year. If
you think this issue isn't fixed in a current version (OOo 3.1), please reopen
it and change the field 'Target Milestone' accordingly.

If you want to download a current version of OOo =>
http://download.openoffice.org/index.html
If you want to know more about the handling of fixed/verified issues =>
http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues