[QGIS-Developer] QGIS-Kerning-Errors in HTML with small font sizes?

Elstermann, Mike Mike.Elstermann at itc-halle.de
Thu Mar 7 01:20:12 PST 2019


(Sorry, maybe the wrong list, but QGIS user didn't get an answer, so I try here)



Hello, everybody,



when I use mass text with different markups (font attributes) over HTML text, kerning errors occur especially with small but necessary font sizes, i.e. the spacing becomes incorrect. The screenshot [1] should illustrate this. It is simple HTML (on the right). The errors occur equally in QGIS 2.14 and 3.2. Does anyone have an idea or a workaround?  What other possibilities are there for mass text with different attributes?



Here is my Test-HTML:



<span style='font-size:7pt;font-weight: bold;font-family: "Arial",sans-serif'>August-Hermann-Francke</br></span>

<span style='font-size:7pt;font-family: "Arial",sans-serif'><b>August-Hermann-Francke</b></br></span>

<span style='font-size:7pt;font-family: "Arial",sans-serif'><strong>August-Hermann-Francke</strong></br></span>

<span style='font-size:7pt;font-family: "Arial",sans-serif'>August-Hermann-Francke<br></span>



<span style='font-size:14pt;font-weight: bold;font-family: "Arial",sans-serif'>August-Hermann-Francke</br></span>

<span style='font-size:14pt;font-family: "Arial",sans-serif'>August-Hermann-Francke<br></span>



<span style='font-size:24pt;font-weight: bold;font-family: "Arial",sans-serif'>August-Hermann-Francke</br></span>

<span style='font-size:24pt;font-family: "Arial",sans-serif'>August-Hermann-Francke<br></span>



Thanks, mikeE.



[1] ... http://www.geoobserver.de/QGIS-Kerning-Error_1.png

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190307/e43c5f15/attachment.html>


More information about the QGIS-Developer mailing list