Issue 107471 - justified alignment fails if snap to text grid is enabled (grid ignored, latin text overlaps)
Summary: justified alignment fails if snap to text grid is enabled (grid ignored, lati...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOO320m7
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 4.1.2
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: CJK, oooqa
Depends on:
Blocks:
 
Reported: 2009-12-06 12:25 UTC by foral
Modified: 2022-10-28 12:54 UTC (History)
3 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---
marcus: 4.1.2_release_blocker?


Attachments
sample file (10.92 KB, application/vnd.oasis.opendocument.text)
2009-12-06 12:26 UTC, foral
no flags Details
screen shot (24.68 KB, application/vnd.oasis.opendocument.graphics)
2009-12-06 12:27 UTC, foral
no flags Details
result of retest (60.91 KB, application/vnd.oasis.opendocument.graphics)
2009-12-07 17:06 UTC, foral
no flags Details
Proposed patch to allow alignment setting (647 bytes, patch)
2015-08-16 14:59 UTC, Mark Hung
marklh9: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description foral 2009-12-06 12:25:48 UTC
English lap over the Japanese text and two characters go over the Main work 
area when i checked snap to text grid on Paragraph->Alignment option"Justified/
Snap to text grid(if active)"

 How to reproduce this issue
 1. just open the sample file which i attached
Comment 1 foral 2009-12-06 12:26:32 UTC
Created attachment 66514 [details]
sample file
Comment 2 foral 2009-12-06 12:27:41 UTC
Created attachment 66515 [details]
screen shot
Comment 3 eric.savary 2009-12-07 13:17:33 UTC
Reassigned to SBA
Comment 4 foral 2009-12-07 17:06:56 UTC
Created attachment 66539 [details]
result of retest
Comment 5 foral 2009-12-07 17:18:08 UTC
I retested with OOo320m6 on Ubuntu 9.10.
Please have a look the result of retest file.

I can reproduce issue with "Snap to text grid(if active)" even if I use
difference type of fonts.
but proportional font show me difference result.

I tested with 
 Ume-P font and Ume font :http://sourceforge.jp/projects/ume-font/releases/
 IPA P Gothic and IPA Gothic:http://ossipedia.ipa.go.jp/ipafont/
Comment 6 lohmaier 2010-03-18 23:16:09 UTC
confirming.

Western text is not needed to reproduce - already bleeds out and ignores the grid 
when Japanese-only text is used.

Effect is highly dependent on the zoom-factor (to my surprise also in page-
preview, although to a lesser extent)

So my guess is some serious rounding errors are involved as well.
Comment 7 Mark Hung 2015-08-16 14:59:12 UTC
Created attachment 84882 [details]
Proposed patch to allow alignment setting
Comment 8 Marcus 2015-08-17 08:15:39 UTC
@Mark:
Thanks a lot for the patch. At least from the diff it could be a good candidate for the next release 4.1.2.
Comment 9 Andrea Pescetti 2015-09-25 22:36:59 UTC
This is now committed to trunk for testing; but, especially as it seems that the code had been deliberately modified earlier to disable this functionality, it seems unsafe to consider it for OpenOffice 4.1.2. It is on trunk, though, so native speakers will be able to test this for future releases.
Comment 10 SVN Robot 2015-09-25 22:41:15 UTC
"pescetti" committed SVN revision 1705365 into trunk:
#i107471# Fix alignment settings in CJK text.