xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #1230, comment 12


Ignore:
Timestamp:
02/08/17 12:41:16 (4 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1230, comment 12

    initial v1  
    22So we have a "libpfium.dll" and the headers, so we can easily write an exe or even integrate the pdfium code into a cython extension or a ctypes wrapper. The method we need to call seems to be {{{RenderPDFPageToDC}}} (see [https://chromium.googlesource.com/chromium/src/+/master/pdf/pdf.cc chromium pdf extension : pdf.cc]), after getting a DC for the printer.
    33
    4 It does have a number of attributes that would make it better suited to an in-process API call - not sure what the default values should be here, I think we can get at least some of those from the cups spooler (as specified by the user on the print dialog):
     4It does have a number of attributes that would make it better suited to an in-process API call - not sure what the default values should be here, I think we can get at least some of those from the cups spooler (as specified by the user on the print dialog - see also #1344):
    55* "dpi"
    66* "bounds" (x, y, width, height)