Skip to content

Font Size does not properly scale on Windows #137

@MartinZikmund

Description

@MartinZikmund

Describe the bug

Fonts don't scale properly on HIDPI screens on Windows.

To Reproduce

  1. Set display scaling to a high percentage in Windows Settings.
  2. Run CSharpMath.Forms.Example.UWP
  3. Go to Even more tab and note the text size is quite small

For example compare 300% scaling:

image

To 100% scaling:

image

Expected behavior

The font should get larger, not smaller at higher scale (similarly to the tab text, as you can see in the screenshots.

Environment (please complete the following information):

  • Platform: CSharpMath.SkiaSharp
  • Package Version or Commit: latest
  • Device: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions