Hi all.

On 02/12/2025 03:24, Robert Helling via subsurface wrote:
Here is, from my memory, what the approach was: In our printing template system, at the 
time, we made the bad decision to include the profile pictures via special <div> 
tags. When using webkit to render the page, we could access these tags and replace the by 
the appropriate <img> tags. In webengine, however, there is no access to individual 
elements in the DOM, you are supposed to do that via JavaScript (a language that I do not 
really speak). I managed to come up with some script that should be able to do that but the 
problem was to determine the time when that script had done its job before shipping the 
page to the printer. I could not make any callbacks that would be supposed to do that work, 
so I fell back to just sleeping for a while but on Linux even that seemed not to be 
sufficient as not all profile pictures were printed.


I can probably help with the JavaScript part - feel free to sing out.


Ngā mihi

  Michael Keller
_______________________________________________
subsurface mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to