Improve text rendering clarity in Avalonia UI compared to previous WPF frontend

オープン
#3,985 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
csharp

調査の方向性

まず、報告された Windows のスケーリングおよびモニター構成で、Avalonia ベースの ILSpy 11.x フロントエンドと WPF ベースの ILSpy 10.x フロントエンドの違いを再現します。テキストヒンティング、ピクセルスナッピング、分数スケーリング、フォント設定、レンダリングバックエンドのオプションなど、言及されている Avalonia レンダリングパイプラインの領域を調査します。UI のリグレッションを発生させずにテキストが目に見えて鮮明になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Description

After the migration from the WPF frontend to Avalonia in ILSpy 11, text appears noticeably less sharp on my system compared to previous ILSpy versions.

This is not a syntax-highlighting or color-contrast issue. The concern is the actual text rendering quality, which appears softer/blurrier than the WPF-based releases.

Environment

  • ILSpy version: 11.0.0.9375+cdeae656fee6e184ff76cdc549edc7f9031dba09
  • OS: Windows 11 25H2
  • Monitor 1
    • Display resolution: 5120 x 1440
    • Windows scaling: 100%
  • Monitor 2
    • Display resolution: 3654 x 2160
    • Windows scaling: 200%

Observed Behavior

  • Decompiled code text appears less crisp than in ILSpy 10.x.
  • Tree view and UI text may also appear softer.
  • The effect is most noticeable during extended reading sessions.

Expected Behavior

Text rendering should be as sharp and readable as possible, ideally matching the clarity previously achieved by the WPF frontend.

Additional Information

The issue may be related to differences between WPF's ClearType-based text rendering and Avalonia's rendering pipeline.

Potential areas worth investigating:

  • Text hinting configuration
  • Pixel snapping/layout rounding
  • Fractional scaling behavior
  • Font rendering settings
  • Avalonia rendering backend options

Comparison

A side-by-side comparison between:

  • ILSpy 11.x (Avalonia)
    Image

  • ILSpy 10.x (WPF)
    Image

on the same machine shows a visible difference in text clarity.

主要言語
C#
スター
27.1k
フォーク
3.8k
平均マージ
1日 23時間
マージ済み PR(30日)
44

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

icsharpcode/ILSpy のほかの issue

icsharpcode/ILSpy の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。