Bug 150971 - Emoji in Drop Caps have wrong margins
Summary: Emoji in Drop Caps have wrong margins
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering Paragraph-Drop-Caps
  Show dependency treegraph
 
Reported: 2022-09-15 09:51 UTC by Aptitek
Modified: 2023-06-06 16:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example of the bug (10.51 KB, application/vnd.oasis.opendocument.text)
2022-09-16 08:17 UTC, Aptitek
Details
Sample file with emoji in drop caps (15.21 KB, application/vnd.oasis.opendocument.text)
2022-09-16 20:28 UTC, Rafael Lima
Details
Screenshot showing the problem (75.20 KB, image/png)
2022-09-16 20:30 UTC, Rafael Lima
Details
screenshot (156.34 KB, image/png)
2023-05-05 05:20 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aptitek 2022-09-15 09:51:58 UTC
Description:
When using emojis like ℹ as drop caps, they get raised out of bounds when resized to take more than one line.

Steps to Reproduce:
1. Type ℹ Test for Drop Caps [line return]
2. Set drop caps for one letter on the paragraph

Actual Results:
Only the bottom of the emoji is visible on the top

Expected Results:
Emoji is aligned and displayed in full


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:10:55 UTC
I could not reproduce. Can you provide a sample file?
Comment 2 Aptitek 2022-09-16 08:17:05 UTC
Created attachment 182486 [details]
Example of the bug

Here is a file to show the bug.
Comment 3 Rafael Lima 2022-09-16 20:28:52 UTC
Created attachment 182507 [details]
Sample file with emoji in drop caps

In this file I used an Emoji in Drop caps and indeed it is not correctly aligned.
Comment 4 Rafael Lima 2022-09-16 20:30:21 UTC
Created attachment 182508 [details]
Screenshot showing the problem

Here's a screenshot of what I see.

I'm setting this to NEW.
Comment 5 BogdanB 2023-05-05 05:20:22 UTC Comment hidden (obsolete)
Comment 6 ⁨خالد حسني⁩ 2023-06-01 13:20:36 UTC
I can’t reproduce either. Please re-test with 7.5. 

@BogdanB: You don’t seem to have a color Emoji font, so this moght be different from OP.

I have color Emoji and I tested on macOS and Linux and can’t reproduce.
Comment 7 ⁨خالد حسني⁩ 2023-06-06 16:34:13 UTC
Please re-open if still reproducible.