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

Are you missing a feature? Request its implementation here.
s_g
Posts: 5
Joined: Tue Nov 29, 2022 3:20 pm

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

Post 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.
julien_lacour
Posts: 481
Joined: Wed Oct 16, 2019 3:47 pm

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

Post 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
s_g
Posts: 5
Joined: Tue Nov 29, 2022 3:20 pm

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

Post 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).
Post Reply