Bug report #19339

Updated by Jürgen Fischer about 3 years ago

Step to reproduce :
1. Add a new Layout
2. Add a Label
3. Put below as its property

<style>
.htmlrender {
font-family: "Lucida Handwriting";
font-kerning: normal;
font-size: 600 pt;
font-variant: normal;
font-weight: bold;
letter-spacing: 10 em;
line-height: 1.42 cm;
text-indent: 5.0 cm;
text-overflow: ellipsis;
margin: 5 cm 5 cm 5 cm 5 cm;
//text-shadow: 0.5 mm 0.5 mm #808080;
}
</style>

<div class="htmlrender">
Lorem ipsum<br/>
Lorem ipsum<br/>
Lorem ipsum<br/>
Lorem ipsum<br/>
Lorem ipsum<br/>
Lorem ipsum<br/>
</div>

4. Enable HTML Render
5. You will see that many CSS properties seem to be ignored
e.g. font-size, letter-spacing, line-height, text-indent, margin

version 2.18 : Composer has no problems.

this is a re-issue of #18993 https://issues.qgis.org/issues/18993

Back