[Issue] Unicode character causes display distortion

Discuss the word processor
Locked
Peter5004
Posts: 23
Joined: Thu Oct 19, 2023 6:17 pm

[Issue] Unicode character causes display distortion

Post by Peter5004 »

I first brought this up in a thread some months ago (now locked) but didn't get a full resolution. But now I have more information which may enable someone else to replicate the problem. I'm not seeking a solution urgently but I'd like to draw attention to this.
 Edit: Peter5004 refers to Justified text extends beyond margins 

Appearance: justified text display corrupted and spills over margins:
Image

Criteria:
  • Text contains one or more 'unusual' characters. In this case one of the alternative asterisks ∗ (Unicode U+2217) which is seen surrounding the first "quick"; the problem also occurs with U+2216 but not with U+2215.
  • Main body of text is 18 point or larger, but some text at different size. In the example the extra line feed between paragraphs 2 and 3 is 16 point.
  • Occurs with both Times New Roman and Arial - but may happen with other font types.
  • OO version 4.1.15 (I understand this is latest version). Windows 10 Home version 2009.
I should explain that I first saw the problem in text copied-and-pasted from elsewhere. I don't use that particular Unicode asterisk myself.
The file from which the above screen grab is taken may be found here.

 Edit: Attached file to topic, since web link may break 
-- MrProgrammer, forum moderator . 
test text 03.odt
(11.7 KiB) Downloaded 4 times
Last edited by MrProgrammer on Wed Jul 30, 2025 6:12 pm, edited 2 times in total.
Reason: Tagged as [Issue] 128613 High-numbered Unicode character causes display distortion
Peter
Open Office 4.1.15 on Windows 10
JeJe
Volunteer
Posts: 3089
Joined: Wed Mar 09, 2016 2:40 pm

Re: Text with certain unicode characters appears garbled

Post by JeJe »

I can see the problems in OO, not fixed by updating, fixed by removing the asterisks and saving and reloading.

In LibreOffice the file seems to be okay,
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
JeJe
Volunteer
Posts: 3089
Joined: Wed Mar 09, 2016 2:40 pm

Re: Text with certain unicode characters appears garbled

Post by JeJe »

There looks to be a fiddly workaround in OO of putting the character in a drawing textbox.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
User avatar
RoryOF
Moderator
Posts: 35095
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Text with certain unicode characters appears garbled

Post by RoryOF »

File was OK for me using Xubuntu 22.04.5 LTS. and AOO 4.1.15. It might be a graphics driver problem.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
User avatar
MrProgrammer
Moderator
Posts: 5322
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Text with certain unicode characters appears garbled

Post by MrProgrammer »

Peter5004 wrote: Fri Jul 11, 2025 12:15 pm Appearance: justified text display corrupted and spills over margins:
Displayed correctly with OpenOffice 4.1.7 on MacOS 13.7.6. Perhaps it is a Windows-only problem.
202507110815.gif
202507110815.gif (81.49 KiB) Viewed 1497 times
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.6, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
Zizi64
Volunteer
Posts: 11494
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Text with certain unicode characters appears garbled

Post by Zizi64 »

Perhaps it is a Windows-only problem.
Win 10 prof, AOO 4.1.15 portable:
Win10_AOO4_1_15.png
Win10_AOO4_1_15.png (65.86 KiB) Viewed 1462 times

I suppose that is a graphics driver problem.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
cwolan
Posts: 186
Joined: Sun Feb 07, 2021 3:44 pm

Re: Text with certain unicode characters appears garbled

Post by cwolan »

Peter5004 wrote: Fri Jul 11, 2025 12:15 pm Criteria:
  • Text contains one or more 'unusual' characters. In this case one of the alternative asterisks ∗ (Unicode U+2217) which is seen surrounding the first "quick"; the problem also occurs with U+2216 but not with U+2215.
  • Main body of text is 18 point or larger, but some text at different size. In the example the extra line feed between paragraphs 2 and 3 is 16 point.
  • Occurs with both Times New Roman and Arial - but may happen with other font types.
  • OO version 4.1.15 (I understand this is latest version). Windows 10 Home version 2009.
I see (sometimes) the problem with AOO 4.1.15 / AOO 4.1.15 portable on Windows 7, 10 and 11.

Windows Character Map utility does not show U+2216 and U+2217 for Times New Roman and Arial.
In AOO, U+2216 and U+2217 are not listed in InsertSpecial Characters for these fonts. I have no idea it has a bearing on matter at hand.

Anyway, have you tried any other font that supports U+2217?
OpenOffice 1.1.5 – 4.1.15
LibreOffice 3.3.0.4 – 25.8
Windows 7,10,11 64-bit
Peter5004
Posts: 23
Joined: Thu Oct 19, 2023 6:17 pm

Re: Text with certain unicode characters appears garbled

Post by Peter5004 »

Thanks for the replies. I can see it's not just me with the problem, which is reassuring. And I can work around it by simply substituting alternative characters which don't cause this effect, like the 'normal' asterisk (U+002A). The problem doesn't occur in LibreOffice, as mentioned above.

Nevertheless it would be good to get the Apache wizards to look into this matter - if there were a way of notifying them. I found a site called "AOO bugzilla" but can't access it since I don't appear to be an 'authenticated' user. Perhaps someone else can?
Peter
Open Office 4.1.15 on Windows 10
User avatar
LastUnicorn
Posts: 790
Joined: Sat Mar 29, 2008 2:41 am
Location: Scotland

Re: Text with certain unicode characters appears garbled

Post by LastUnicorn »

If you managed at all to file a bug report you likely would still be waiting at the death end of the universe for a fix. Best switch to LibreOffice. There are several good reasons for making the switch anyway, some of which are mentioned here: [Tutorial] Considering a Switch from OpenOffice to LibreOffice? Some Useful Information
LibreOffice 25.8.1.1 (x64) installed to Windows 11 Pro. 24H2
Apache OpenOffice Portable 4.1.15 [Portable Apps]
For Java I use Adoptium Temurin JRE LTS Releases.
cwolan
Posts: 186
Joined: Sun Feb 07, 2021 3:44 pm

Re: Text with certain unicode characters appears garbled

Post by cwolan »

Bug reported: Issue 128613 ("High-numbered Unicode character causes display distortion when editing")
Peter N wrote: This has been observed when U+2217 (an alternative asterisk) or U+2216 (alternative backslash) present in text. Other high-number Unicodes (e.g. U+2215) don't cause this problem.

In the example, all text *except* linefeed after 2nd paragraph is 18pt Arial or Times New Roman - Justified (other fonts not tested). Linefeed is 16pt (this makes a difference).

Screen grab attached.
green scrab.jpg
green scrab.jpg (127.32 KiB) Viewed 982 times
OpenOffice 1.1.5 – 4.1.15
LibreOffice 3.3.0.4 – 25.8
Windows 7,10,11 64-bit
Locked