https://bugs.documentfoundation.org/show_bug.cgi?id=150200
Bug ID: 150200
Summary: Drop caps bad behaviour with hyphens
Product: LibreOffice
Version: 7.3.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 181500
--> https://bugs.documentfoundation.org/attachment.cgi?id=181500&action=edit
Various dropcaps, including hyphen
Documentation does not state any limitation on drop caps.This means _any_
character at start of a paragraph can be accepted to create a drop cap. This
works except when the characters selected by the setting are _all_ hyphens. In
this case, Writer is completely confused:
- for a single hyphen, the hyphen goes superscript with an excessive size and
gets clipped off
- for a sequence of hyphens, drop cap is one line high, no matter the
number-of-lines setting in the paragraph style configuration.
Trying to fix this erratic behaviour with a character style is not a viable
solution. Anyway the glyph is excessively expanded (but this may be the result
of the algorithm as is shown when using a period for the drop cap).
The attached sample file demonstrates this weird hyphen handling.
I admit that requesting drop cap when the first character is a hyphen doesn't
make a lot of sense. However this bug report was inspired by discussion on
https://ask.libreoffice.org/t/writer-punctuation-in-margins/76498
Similarly, if the first "character" is an image anchored "As character", the
drop cap request is simply ignored. I accept it since the "standard" way of
doing that is with a graphics frame and suitable wrap mode and position
parameters.
My request is to either fix the faulty hyphen behaviour or explicitly exclude
hyphen with a mention in the documentation.
Steps to reproduce:
- configure some paragraph style for drop caps
- create a paragraph with an initial hyphen (assuming relevant AutoCorrect
options have been disabled)
- style the paragraph for drop cap
--
You are receiving this mail because:
You are the assignee for the bug.