[Gvsig_usuarios] error al exportar a pdf

Sandra Castro Garcia sandra.castro en signatura21.com
Mie Abr 4 13:04:43 CEST 2007


Hola, estoy utilizando la versión 1.0.1 y tengo problemas al intentar 
exportar a pdf, pero también al imprimir en pdf, tarda muchísimo, supongo 
que será porque es el mapa es muy pesado (A1). El error al intentar exportar 
a pdf es el siguiente: 

Error no detectat per l'usuari java.lang.IllegalArgumentException: Zero 
length string passed to TextLayout constructor.     
java.awt.font.TextLayout. (Unknown Source)     
com.lowagie.text.pdf.PdfGraphics2D.drawString(Unknown Source)     
com.lowagie.text.pdf.PdfGraphics2D.drawString(Unknown Source)     
com.iver.cit.gvsig.fmap.core.v02.FGraphicUtilities.DrawLabel(FGraphicUtiliti 
es.java:459)     
com.iver.cit.gvsig.fmap.core.v02.FLabel.draw(FLabel.java:411)     
com.iver.cit.gvsig.fmap.layers.FLyrText.drawLabels(FLyrText.java:266)     
com.iver.cit.gvsig.fmap.layers.FLyrText.draw(FLyrText.java:397)     
com.iver.cit.gvsig.fmap.layers.FLyrVect.print(FLyrVect.java:397)     
com.iver.cit.gvsig.fmap.layers.FLayers.print(FLayers.java:524)     
com.iver.cit.gvsig.fmap.MapContext.print(MapContext.java:315)     
com.iver.cit.gvsig.gui.layout.fframes.FFrameView.printX(FFrameView.java:491) 
com.iver.cit.gvsig.gui.layout.fframes.FFrameView.draw(FFrameView.java:432)   
com.iver.cit.gvsig.gui.layout.fframes.FFrameView.print(FFrameView.java:468)  
com.iver.cit.gvsig.gui.layout.Layout.drawLayoutPrint(Layout.java:524)     
com.iver.cit.gvsig.Print.drawShapes(Print.java:158)     
com.iver.cit.gvsig.Print.print(Print.java:249)     
com.iver.cit.gvsig.project.documents.layout.FLayoutDraw.toPDF(FLayoutDraw.ja 
va:714)     
com.iver.cit.gvsig.gui.layout.Layout.layoutToPDF(Layout.java:1588)     
com.iver.cit.gvsig.gui.layout.Layout.layoutToPDF(Layout.java:1625)     
com.iver.cit.gvsig.ExportLayoutExtension.execute(ExportLayoutExtension.java: 
80)     
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:8 
7)     
com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:620)     
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)     
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown 
Source)     javax.swing.DefaultButtonModel.fireActionPerformed(Unknown 
Source)     javax.swing.DefaultButtonModel.setPressed(Unknown Source)     
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)     
java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)     
java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)     
java.awt.Component.processMouseEvent(Unknown Source)     
java.awt.Component.processEvent(Unknown Source)     
java.awt.Container.processEvent(Unknown Source)     
java.awt.Component.dispatchEventImpl(Unknown Source)     
java.awt.Container.dispatchEventImpl(Unknown Source)     
java.awt.Component.dispatchEvent(Unknown Source)     
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)     
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)     
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)     
java.awt.Container.dispatchEventImpl(Unknown Source)     
java.awt.Window.dispatchEventImpl(Unknown Source)     
java.awt.Component.dispatchEvent(Unknown Source)     
java.awt.EventQueue.dispatchEvent(Unknown Source)     
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)  
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     
java.awt.EventDispatchThread.pumpEvents(Unknown Source)     
java.awt.EventDispatchThread.pumpEvents(Unknown Source)     
java.awt.EventDispatchThread.run(Unknown Source) 

Muchas gracias por anticipado



Más información sobre la lista de distribución gvSIG_usuarios