Bug 104570 - Multi-line text does not scale properly with zoom level, lines are cut off or invisible
Summary: Multi-line text does not scale properly with zoom level, lines are cut off or...
Status: RESOLVED DUPLICATE of bug 108638
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: x86-64 (AMD64) All
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-10 22:08 UTC by y+documentfoundation.org
Modified: 2017-09-07 20:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Text displayed correctly at 90 % zoom level (20.24 KB, image/png)
2016-12-10 22:08 UTC, y+documentfoundation.org
Details
Text displayed wrongly at 95 % zoom level (last line is cut off) (20.38 KB, image/png)
2016-12-10 22:09 UTC, y+documentfoundation.org
Details

Note You need to log in before you can comment on or make changes to this bug.
Description y+documentfoundation.org 2016-12-10 22:08:44 UTC
Created attachment 129468 [details]
Text displayed correctly at 90 % zoom level

Steps to reproduce:

- Enter a text consisting of multiple lines (Ctrl-Enter) into a cell.

- Choose various zoom levels to experience one of the following symptoms,
  reproducibly dependent on the zoom level:
  - Text gets displayed correctly, i.e. fits perfectly into cell, or
  - there is additional space below the last line, or
  - the last line gets cut, or
  - the last line is invisible


Additional notes:

- See attached screenshot for examples with zoom set to 90 % and 95 %
  respectively. With 90 %, the text displays correctly, with 95 %, the
  last line is cut off.

- The used font (at least according to the font selection field of
  LibreOffice is "Liberation Sans" in 10 pt, but changing the font
  to, e.g. "Bitstream Charter" exposes the same behavior (though
  differently at different zoom levels).

- The cell height seems to (more or less?) properly adapt to the zoom level:
    100%: 98 pixels cell height (content only)
     95%: 93 pixels
     50%: 48 pixels

- The phenomenon occurs independently of the following settings:
  Tools | Options | LibreOffice | View ...
  - Screen font antialiasing
  - Use hardware acceleration
  - Use anti-aliasing
  - Use OpenGL for all rendering (on restart)
  - Force OpenGL even if blacklisted (on restarted)
  (the latter two options don't seem to enable GL anyway
  ("GL is currently disabled"))
Comment 1 y+documentfoundation.org 2016-12-10 22:09:56 UTC
Created attachment 129469 [details]
Text displayed wrongly at 95 % zoom level (last line is cut off)
Comment 2 y+documentfoundation.org 2016-12-10 22:12:57 UTC
Totally forgot: The drop-down list for the version affected
would let me select only

  5.2.4.1 rc

when in reality, I am using

  5.2.4~rc1-1 (Debian's versioning scheme)
Comment 3 Buovjaga 2016-12-14 13:04:30 UTC
For me, the first line sometimes is a bit cut off. But the text size is wildly out of sync with the zoom, that is for sure.
At 26% zoom, there is a huge empty space in the cell.

Win 7 Pro 64-bit Version: 5.4.0.0.alpha0+
Build ID: ba6b35fc68a01aff72b39eb7809bacb326068668
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-12-13_06:07:39
Locale: fi-FI (fi_FI); Calc: group

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 4 OfficeUser 2017-05-24 12:00:43 UTC

*** This bug has been marked as a duplicate of bug 106111 ***
Comment 5 OfficeUser 2017-09-07 20:28:18 UTC

*** This bug has been marked as a duplicate of bug 108638 ***