This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit fae200b
committed
[[ Bug 20856 ]] Enable sub-pixel positioning in CoreText rendering
This patch ensures that the 'setSubpixelText' flag is set to true
in the Skia paint used to render text on the CoreText implementation
of libgraphics text operations.
This change only effects the visual presentation of text - the metrics
(as seen by anything higher up) is unchanged. Previously Skia would
have been aligning the individual glyphs to device pixel boundaries
resulting in a subtle misplacement, noticeable when comparing with
the same text rendered in other CoreText using applications.1 parent 245c85c commit fae200b
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
271 | 274 | | |
272 | 275 | | |
273 | 276 | | |
| |||
0 commit comments