<div dir="auto"><div>Thomas and list,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 16, 2024, 06:39 Thomas Schüttenberg <<a href="mailto:thomas@qgis.de">thomas@qgis.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Chris,<br>
<br>
yes I tried that. Any css-unit I could think of as well as em, % and code-words (large). But only pt resulted in a visible change on the canvas.<br>
<br>
Not sure if it is just not implemented or if it is a bug.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">So <sub>...</sub> works but <small></small> doesn't... That seems to be surprising behaviour.</div><div dir="auto"><br></div><div dir="auto">I can get that CSS style directives might not work the way one might hope (that often happens to me in other circumstances...)</div><div dir="auto"><br></div><div dir="auto">This is tempting me to experiment. Thanks for that!</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thomas<br>
<br>
> chris hermansen <<a href="mailto:clhermansen@gmail.com" target="_blank" rel="noreferrer">clhermansen@gmail.com</a>> hat am 15.05.2024 21:00 CEST geschrieben:<br>
> <br>
> <br>
> Thomas and list,<br>
> <br>
> <br>
> On Wed, May 15, 2024 at 7:20 AM Thomas Schüttenberg via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank" rel="noreferrer">qgis-user@lists.osgeo.org</a>> wrote:<br>
> > Ha!<br>
> >  I found an other way around to do the trick, suitable for my use case at least:<br>
> >  <br>
> >  1) increasing the (overall) text size setting on the text tab by 2/3<br>
> >  2) putting only the attributes/text strings of the second and following lines between <sub>...</sub> tags, which renders them about 2/3 smaler, i.e. same as before. <br>
> >  <br>
> >  The (reverse) result is a multi line label with the first line emphazised by its larger size! ;-)<br>
> >  <br>
> >  "Bezeichnung" || '<p><sub>D ' || round("Deckelhohe",2) || '</sub></p><p><sub>S ' || round( "Sohlhohe" ,2) || '</sub></p>'<br>
> > <br>
> In your first note you mentioned:<br>
> <br>
> > But only pt (points) seams to work as the unit in this place, which gives a fixed size throughout all scales and does not respect the behavior of the map units with maximum scale setting.<br>
> <br>
> I suppose you tried style="font-size: 75%;" and maybe style="font-size: 0.75em;", and they did not work?<br>
> <br>
> I wonder if, besides <sub>...</sub>, you might have tried <small>...</small>?<br>
> --<br>
> <br>
> Chris Hermansen · clhermansen "at" gmail "dot" com<br>
> <br>
> C'est ma façon de parler.<br>
</blockquote></div></div></div>