3 ms·
It's likely possible to work around that limitation. For example, Servo could render to a binary image and then send that to the printer.
by smt88 11y ago
It's likely possible to work around that limitation. For example, Servo could render to a binary image and then send that to the printer.
- jahewson 11y agoUsing a raster image is a recepie for slowness, especially at common printer resolutions of 300dpi+. It also breaks "Save as PDF" from the print dialog. Far better to communicate with the print driver using GDI, PostScript, PCL, PDF, etc. using vector graphics and embedded fonts.
- pcwalton 11y agoThat's not the problem. We could easily run our parallel screen layout and then just use Skia (or the local system)'s PDF backend. The trouble is that this doesn't implement the printing spec. As Simon mentioned above, the problem is the various CSS rules that control pagination.
- gsnedders 11y agoThat's not the limitation — the limitation is the effects of pagination on layout, especially given control of where page breaks occur and restrictions on widows and orphans.