[Qgis-user] QGIS-Kerning-Errors?
Herbert Lincon
herbert_lincon_jau at hotmail.com
Thu Mar 7 02:24:44 PST 2019
Hello Mike,
I got this error too on 2.18.23 and 3.4.5, using another tags and Tahoma.
I could not find the problem source,
but I suspect the DPI of the compositor, maybe in your actual DPI
there is no valid pixel to fit the letters at their right place.
I find out that the sizes you put in the HTML, regardless the unit of measurement,
the size of everything will change based on the DPI as well
Hope this helps
____________
Herbert Lincon
________________________________
De: Qgis-user <qgis-user-bounces at lists.osgeo.org> em nome de Elstermann, Mike <Mike.Elstermann at itc-halle.de>
Enviado: terça-feira, 5 de março de 2019 07:30
Para: 'Qgis-user at lists.osgeo.org'
Assunto: [Qgis-user] QGIS-Kerning-Errors?
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 the 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-user/attachments/20190307/9ba450ea/attachment.html>
More information about the Qgis-user
mailing list