[Solved] Full justification word spacing issues
[Solved] Full justification word spacing issues
Hi all
I have had this problem for ages and I've always suffered through it, but now I am finally posting about it -- in part to see if others are experiencing the same thing (since misery loves company), but with the hope that someone has a solution.
When I format a document to justify both right and left, the spacing between words is **usually** consistent within a line. In cases where a hanging word can make the gaps too long, I can add a hyphen in the hanging word and that usually soilves the issue.
Yet there are three cases I have seen where the line spacing all goes to $^*%
1) if there is a period in the sentence. The spacing after the period is often condensed relative to the spacing between other words
2) if part of the sentence is bolded. The spacing before or after the bolded words is different than the spacing between the non bolded words
3) some oddities that defy explanation. Where the spacing within words is sometimes screwed up.
An example of both 1 & 2 is the attachment called 1&2.png inserted here.
Note that the space between the words "the" and "S." is expanded-- I believe that has to do with the period after "S" (also could be the italics which can mess up spacing too). Note also that the spacing between "a" and "pilot" is severly contracted.
You'll have to take my word for it that there truly is one spacing between every word here, and that all are the same font base.
An example of 3 is in the attachment called 3.png inserted here
Look at the first word ("is") in the sentence with the odd space between the 'i' and the 's'! What is going on there?
To "solve" this problem I need to do things like (in this latter case) put 2 spaces after the word is and make those two spaces 6 point. This for whatever reason tricks the justification algorithm into spacing the words properly and it removes that space between the 'i' and the 's'.
If this is what it takes to solve the issue, so be it, but I feel like maybe there's a setting I could be adjusting in the character menu or something that will solve these spacing problems universally.
Thanks in advice for any help (or commiserations)!
best
bug
I have had this problem for ages and I've always suffered through it, but now I am finally posting about it -- in part to see if others are experiencing the same thing (since misery loves company), but with the hope that someone has a solution.
When I format a document to justify both right and left, the spacing between words is **usually** consistent within a line. In cases where a hanging word can make the gaps too long, I can add a hyphen in the hanging word and that usually soilves the issue.
Yet there are three cases I have seen where the line spacing all goes to $^*%
1) if there is a period in the sentence. The spacing after the period is often condensed relative to the spacing between other words
2) if part of the sentence is bolded. The spacing before or after the bolded words is different than the spacing between the non bolded words
3) some oddities that defy explanation. Where the spacing within words is sometimes screwed up.
An example of both 1 & 2 is the attachment called 1&2.png inserted here.
Note that the space between the words "the" and "S." is expanded-- I believe that has to do with the period after "S" (also could be the italics which can mess up spacing too). Note also that the spacing between "a" and "pilot" is severly contracted.
You'll have to take my word for it that there truly is one spacing between every word here, and that all are the same font base.
An example of 3 is in the attachment called 3.png inserted here
Look at the first word ("is") in the sentence with the odd space between the 'i' and the 's'! What is going on there?
To "solve" this problem I need to do things like (in this latter case) put 2 spaces after the word is and make those two spaces 6 point. This for whatever reason tricks the justification algorithm into spacing the words properly and it removes that space between the 'i' and the 's'.
If this is what it takes to solve the issue, so be it, but I feel like maybe there's a setting I could be adjusting in the character menu or something that will solve these spacing problems universally.
Thanks in advice for any help (or commiserations)!
best
bug
Last edited by MrProgrammer on Tue Feb 27, 2024 2:25 am, edited 1 time in total.
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
Open Office 4.1.15 with MacOS 10.14.6
- Hagar Delest
- Moderator
- Posts: 32670
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: full justification word spacing issues
Can you upload a sample file (the .odt)? Just the excerpt showing the issue.
Are you sure there is no unbreakable space?
Are you sure there is no unbreakable space?
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: Full justification word spacing issues
Sure but first I just wanna show that it's actually worse than I thought
That first case was one where I already instituted that "fix" of inserting two 6 point spaces in place of a 11 point space, before the "S."
Here's what it looks like when it is one space between each word, all 11 point
yikes, right?
That first case was one where I already instituted that "fix" of inserting two 6 point spaces in place of a 11 point space, before the "S."
Here's what it looks like when it is one space between each word, all 11 point
yikes, right?
Open Office 4.1.15 with MacOS 10.14.6
Re: Full justification word spacing issues
here's the sample odt
- Attachments
-
- sample.odt
- (11.92 KiB) Downloaded 42 times
Open Office 4.1.15 with MacOS 10.14.6
Re: Full justification word spacing issues
I have a memory of some strange happenings in detailed (character-level) formatting using Mac. The attached screen-shot shows what I get using Times New Roman 12 pt on OpenOffice 4.1.15 running on Xubuntu 22.04.4 LTS.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: Full justification word spacing issues
Here is a screenshot of your actual file on Xubuntu etc as above. I have added the extra line and some nonsense as padding to fill the lines.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: Full justification word spacing issues
Thanks Rory
Interesting, so you suspect this is a Mac OS thing?
And speaking of which I just noticed that my footer needs to be updated! I am now running OpenOffice 4.1.15 on Mac OS 10.14.6
best
J
Interesting, so you suspect this is a Mac OS thing?
And speaking of which I just noticed that my footer needs to be updated! I am now running OpenOffice 4.1.15 on Mac OS 10.14.6
best
J
Open Office 4.1.15 with MacOS 10.14.6
- MrProgrammer
- Moderator
- Posts: 4909
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Full justification word spacing issues
I find the spacing to be much better if I select all the text in your document and apply Format → Default Formatting, then create character styles for Bold and for Bold Italic and apply them to the relevant portions of the paragraph. This was created using AOO 4.1.7 Build 9800 on MacOS 13.6.3. I did not need to fix anything by inserting specially-fonted spaces. I have found that many problems vanish when using styles instead of Format → Paragraph or Format → Character.bugjah wrote: ↑Mon Feb 26, 2024 10:05 pm Yet there are three cases I have seen where the line spacing all goes to $^*%
1) if there is a period in the sentence. The spacing after the period is often condensed relative to the spacing between other words
2) if part of the sentence is bolded. The spacing before or after the bolded words is different than the spacing between the non bolded words
3) some oddities that defy explanation. Where the spacing within words is sometimes screwed up.
Fix your forum signature in User Control Panel → Profile → Edit Signature.
If this solved your problem please go to your first post use the Edit ☐ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
Re: Full justification word spacing issues
I would follow MrProgrammer's comments, as he is an experienced Mac user.
I got the bold in my first example by applying Character Style Strong Emphasis. I applied Character Style Quotation to get the Italic, and selected the text and applied Bold (Direct Formatting - if I were working on such a document, I would modify or define a Character Style to give Bold and Italic, and make another Character Style to give Small Caps, instead of applying that as a Direct Formatting).
I got the bold in my first example by applying Character Style Strong Emphasis. I applied Character Style Quotation to get the Italic, and selected the text and applied Bold (Direct Formatting - if I were working on such a document, I would modify or define a Character Style to give Bold and Italic, and make another Character Style to give Small Caps, instead of applying that as a Direct Formatting).
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
- Hagar Delest
- Moderator
- Posts: 32670
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Full justification word spacing issues
Well, I see nothing wrong with LO on my Xubuntu machine either:
If you export to PDF, is it the same? It may be a glitch merely in the rendering.LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: Full justification word spacing issues
Thanks everyone for your comments and suggestions
I really like the approach of applying formatting with character styles. I will investigate that approach which sounds like it could be the long term solution I'm looking for.
Just to respond to some of the other comments:
1) yes the PDF is messed up just as badly as the screen rendering within open office
2) I have fixed my signature, thank you!
I am adding a green check mark which I think (?) means solved issue!
I really like the approach of applying formatting with character styles. I will investigate that approach which sounds like it could be the long term solution I'm looking for.
Just to respond to some of the other comments:
1) yes the PDF is messed up just as badly as the screen rendering within open office
2) I have fixed my signature, thank you!
I am adding a green check mark which I think (?) means solved issue!
Edit: You were close. The check mark and the [Solved] tag go in your initial post for the topic. I updated it for you -- MrProgrammer, forum moderator |
Open Office 4.1.15 with MacOS 10.14.6
- Hagar Delest
- Moderator
- Posts: 32670
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: [Solved] Full justification word spacing issues
Still, it seems strange to me.
Was the sample file the exact file used for your first screenshots?
If you still have such glitches, if you select the text and hit Ctrl+M to remove the direct formatting and reapply the formatting you want, does the problem occur again? Could it be a kerning parameter applied one way or another in some places?
Was the sample file the exact file used for your first screenshots?
If you still have such glitches, if you select the text and hit Ctrl+M to remove the direct formatting and reapply the formatting you want, does the problem occur again? Could it be a kerning parameter applied one way or another in some places?
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10