Issue 108472 - 2nd drop cap wrong size after parenthesis, bracket, brace
Summary: 2nd drop cap wrong size after parenthesis, bracket, brace
Status: ACCEPTED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.1.1
Hardware: PC Windows Vista
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-19 21:29 UTC by T. J. Frazier
Modified: 2017-05-20 11:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
2-char drop caps with first (, [, { (13.75 KB, application/vnd.oasis.opendocument.text)
2010-01-19 21:32 UTC, T. J. Frazier
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description T. J. Frazier 2010-01-19 21:29:26 UTC
The second character of a two-character drop cap is smaller than it should be,
when the first character is an open parenthesis, left bracket, or left brace
(possibly others, I didn't check them all). Unlike issue 97626, this affects PDF
output, so presumably affects printing as well.

Open the attached document to see the problem. The example is in TNR, but other
serif fonts also show the problem.

(Checked under 3.2RC2, no difference.)
Comment 1 T. J. Frazier 2010-01-19 21:32:50 UTC
Created attachment 67303 [details]
2-char drop caps with first (, [, {
Comment 2 michael.ruess 2010-01-20 10:10:24 UTC
MRU->OS: Drop caps are differently scaled depending on the characters inside the
drop cap label.
See attached document, there is e.g. "(B" as drop caps and when the ( is removed
and added from the drop cap, the B is differently scaled. 
Yes, I know that it is exactly displayed as in normal text when you have (B) as
drop cap, but IMO this does not look well. Every character in the drop cap label
should be scaled to fill the region.
Comment 3 Oliver Specht 2010-01-21 14:17:46 UTC
The size of the drop cap text is calculated depending on the height of the
biggest character. Parenthesis, brackets and braces are higher than capital
letters. That's why in such combinations the capital letters are smaller than
they are combined with lower case letters. 
On the other hand this way of calculation takes care of drop caps consisting on
lower case letters, symbols etc. Those are expected to fill the height of the
drop cap area completely. 

It might make sense to add an option to the drop caps that enables height
calculation depending on a reference (lower case letter|capital letter| max. height)

Comment 4 Marcus 2017-05-20 11:24:57 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 5 Marcus 2017-05-20 11:26:06 UTC
Reset assigne to the default "issues@openoffice.apache.org".