Skip to content

[Win32] Broken text kerning with GDI+ #3577

Description

@HeikoKlare

Describe the bug
GDI+ text rendering produces strange kerning of numbers. It is visible in an IDE with tab headers that contain numbers, e.g.:
Image

This is a regression from:

When adding numbers to the texts shown in Snippet395, you can see the difference:

Old behavior:
Image

Current behavior:
Image

Expected behavior
Kerning should be as good as with GDI+ as with GDI (or the previous GDI+ fallback).

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS

Version since
I20260904-0846

Workaround (or) Additional context
Use the provided fallback flag: -Dorg.eclipse.swt.internal.win32.useGDITextRenderingWithGDIP

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions