Comment 9 for bug 1741299

Revision history for this message
Blake GH (bmagic) wrote :

Alright yall. I've finally got this in a good place:

http://git.evergreen-ils.org/?p=working/Hatch.git;a=shortlog;h=refs/heads/user/blake/LP1741299_DYMO_LabelWriter_450_Turbo_Hatch_Label_print_fails_with_margin_error

From the commit message:

This code will fork the HTML rendering away from webEngine when
a matching printer is selected. Dymo is the only case so far.
The rendering will instead be performed by JEditorPane/HTMLEditorKit.

JEditorPane has a much more rudimentary interpretation of CSS which
in-turn means that the templates will need some tweaking. For
example any CSS defined between <style> tags cannot be defined by
good old "class" dot DOM selectors. AKA .spine is not understood.
Instead, the template needs to use in-line styles on the DOM element
or a DOM selector by tag name. AKA "table tr td pre".

It might be a good idea to put out some release notes to that effect but I'm not sure where. Evergreen Repo?