mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
This improves the quality of our font rendering, especially when
animations are involved. Relevant changes:
* Skia fonts have their subpixel flag set, which means that individual
glyphs are rendered at subpixel offsets causing glyph runs as a
whole to look better.
* Fragment offsets are no longer rounded to whole device pixels, and
instead the floating point offset is kept. This allows us to pass
through the floating point baseline position all the way to the Skia
calls, which already expected that to be a float position.
The `scrollable-contains-table.html` ref test needed different table
headings since they would slightly inflate the column size in the test
file, but not the reference.
17 lines
1.2 KiB
Plaintext
17 lines
1.2 KiB
Plaintext
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x116 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 620x100 children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 206.65625x100] baseline: 100
|
|
frag 1 from BlockContainer start: 0, length: 0, rect: [214.65625,8 206.65625x100] baseline: 100
|
|
frag 2 from BlockContainer start: 0, length: 0, rect: [421.3125,8 206.65625x100] baseline: 100
|
|
BlockContainer <div> at (8,8) content-size 206.65625x100 inline-block [BFC] children: not-inline
|
|
BlockContainer <div> at (214.65625,8) content-size 206.65625x100 inline-block [BFC] children: not-inline
|
|
BlockContainer <div> at (421.3125,8) content-size 206.65625x100 inline-block [BFC] children: not-inline
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x116]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 620x100]
|
|
PaintableWithLines (BlockContainer<DIV>) [8,8 206.65625x100]
|
|
PaintableWithLines (BlockContainer<DIV>) [214.65625,8 206.65625x100]
|
|
PaintableWithLines (BlockContainer<DIV>) [421.3125,8 206.65625x100]
|