[mapserver-commits] r13175 - sandbox/tb-labels

svn at osgeo.org svn at osgeo.org
Mon Feb 27 09:40:03 EST 2012


Author: tbonfort
Date: 2012-02-27 06:40:03 -0800 (Mon, 27 Feb 2012)
New Revision: 13175

Modified:
   sandbox/tb-labels/mapagg.cpp
Log:
force setting font size if we've changed font


Modified: sandbox/tb-labels/mapagg.cpp
===================================================================
--- sandbox/tb-labels/mapagg.cpp	2012-02-25 16:04:34 UTC (rev 13174)
+++ sandbox/tb-labels/mapagg.cpp	2012-02-27 14:40:03 UTC (rev 13175)
@@ -188,9 +188,11 @@
          cache->m_feng.resolution(96);
       if(!cache->m_feng.flip_y())
          cache->m_feng.flip_y(true);
+      cache->m_feng.height(size);
+   } else {
+      if(cache->m_feng.height()!=size)
+         cache->m_feng.height(size);
    }
-   if(cache->m_feng.height()!=size)
-      cache->m_feng.height(size);
    return MS_SUCCESS;
 }
 



More information about the mapserver-commits mailing list