Apache OpenOffice (AOO) Bugzilla – Issue 79737
japanese input: incorrect spacing with full stop/period
Last modified: 2009-07-20 15:20:57 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.
Created attachment 46873 [details] before hitting "Enter" on last line
Created attachment 46874 [details] after, and some different fonts
keyword
@ 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?
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.
Created attachment 46902 [details] Patch to prevent hanging punctuations
But if the patch is applied, justification of a paragraph becomes corrupted. So it needs some more work on this area.
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.
Created attachment 46903 [details] corrected patch
I tested the second patch from this issue 79793, and then together with the second patch from issue 79676. Both cases work fine, thanks.
The second patch has been committed in aquavcl02.
verified in aquavcl02
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