Download it now!
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
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Font-Substitution
  Show dependency treegraph
 
Reported: 2019-08-25 13:44 UTC by Lafricain
Modified: 2020-06-06 19:14 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


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

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

Version: 6.4.0.0.alpha0+
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

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

but not in

Version 4.1.0.0.alpha0+ (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 Khaled Hosny 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