Bug 121227 - Wrong optimal height of a cell with Cyrillic Liberation Sans text font 10
Summary: Wrong optimal height of a cell with Cyrillic Liberation Sans text font 10
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5 all versions
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, regression
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2018-11-07 05:48 UTC by Mike Kaganski
Modified: 2023-11-17 12:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A cell with optimal height has wrong height (spacing from top) (15.46 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-11-07 05:48 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2018-11-07 05:48:11 UTC
Created attachment 146377 [details]
A cell with optimal height has wrong height (spacing from top)

The attached ODS has only a single data cell, which contains wrapping text. The row height is set using Optimal height. The height is wrong (too high), leaving extra spacing above the text in the cell.

Tested with Version: 6.1.3.2 (x64)
Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU threads: 12; OS: Windows 10.0; UI render: GL; 
Locale: ru-RU (ru_RU); Calc: CL
Comment 1 Timur 2018-11-07 08:55:06 UTC Comment hidden (me-too)
Comment 2 Timur 2018-11-07 08:57:43 UTC
Confirmed 6.2+. Looks like reason is a combination of Cyrillic text and Liberation Sans font.
Comment 3 Mike Kaganski 2018-11-07 09:08:55 UTC
Just an additional thought.

It might be very well an issue with Cyrillic. But actually I doubt it's specific to the font: rather it could be that for the specific cell width, text contents (characters used), and font metrics, the problem is triggered. I remember having similar problems with different fonts, which is why I suppose the specific font might not be the real problem.
Comment 5 QA Administrators 2019-11-12 03:32:42 UTC Comment hidden (obsolete)
Comment 6 Roman Kuznetsov 2019-11-24 16:21:46 UTC
still repro in

Версия: 6.5.0.0.alpha0+ (x64)
ID сборки: 32dcf3f0fdafcf44457842a8aa4f54d30d856ca9
Потоков ЦП: 4; ОС:Windows 10.0 Build 17763; Отрисовка ИП: GL; VCL: win; 
Локаль: ru-RU (ru_RU); Язык интерфейса: ru-RU
Calc: threaded
Comment 7 QA Administrators 2021-11-24 04:31:38 UTC Comment hidden (obsolete)
Comment 8 Mike Kaganski 2021-11-24 07:40:46 UTC
Repro with Version: 7.2.3.2 (x64) / LibreOffice Community
Build ID: d166454616c1632304285822f9c83ce2e660fd92
CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded

and with Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: b7a46259eba35257291fe00851252c18ffb4fc90
CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 9 Stéphane Guillou (stragu) 2023-06-14 20:37:17 UTC
Still repro:

Version: 7.6.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: be55b15d98c5f059483845a183fcb5ea8023d27c
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded