Bug 142020 - Cannot combine ï with a dot below in most of the fonts
Summary: Cannot combine ï with a dot below in most of the fonts
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/en/questi...
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2021-05-01 14:48 UTC by gugzuc
Modified: 2022-08-22 23:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
clip of isssue with common fonts (37.43 KB, image/png)
2021-05-16 18:35 UTC, V Stuart Foote
Details
test doc with some common fonts mishandling the glyph combinations (10.85 KB, application/vnd.oasis.opendocument.text)
2021-05-16 18:42 UTC, V Stuart Foote
Details
clip with common fonts, but including U+0131 undotted i (29.66 KB, image/png)
2021-05-16 19:01 UTC, V Stuart Foote
Details
test doc with some common fonts mishandling the glyph combinations (11.89 KB, application/vnd.oasis.opendocument.text)
2021-05-16 19:04 UTC, V Stuart Foote
Details
same set of combining glyphs with Calibri (6.76 KB, image/png)
2021-05-16 19:15 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gugzuc 2021-05-01 14:48:09 UTC
Description:
I have been trying to produce an ï (i with diaeresis) with a dot below.
When I do, the resulting character has three dots above and one below.
More rarely, the third dot above does not appear, but the dot below is off-center.

Steps to Reproduce:
1. try to add a "combine dot below" character to an ï
2.
3.

Actual Results:
Mostly, an i with three dots above and one below appears. 
At times, no third dot appears on top of the i, but the dot below is offset to the left.

Expected Results:
a neat ï with a dot below.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.1.2.2 (x64) / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-GB
Calc: threaded
Comment 1 Dieter 2021-05-16 06:42:44 UTC
(In reply to gugzuc from comment #0)
> Description:
> I have been trying to produce an ï (i with diaeresis) with a dot below.

Please add some informations how you did it. Thank you.
=> NEEDINFO

If you't not sure, if your procedure is the correct one, you should try to get help at ask.libreoffice.org
Comment 2 gugzuc 2021-05-16 14:15:54 UTC
(In reply to Dieter from comment #1)
> (In reply to gugzuc from comment #0)
> > Description:
> > I have been trying to produce an ï (i with diaeresis) with a dot below.
> 
> Please add some informations how you did it. Thank you.
> => NEEDINFO
> 
> If you't not sure, if your procedure is the correct one, you should try to
> get help at ask.libreoffice.org

Thank you for your answer. I did it by combining  the characters U+00EF and U+0323.

https://unicode-table.com/en/00EF/
https://unicode-table.com/en/0323/

I did ask on ask.libreoffice.org, and they told me it was likely to be a bug.

https://ask.libreoffice.org/en/question/307172/combining-i-with-dot-below/
Comment 3 Dieter 2021-05-16 17:02:26 UTC
It seems to depend on the font you use

Some results:
Calibri: O. K.
Arial, Liberation Sans and Segoe UI: three dots above and one dot below
Bahnschrift: several dots (looks like a line) above and one dot below
Liberation Serif: two dots above (but overlapping) and one dot below
Comment 4 V Stuart Foote 2021-05-16 18:35:58 UTC
Created attachment 172066 [details]
clip of isssue with common fonts

Even Graphite seems to mishandle. Attaching a test doc.
Comment 5 V Stuart Foote 2021-05-16 18:40:59 UTC
Does not seems to be a font metric issue--something is off in handling the combining glyphs. Affecting Graphite fonts as well, though Gentium Book gets it correct.

The pair:

U+00EFU+0323

or triplets with an "i"

U+0069U+0308U+0323
or
U+0069U+0323U+0308
Comment 6 V Stuart Foote 2021-05-16 18:42:02 UTC
Created attachment 172067 [details]
test doc with some common fonts mishandling the glyph combinations
Comment 7 V Stuart Foote 2021-05-16 18:44:11 UTC
On Windows, use of Skia rendering Vulkan or raster, or default GDI makes no difference

Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: cb63fad5a1967d20d067cd4ee2c8ddc7ba8ff1ea
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 8 gugzuc 2021-05-16 18:46:56 UTC
(In reply to Dieter from comment #3)
> It seems to depend on the font you use
> 
> Some results:
> Calibri: O. K.
> Arial, Liberation Sans and Segoe UI: three dots above and one dot below
> Bahnschrift: several dots (looks like a line) above and one dot below
> Liberation Serif: two dots above (but overlapping) and one dot below

Thanks. From what I can see, it's not OK in Calibri either: you do get two dots above and one below, but the dot below is offset to the left. 

Also, just for the record, I came across this whilst using the Brill typeface.
Comment 9 gugzuc 2021-05-16 18:49:35 UTC
(In reply to gugzuc from comment #8)
> (In reply to Dieter from comment #3)
> > It seems to depend on the font you use
> > 
> > Some results:
> > Calibri: O. K.
> > Arial, Liberation Sans and Segoe UI: three dots above and one dot below
> > Bahnschrift: several dots (looks like a line) above and one dot below
> > Liberation Serif: two dots above (but overlapping) and one dot below
> 
> Thanks. From what I can see, it's not OK in Calibri either: you do get two
> dots above and one below, but the dot below is offset to the left. 
> 
> Also, just for the record, I came across this whilst using the Brill
> typeface.

Same with Gentium Book: the lower dot is offset to the left.
Comment 10 V Stuart Foote 2021-05-16 19:01:32 UTC
Created attachment 172070 [details]
clip with common fonts, but including U+0131 undotted i

redid the test doc and clip with U+0131 undotted i--combines correctly for all fonts. The U+00EF is what is being mishandled.
Comment 11 V Stuart Foote 2021-05-16 19:04:13 UTC
Created attachment 172071 [details]
test doc with some common fonts mishandling the glyph combinations

Same test doc but added triplet using the U+0131 glyph as suggested in the Ask thread.

Handling the U+0131 is consistent all fonts, though some metrics issues do appear.  Handling the U+00EF seems to have the issues.
Comment 12 V Stuart Foote 2021-05-16 19:15:27 UTC
Created attachment 172072 [details]
same set of combining glyphs with Calibri

Yup, Calibri seems to get it correct all forms.
Comment 13 ⁨خالد حسني⁩ 2022-08-22 23:13:22 UTC
It is up to the fonts to handle such combining marks, we have no say on this.