Page 1 of 1

CSS: Support for value "double" in "text-decoration-style"

Posted: Tue Nov 29, 2022 4:28 pm
by s_g
It would be very helpful if Oxygen PDF Chemistry would support the value "double" for the CSS property "text-decoration-style", as in:

Code: Select all

.underlineDouble {
    text-decoration-line: underline;
    text-decoration-color: black;
    text-decoration-style: double;
}
https://www.oxygenxml.com/doc/versions/ ... rties.html lists "text-decoration-style" as a supported CSS property, but it seems only "solid" is used, whatever value from "double", "dotted", "dashed", "wavy" is applied.

Usually it's possible to use something like

Code: Select all

border-bottom: double black 2px;
as a workaround, but as we want to combine the double underline with an additional dotted "border-bottom" in some cases, this is not viable.

Support for text-decoration-skip-ink and text-decoration-skip would also be greatly appreciated.

Re: CSS: Support for value "double" in "text-decoration-style"

Posted: Tue Nov 29, 2022 5:19 pm
by julien_lacour
Hello,

I added an issue related to text-decoration-style: double support, thank you for your reporting.

I added your vote to the feature request related to text-decoration-skip-ink, text-decoration-skip is still experimental, we will see what happens with it in the future CSS Specs.

Regards,
Julien

Re: CSS: Support for value "double" in "text-decoration-style"

Posted: Tue Nov 29, 2022 7:34 pm
by s_g
Thank you for your quick feedback! Yeah I know about the experimental status for text-decoration-skip, I just mentioned it because we are interested in having more typographical options and features for the PDF output (we're working on scholarly editions, which sometimes have some typhographical particularities).