Skip to content

RichTextBlock: paragraph default line height ignores the OS text scale #24345

Open

Description

@MartinZikmund

What would you like to be added? 💡

Glyphs scale with the OS text-scale setting but the paragraph's default line height does not, so line spacing gets proportionally tighter as the text scale rises.

WinUI applies GetScaledFontSize when building paragraph properties (BlockLayoutHelpers::GetParagraphProperties).

Why is this needed? 🤔

Users who raise the OS text size need the spacing to scale with it, otherwise larger text becomes harder to read rather than easier.

Renderer 🎨

  • Skia
  • Native

For which platforms 📱💻🖥️

All platforms 🌍

Anything else we need to know? 💬

Follow-up from the RichTextBlock deep-core port; recorded in specs/richtextblock-winui-port/port-validation-winui-2.4.0.md.

Activity

  1. added
    kind/enhancement
    triage/untriaged
    project/text 🔤
    on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/skia/text ✏️kind/enhancementproject/text 🔤triage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions