[fusion-trac] #584: Support legend output in PDF QuickPlot

Fusion trac_fusion at osgeo.org
Tue Oct 15 12:43:33 PDT 2013


#584: Support legend output in PDF QuickPlot
-------------------------+--------------------------------------------------
 Reporter:  jng          |         Owner:  jng     
     Type:  enhancement  |        Status:  reopened
 Priority:  P2           |     Milestone:  Future  
Component:  Widgets      |       Version:  2.0     
 Severity:  Major        |    Resolution:          
 Keywords:               |   External_id:          
    State:  New          |       Browser:  All     
       Os:  All          |  
-------------------------+--------------------------------------------------
Changes (by steveg):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 In the 2.6 Fusion preview the legend option was added to the QuickPlot
 widget, but there are some problems when you change the DPI of the plot.
 As you increase the DPI, the size of the legend decreases.  I've attached
 two quickplot PDFs as examples.

 Perhaps on line 253 of (PlotAsPDF.php) is where some of the problem
 exists:


 {{{
 function PxToIn($px, $dpi) {
         return ($px * 25.4) / $dpi;
 }}}


 Also, in Maestro, I've noticed under the Widget Management, when the
 DefaultDPI is set, the user is not given the option to change the DPI, but
 if DefaultDPI is blank then the user can choose the options.  I think it
 would be more appropriate to provide a default DPI to the user, but also
 give the user the option to change it.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/584#comment:2>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list