Bug 127147 - In Burmese some drop cap with numbers are bigger than others
Summary: In Burmese some drop cap with numbers are bigger than others
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Font-Substitution
  Show dependency treegraph
Reported: 2019-08-25 13:44 UTC by Lafricain
Modified: 2022-06-07 17:34 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:
Regression By:

picture of the issue (29.57 KB, image/png)
2019-08-25 13:44 UTC, Lafricain
Drop cap error (31.90 KB, application/vnd.oasis.opendocument.text)
2019-08-25 13:46 UTC, Lafricain

Note You need to log in before you can comment on or make changes to this bug.
Description Lafricain 2019-08-25 13:44:57 UTC
Created attachment 153637 [details]
picture of the issue

In a file with Burmese numbers as drop caps, some are bigger than other.
See the attached screenshot.
This issue on github, give more information: https://github.com/bibledit/cloud/issues/312
Comment 1 Lafricain 2019-08-25 13:46:25 UTC
Created attachment 153638 [details]
Drop cap error

File for example.
Comment 2 Xisco Faulí 2019-09-23 14:48:38 UTC
Reproduced in

Build ID: f23e19cd15f14566832befba73fb6bbc1cffb0d7
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

but not in

Version (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 3 Xisco Faulí 2019-09-23 14:50:58 UTC
@Khaled, I thought you might be interested in this issue...
Comment 4 Buovjaga 2020-06-06 18:15:53 UTC
Bibisected with Linux 41max to https://git.libreoffice.org/core/+/98f56121858b4bea54d056a073005a10648785c6%5E!/
fdo#54629 MultiSalLayout::GetBoundRect always uses level 0 fallback font

Adding Cc: to Caolán McNamara
Comment 5 خالد حسني 2020-06-06 18:52:34 UTC
I don’t see a big here, may be an unfortunate feature. The font size is set so that the bounding box of the text fits in N lines, and the first drop cap has a larger descender so it uses a smaller font size size than the second one which does not have a descender at all.

I don’t know what the “correct” versions looked like, but the only option here is to use the line height instead of the bounding box, but then users of, say, Latin fonts with ascender bigger than cap height will be getting extra empty space above drop caps and smaller font size than what they have now.
Comment 6 Caolán McNamara 2020-06-06 19:14:39 UTC
I don't think the bisect points to a time when it worked by design, more by chance depending on fairly random glyph fallback quirks
Comment 7 QA Administrators 2022-06-07 03:26:57 UTC Comment hidden (obsolete)
Comment 8 Lafricain 2022-06-07 17:34:44 UTC
Seems to be OK.