Issue 127248 - Italics in justified paragraph - spacing error
Summary: Italics in justified paragraph - spacing error
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: 4.1.3
Hardware: Mac OS X 10.8
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-13 11:46 UTC by Kjell Edvard Medhaug
Modified: 2017-02-23 06:51 UTC (History)
2 users (show)

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


Attachments
Screenshot displaying the issue (55.92 KB, image/jpeg)
2016-12-13 14:20 UTC, Kjell Edvard Medhaug
no flags Details
Sample (24.34 KB, application/vnd.oasis.opendocument.text)
2016-12-13 14:21 UTC, Kjell Edvard Medhaug
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Kjell Edvard Medhaug 2016-12-13 11:46:48 UTC
The issue is confirmed on Mac OS-X builds 4.1.2 and 4.1.3, on several OS-X versions (10.8 and above).

In a justified paragraph, when a word on a line is formatted with italics, the space preceding that word is set too small (seems to be reset to default space width for left or right aligned text). Text to the left of that word is adjusted to compensate for this "condensed space". Spaces are widened and words are stretched (creating too much space between letters in a word).

This happens regardless of font used. Also, indentation makes no difference.

Reported in user forum:
https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=86469
Comment 1 Kjell Edvard Medhaug 2016-12-13 14:20:13 UTC
Created attachment 85883 [details]
Screenshot displaying the issue

Note how the first word of 2nd paragraph is wide spaced.
Comment 2 Kjell Edvard Medhaug 2016-12-13 14:21:58 UTC
Created attachment 85884 [details]
Sample

Document where the issue appears. (Only determined to be visible in the Mac OS-X platform.)
Comment 3 oooforum (fr) 2016-12-13 17:03:48 UTC
This document use a specific font: Adobe Caslon Pro.
It costs € 178,50 on MyFonts.com

Please provide a sample file with a free font.
Comment 4 Kjell Edvard Medhaug 2016-12-13 17:35:07 UTC
(In reply to oooforum (fr) from comment #3)
>...
> Please provide a sample file with a free font.

The issue also appears when Writer substitutes the font (because it is missing on the system), and when the style is updated with an available font from the system (so no substitution occurs). 

In other words, the issue is not font dependent. It is, however, platform dependent. As far as I can tell, there is no such effect in Windows and Linux builds. It only shows in Writer on Mac OS-X. 

I myself received the file from someone else (who has given permission to post it here). The initial posting of this issue has a link to where the case spawned. I guess I should have created a document from scratch instead of saving a few seconds. Sorry! 

The issue also seems connected to other layout problems, like issue 100303 (which other users in that forum made me aware of). When the text is stretched, the insertion point (aka text cursor) seems to assume the spacing that should have been instead of following the character positions of stretched words.
Comment 5 Ryan 2017-02-23 06:51:09 UTC
Mac OS X 10.12.13
Open Office 4.1.3

Issue: Space immediately preceding an italicized character is much smaller than the other spaces on the page.

Test 1
1. Start OpenOffice
2. Select "Text Document" to open Writer
3. Type multiple sentences on the page. Example sentence: "The quick brown fox jumped over the lazy dog."
4. Set font of entire paragraph to size 13 Times New Roman
5. Set entire paragraph to "Align Justified" format
6. Select and italicize a word located in the middle of the page
7. Notice the spacing between the words preceding the italicized word change.
8. Notice the space between the italicized word and the word preceding it is very small in comparison to the other spaces on the page.


Test 2
1. Start OpenOffice
2. Select "Text Document" to open Writer
3. Type multiple sentences on the page. Example sentence: "The quick brown fox jumped over the lazy dog."
4. Keep font at default size 12 Times New Roman
5. Set entire paragraph to "Align Justified" format
6. Select the entire paragraph, and italicize it
7. Select one word located in the middle of the page and un-italicize it
8. Notice the changed spaces of the words surrounding the un-italicized word
9. Notice the space following the normally formatted word is very small compared to the rest of the spaces in the paragraph