Small fonts on HTML format pasting #19290

Closed
opened 2026-01-31 06:39:07 +00:00 by claunia · 2 comments
Owner

Originally created by @alfonskunk on GitHub (Jan 30, 2023).

Windows Terminal version

1.17.1023

Windows build number

10.0.19044.2486

Other Software

No response

Steps to reproduce

Copying text with 10px font size on Windows Terminal Preview
With AltasEngine = true it pastes with 5px font size (mantain rest of text format like colors and font type)
With AtlasEngine = false it pastes with 1px font size (mantain rest of text format like colors and font type)

Copying text with 20px font size on Windows Terminal Preview
With AltasEngine = true it pastes with 9px font size (mantain rest of text format like colors and font type)
With AtlasEngine = false it pastes with 1px font size (mantain rest of text format like colors and font type)

RTF pastes right font size.

This issue is reproducible only since 1.17.1023 at 2023/01/25

Expected Behavior

Pasting with same font size as source

Actual Behavior

With AltasEngine = true it pastes with 5px font size (mantain rest of text format like colors and font type)
With AtlasEngine = false it pastes with 1px font size (mantain rest of text format like colors and font type)

Originally created by @alfonskunk on GitHub (Jan 30, 2023). ### Windows Terminal version 1.17.1023 ### Windows build number 10.0.19044.2486 ### Other Software _No response_ ### Steps to reproduce Copying text with 10px font size on Windows Terminal Preview With AltasEngine = true it pastes with 5px font size (mantain rest of text format like colors and font type) With AtlasEngine = false it pastes with 1px font size (mantain rest of text format like colors and font type) Copying text with 20px font size on Windows Terminal Preview With AltasEngine = true it pastes with 9px font size (mantain rest of text format like colors and font type) With AtlasEngine = false it pastes with 1px font size (mantain rest of text format like colors and font type) RTF pastes right font size. This issue is reproducible only since 1.17.1023 at 2023/01/25 ### Expected Behavior Pasting with same font size as source ### Actual Behavior With AltasEngine = true it pastes with 5px font size (mantain rest of text format like colors and font type) With AtlasEngine = false it pastes with 1px font size (mantain rest of text format like colors and font type)
claunia added the Area-RenderingIssue-BugIn-PRNeeds-Tag-FixProduct-Terminal labels 2026-01-31 06:39:08 +00:00
Author
Owner

@carlos-zamora commented on GitHub (Feb 1, 2023):

The renderer hands the size of the font over when copying HTML text to the clipboard.

We should also check if this affects 1.16

@carlos-zamora commented on GitHub (Feb 1, 2023): The renderer hands the size of the font over when copying HTML text to the clipboard. We should also check if this affects 1.16
Author
Owner

@alfonskunk commented on GitHub (Feb 2, 2023):

Hi,

1.16 is not affected.
And neither does Windows Terminal Stable (1.15.3465.0)

@alfonskunk commented on GitHub (Feb 2, 2023): Hi, 1.16 is not affected. And neither does Windows Terminal Stable (1.15.3465.0)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19290