Bug 136448 - Make Drop Caps work with small first paragraphs
Summary: Make Drop Caps work with small first paragraphs
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph-Drop-Caps
  Show dependency treegraph
 
Reported: 2020-09-03 19:10 UTC by Clarc
Modified: 2023-03-11 21:41 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test-Screenshot (67.04 KB, image/png)
2020-09-03 19:13 UTC, Clarc
Details
"Workaround" (14.32 KB, image/png)
2020-09-03 19:13 UTC, Clarc
Details
Proper-Caps (130.87 KB, image/jpeg)
2020-09-03 19:15 UTC, Clarc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clarc 2020-09-03 19:10:52 UTC
Description:
Currently, Drop Caps can only be the size of the first paragraph. This is a problem if the first paragraph is shorter than your desired Drop Caps-size.

Steps to Reproduce:
1. Create a Drop Caps text-style. Let's set them to Height: 3 Lines.
2. Write your Drop Caps-paragraph but end it after 1 or 2 lines.
3. The Drop Caps will stay tiny.

Actual Results:
See attached "Test-Screenshot"-picture.

Expected Results:
Drop Caps should always look the same, regardless of how long the first paragraph is. Following paragraphs should wrap around the Drop Caps letter(s), as though they were a picture, set to let text flow around it.
(See "Proper-Caps"-picture)


Reproducible: Always


User Profile Reset: No



Additional Info:
As can be seen in the ""Workaround""-picture, you have one - sub-optimal - way to deal with the current Drop Caps: Create a manual line-break by using SHIFT+ENTER.
However, this
1. Distorts the Text of the first line
2. Forces the second paragraph to use tje Drop Caps-style as well.
3. Therefor removes the usual styling of the second paragraph such as font, size, italics or indent.

All of these would have to be corrected manually.
Comment 1 Clarc 2020-09-03 19:13:11 UTC
Created attachment 165115 [details]
Test-Screenshot
Comment 2 Clarc 2020-09-03 19:13:37 UTC
Created attachment 165116 [details]
"Workaround"
Comment 3 Clarc 2020-09-03 19:15:28 UTC
Created attachment 165117 [details]
Proper-Caps
Comment 4 V Stuart Foote 2020-09-03 20:16:23 UTC
Confirmed, settings on the 'Paragraph...' dialog 'Drop Caps' panel do not support a drop cap higher than the line count of its paragraph. Even with a greater 'Lines' count the initial being used is scaled *only* to the height of the paragraph.

Can work around by insertion of a manual line break prior to paragraph end.
Comment 5 Clarc 2020-09-04 08:38:39 UTC
(In reply to V Stuart Foote from comment #4)
> Can work around by insertion of a manual line break prior to paragraph end.

Exactly, that's what I wanted to address in  'Additional Info'. Unfortunately, this manual work-around has downsides as well.
> As can be seen in the ""Workaround""-picture, you have one - sub-optimal - way
> to deal with the current Drop Caps: Create a manual line-break by using
> SHIFT+ENTER.
> However, this
> 1. Distorts the Text of the first line
> 2. Forces the second paragraph to use tje Drop Caps-style as well.
> 3. Therefor removes the usual styling of the second paragraph such as font,
> size, italics or indent.
> 
> All of these would have to be corrected manually.