Bug 136078 - Superscript and Subscript Text is cut off when used in Drop Caps
Summary: Superscript and Subscript Text is cut off when used in Drop Caps
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: lowest minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Character Paragraph-Drop-Caps
  Show dependency treegraph
 
Reported: 2020-08-24 14:48 UTC by Clarc
Modified: 2023-10-13 01:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example-screenshot (14.21 KB, image/png)
2020-08-24 14:49 UTC, Clarc
Details
drop cap with superscript and subscript (17.03 KB, application/vnd.oasis.opendocument.text)
2023-10-13 01:08 UTC, Kira Tubo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clarc 2020-08-24 14:48:40 UTC
Description:
The Title is pretty self-explanatory; also, see screenshot.

Actual Results:
 

Expected Results:
 


Reproducible: Always


User Profile Reset: No



Additional Info:
I can't think of many cases where this would be a problem, i just wanted to mention it as it probably IS a bug. I've set it to "Minor Bug" though.
Comment 1 Clarc 2020-08-24 14:49:09 UTC
Created attachment 164638 [details]
Example-screenshot
Comment 2 Telesto 2020-08-25 14:31:49 UTC
Would you mind to attach the sample file.. I don't reproduce this (don't know what the used drop cap settings are)
Comment 3 Dieter 2020-08-25 19:33:42 UTC
I confirm it with

Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded


But I agree, that in real life the combination of drop caps and superscript character will hardly be used.
Comment 4 Clarc 2020-08-28 10:29:31 UTC
(In reply to Telesto from comment #2)
> Would you mind to attach the sample file.. I don't reproduce this (don't
> know what the used drop cap settings are)

Can you reproduce it using these steps?
0. Open new document, default everything.
1. Activate Drop Caps for one paragraph and leave everything on default except for the Drop caps using the character style 'Drop Caps'.
2. Edit the character style to make it sub-/superscript.
Comment 5 QA Administrators 2022-08-29 06:44:36 UTC Comment hidden (obsolete)
Comment 6 Dieter 2022-09-01 09:41:37 UTC
Still present in 

Version: 7.4.0.3 (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Additional infotmation:
Same result, if you just select drop cap and change position to superscript
Comment 7 Clarc 2022-09-13 18:00:26 UTC
I also can confirm it's still present.



Three additional things that might be helpful to know:

1. This is what I meant by setting the text to subscript: https://help.libreoffice.org/6.2/en-US/text/swriter/guide/subscript.html

2. This bug only happens when setting ALL characters in the gray Drop Caps area to subscript. If the Drop Caps length is 3 characters, all 3 characters need to be set to Superscript/Subscript.

3. However, even if only single characters are set to Super-/Subscript, the display still is weird. For example, superscript makes characters shrink, but it also centers them in the gray area instead of placing it noticeably higher than normal superscript.



Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Flatpak
Calc: threaded
Comment 8 Kira Tubo 2023-10-13 01:08:44 UTC
Created attachment 190178 [details]
drop cap with superscript and subscript

Reproduced on daily master build. See attachment for sample doc. 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1ec2e39cf4d5fe0a592bc783fd8bcdc4345c8cbd
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 9 Kira Tubo 2023-10-13 01:17:10 UTC
Also reproduced in 3.3