Skip to content

Font scaling is not efficient for PMV2 #14032

@JeremyKuhne

Description

@JeremyKuhne

private Dictionary<int, Font>? _dpiFonts;

We currently create copies of Fonts for every DPI for every Control when PMv2 is enabled. This is hugely inefficient as most Applications do not have a different font on every control.

This should, at a minimum, be coming from a weak referenced scaled Font cache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-HDPI-PMv2Issues related to high DPI PerMonitorV2 modetenet-performanceImprove performance, flag performance regressions across core releases

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions