I've admitted we want to move away from GDI, but I don't have a better short
term solution. BTW, this code will end up running in an utility process in
Chromium.
Skia team can give better estimates on how long it will take to move PDFium to
Skia, and have the XPS backend ready for production. An alternative path that
still involves Skia is to output directly ot XPS in some way and not bother with
PDF in the middle.
See bug 409472, and other bugs that mention that bug for the user complaints.
Currently, without GDI, text gets rendered as Bezier curves, or some other form
of paths. This causes print jobs to bloat up in size, especially for large
documents. Instead of referring to embedded fonts, the output document has
duplicate paths for every bit of text. Printing to a PDF virtual printer also
results in text that cannot be highlighted. There's also some specialty printers
gets confused because they are expecting text.
https://codereview.chromium.org/2113563003/