No 'rgba' antialiasing ("LCD" subpixel rendering)
還沒有人認領這個 Issue。
評估
研究方向
首先,沿著 xreader 通過 Atril、Poppler、其渲染後端和 FreeType 的文字渲染路徑進行追蹤,並將連結的 FreeType LCD 渲染文件作為背景。確定 fontconfig、GNOME 或 Xft 的 RGBA 設定可能在哪個環節進入該路徑;完成的標準是確定一條支援子像素反鋸齒的實作路徑,或記錄 Poppler 的限制。
由索引模型根據 Issue 內容生成。
描述
Hello,
It appears the atril viewer does not follow system cues to render text with corresponding subpixel antialiasing, such as valid fontconfig rgba property (different than unknown or none), valid org.gnome.desktop.interface font-antialiasing setting, Xft RGBA setting, or other, nor does it have its own configuration or GSetting to enable subpixel antialiased text.
Is this a poppler limitation?
As I understand it, FreeType has facilities for subpixel rendering [1] but it appears to be something of a setting that requires correct trickling down from the application down to poppler, then to poppler's backend, and finally to FreeType.
As I am not familiar with the poppler project or its backends, I would be grateful if someone who is indeed familiar with it could clear up how to do so.
In relation to FreeType, as long as it is compiled with the corresponding configuration macro (which it typically is for the past years), and the application dynamically links to the system library (also typically the case), there should not be any impediments to having subpixel rendered text. The pdf.js viewer in Mozilla Firefox and the pdfium embedded Chromium viewer appear to do it, for instance.
[1] https://freetype.org/freetype2/docs/reference/ft2-lcd_rendering.html
The above quoted text from https://github.com/mate-desktop/atril/issues/633.
As xreader is based on atril, I am cross posting this issue here for visibility.
Thanks for the attention.
- 主要語言
- C
- 星號
- 286
- 分支
- 87
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
linuxmint/xreader 的其他 Issue
-
Cyrillic homoglyph characters used in place of ASCII <p> tags in Kazakh AppData description string未關閉
難度 1/5 1 小時以內 新手友好度 88/100
-
[SECURITY] - An attacker can write files with exact names to arbitrary locations on the filesystem可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 5/5 一週以上 新手友好度 22/100
-
難度 3/5 1-2 天 新手友好度 67/100
-
難度 4/5 3-5 天 新手友好度 38/100
查看 linuxmint/xreader 的全部 Issue
相似的 Issue
-
bug severity: medium
難度 2/5 1-3 小時 新手友好度 78/100
AlessandroSangiuliano/Uros#1014 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 2/5 1-3 小時 新手友好度 83/100
OpenXiangShan/NEMU#1314 ·
維護者通常 1 天內回覆
-
`get_options()` repeats the first byte when hex-encoding octet strings可能已有人在做 @rue19 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 85/100
OpenPrinting/cups#1830 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
micropython/micropython#20020 ·
維護者通常 1 天內回覆