Bug 150972 - Tiny text in small subscript causes underflow
Summary: Tiny text in small subscript causes underflow
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All All
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2022-09-15 09:58 UTC by Aptitek
Modified: 2022-09-16 14:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file (12.13 KB, application/vnd.oasis.opendocument.text)
2022-09-15 19:32 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aptitek 2022-09-15 09:58:05 UTC
Description:
When setting a text to size 2 and then subscript relative font size to less than 2% the text gets big and compressed without spacing between letters

Steps to Reproduce:
1. Right clic on text, character
2. set size to 2 pt
3. set subscript relative font size to less than 2%

Actual Results:
Text is big and without spacing

Expected Results:
Ridiculously and unnecessarily small text


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Rafael Lima 2022-09-15 19:32:12 UTC
Created attachment 182474 [details]
Sample file

Here's a sample file reproducing the bug. Indeed using font size 2pt and relative size of 2% or less, the result is unexpectedly big.

Tested with

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 35702fd6781542f5eefbd3710304ab9a25ac61fe
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded

Also repro in

Version: 7.2.7.2 / LibreOffice Community
Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 2 Rafael Lima 2022-09-15 19:33:34 UTC
I'm setting this to NEW, but this bug seems minor since it only happens in very unusual conditions.
Comment 3 Telesto 2022-09-16 14:20:29 UTC
Also in
4.4.7.2

and in
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b