https://issues.qgis.org/https://issues.qgis.org/favicon.ico2013-06-15T02:57:55ZQGIS Issue TrackingQGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=420452013-06-15T02:57:55ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Severe/Regression</i></li></ul><p>Confirmed the issue with font sizes. I cannot see any problem with transparencies of both features or labels.</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=420602013-06-15T14:18:33ZLarry Shaffer
<ul></ul><p>I believe this may be due to my recent reworking of that part of labeling engine. I'll be working on <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/3975" title="PDF exports on OSX always convert text to outlines (Closed)">#3975</a> next (same area of code) and will also look into this.</p>
<p>I have not worked on QGIS Server before, so I have not assigned myself to the issue, if that is where the issue actually is.</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=420612013-06-15T14:20:26ZLarry Shaffer
<ul></ul><p>Assuming this is for fonts defined as points (is it?), as a test, could you see if it also happens when a font size is defined in map units (like UTM meters)?</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=420622013-06-15T14:25:46ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Larry Shaffer wrote:</p>
<blockquote>
<p>could you see if it also happens when a font size is defined in map units (like UTM meters)?</p>
</blockquote>
<p>yes</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=422762013-06-23T22:05:06ZAndreas Neumann
<ul></ul><p>Just a quick question.</p>
<p>Are you sure that the fonts are properly installed on QGIS server? I also had font-issues between server and desktop and believed the fonts were intalled, but they were not.</p>
<p>Once I properly installed the fonts, updated the font-cache and restarted Apache, the fonts rendered fine on QGIS server - like on Desktop.</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=422782013-06-24T00:50:56ZPaolo Cavallinicavallini@faunalia.it
<ul></ul><p>Until a recent qgis server upgrade things worked well. Now checked by setting up all fonts in the project a lmodern and:</p>
<pre>
aptitude install lmodern
dpkg-reconfigure fontconfig-config
dpkg-reconfigure fontconfig
/etc/init.d/apache2 restart
</pre>
<p>Results as attached (bigger labels from WMS, smaller from the project). See also <a class="external" href="http://geosisma-lizmap.faunalia.it">http://geosisma-lizmap.faunalia.it</a> (fonts too big, labels overlap each other).</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=422792013-06-24T00:54:14ZPaolo Cavallinicavallini@faunalia.it
<ul><li><strong>File</strong> <a href="/attachments/download/5903/labels.png">labels.png</a> added</li></ul> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=425462013-07-01T08:22:07ZSalvatore Larosalrssvtml@gmail.com
<ul></ul><p>Same here: <a class="external" href="http://lrssvt.ns0.it/img/label_font_wms.gif">http://lrssvt.ns0.it/img/label_font_wms.gif</a></p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=431422013-07-15T00:33:25ZMichael Douchin
<ul></ul><p>I have seen that this bug also concerns the composer legend font size in server-side produced pdf. When exporting a composer from QGIS desktop to pdf, font size are correct. When using the getPrint request from the server to do the same export, font size are bigger.</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=433892013-07-20T02:54:48ZJürgen Fischerjef@norbit.de
<ul></ul><p>This might also affect tests. Eg. <a class="external" href="http://dash.orfeo-toolbox.org/testDetails.php?test=18079481&build=123920">http://dash.orfeo-toolbox.org/testDetails.php?test=18079481&build=123920</a></p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=436312013-07-27T19:09:08ZNathan Woodrow
<ul></ul><p>Should this be blocking QGIS Desktop when it's server related?</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=436512013-07-28T23:16:29ZPaolo Cavallinicavallini@faunalia.it
<ul></ul><p>AFAIK we are releasing both together, so blockers for one is blocking also the other.</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=436542013-07-28T23:28:45ZMarco Hugentoblermarco.hugentobler@sourcepole.ch
<ul><li><strong>Category</strong> changed from <i>QGIS Server</i> to <i>Labelling</i></li></ul><blockquote>
<p>Should this be blocking QGIS Desktop when it's server related?</p>
</blockquote>
<p>It is most likely labeling related.</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=436562013-07-28T23:58:32ZPaolo Cavallinicavallini@faunalia.it
<ul></ul><p>This is also my understanding. It appeared after a Larry modification of the labelling.</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=436672013-07-29T07:36:21ZLarry Shaffer
<ul><li><strong>Assignee</strong> set to <i>Larry Shaffer</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>70</i></li></ul><p>Hi,</p>
<p>I finally got some time to start work on this. It appears to be a little of both Server and labeling, but mostly it is a labeling issue.</p>
<p>The basic cause, as far as I can determine, is that the server initializes its default QImage at 75 dpi (<em>why specifically 75?</em>, I can't determine). On Mac, where the default renderer's painter device is 72 dpi, this causes the Desktop fonts to be 1.04 larger than the server's. On other platforms, where the default dpi is higher (say 96), then the server fonts would be shown larger.</p>
<p>I have an adjustment ratio for such a dpi difference for producing print output with labels, but it is triggered only for rasterized output. When I adjusted this to be always on, it fixed the server font issue (at least on my Mac), but then caused complicated issues with the drop shadow implementation.</p>
<p>I will work more on it tonight and clean up the branch/commits so others can test/help. Unfortunately, I have not had the time to build a comprehensive test suite using the new labeling Python API.</p>
<p>There are also a couple of other issues with labeling output (letter-spacing, etc.) that I will work on next, then hopefully I can find the time to produce the test suite to discover more issues.</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=445592013-09-06T10:34:54ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Target version</strong> set to <i>Future Release - High Priority</i></li></ul> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=476012014-01-23T07:38:23ZKarl-Magnus Jonssonkarl-magnus.jonsson@kristianstad.se
<ul></ul><p>Hi,<br />can we expect this issue to be fixed in version 2.2? It would really be appreciated. We havn't upgraded our production server to 2.0 yet and that's too bad.</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=477352014-01-26T22:11:27ZEvgeniy Nikulinnikulin.e@gmail.com
<ul></ul><p>It's blocker. We can not use the server > 1.8.</p> QGIS Application - Bug report #8068: Wrong font display in qgis serverhttps://issues.qgis.org/issues/8068?journal_id=483172014-02-08T04:11:25ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li></ul><p>In the latest master code for qgis server seems that things are ok. I tested on both Linux (ubuntu) and Windows (osgeo4w).</p>
<p>Please reopen if necessary.</p>