Previous: Known Bugs Up: FAQ Home Next: LaTeX related problems
General Problems
When I tried to save after attempting to quit with an unsaved file the file became corrupted
This has been fixed in version 0.5.5b. Please upgrade as this is a serious bug.
I get a ClassCastException when exporting an image containing a text-path to SVG
This has been fixed in version 0.5.5b.
The parshape and shapepar functions aren't available when there's more than one object in the image
This has been fixed in version 0.5.4b.
The response is very slow
The response time has improved with version 0.5b, however the following things can still slow Jpgfdraw's reaction time: setting the anti-aliasing on; setting the rendering to quality instead of speed; using a dash pattern with a zero length gap (use a solid line instead).
In addition, if you don't have much memory available: high magnifications, displaying the grid and having a high number of subdivisions on the grid may also slow response time.
When I try moving narrow objects, I end up accidentally scaling/rotating/shearing them
Disable the hotspots using the Settings->Configure... dialog box.
Sometimes lines don't show up
If you have a thin line, and the magnification is small or you have low resolution, the line may be too thin to show up on your display. Try either using a thicker line style, or increasing the magnification.
I lose the cursor when creating a text area at magnifications other than 100%
This has been fixed in version 0.1.6b.
When I try clicking on the canvas to add a new point, nothing happens
Make sure that you are actually clicking and not dragging. Some touch sensitive mouse pads can mistake a click for a drag. Also make sure that you are using one of the construction tools, not the selection tool.
I tried changing the line/text style but nothing happened
Remember to use the Edit->Path and Edit->Text sub-menus to change the styles for existing objects, and use Settings->Styles for all subsequent new objects.
I can't select my text areas (text areas have zero area bounding boxes)
This was fixed in version 0.1.4b.
When I drag to select several objects, sometimes the objects within the drag rectangle are not selected
This was fixed in version 0.1.4b.
The dialog boxes reset themselves when they lose the focus
This was fixed in version 0.1.4b.
The dialog boxes don't have the correct initial values
This was fixed in version 0.1.7b.
Some of the arrow heads come out dashed instead of solid
This was fixed in version 0.1.7b.
Arrow heads point sideways, but they should be pointing another way (e.g., upwards)
Check to make sure you don't have multiple control points at the end of the path. (Select the path, go to edit path mode, and try moving the end point to see if there is a point below it.) If this happens, Jpgfdraw tries to fit an arrow head to a segment with zero dimensions, so it can't work out the correct orientation. Deleting the extra point should fix the problem.
This problem is likely to happen if you have a sensitive touch pad, as it can interpret a double click as a click (new control point) followed by a double-click (new control point and finish path.) If this is the case, it is better to use a single click to set the last point, and then use the Enter key to complete the path.
Also, check the auto-orientation marker settings.
The "End Marker" and "All Markers" dialog boxes have the wrong titles
This has been fixed in version 0.4.1b.
When I undo starting a new text area, I go back to select mode, but the edit text area is still there
This was fixed in version 0.1.7b.
Null pointer exceptions
- I get a null pointer exception when starting up using Vista
and JRE6:
javax.swing.text.JTextComponent.getText(Unknown Source) uk.ac.uea.cmp.nlct.jdrresources.numfield.DoubleField.isValid(DoubleField.java:56)
This only seems to happen with Vista and JRE6, apparently it doesn't happen with JRE5. I will try to find out how to get it to work with the latest version of Java, but for now Vista users will have to stick to an older version of Java. - I get a null pointer exception when starting up using OS X:
Exception in thread "main" java.lang.NullPointerException at JDRFrame.getFont(JpgfDraw.java:681)
This bug should be fixed in version 0.1.9b. - I get a null pointer exception when starting up:
JpgfDraw.getString(JpgfDraw.java: 15768) JpgfDraw.error(JpgfDraw.java: 15556) JpgfDraw.main(JpgfDraw.java: 17620)
This bug should be fixed in version 0.2.1b - I get a null pointer exception when exporting to flowframe
(sty) file.
This bug should be fixed in version 0.5.4b.
I get an exception when pasting an object (using version 0.3b)
This has been fixed in version 0.31b.
Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError
This can happen if you insert several large bitmaps (e.g. photos) in your image. You can allocate more memory as follows:
- Load the jpgfdraw script into a text editor (or jpgfdraw.bat if you are using Windows.) This is located in the bin subdirectory of Jpgfdraw's installation directory.
- Add the option -Xmx512m to the java command. (If you require more or less than 512M change this amount as appropriate.)
- Reload Jpgfdraw.
The pointer doesn't move when I used the Go To Co-ordinates dialog box
If you are using a version prior to version 0.33b, it's possible the java.awt.Robot wasn't initialised. Load the configuration settings file (jpgfdraw.conf) into a text editor, and replace robot=0 with robot=1. Note also that some systems don't allow applications to move the pointer.
The canvas doesn't always scroll to the correct location when using the some of the navigation functions
This should be fixed in version 0.33b.
I changed the screen mode whilst Jpgfdraw was running, and 1in on the canvas no longer displays as 1in on the screen
The mapping between bp and screen pixels is computed on startup to improve Jpgfdraw's reaction time, so it doesn't register the change in screen mode. The Bitmap->Refresh menu item will update the scaling factor.
Objects are not restored to their original location when undoing alignment
This has been fixed in version 0.5b.
Edit text field doesn't register F3 key
This has been fixed in version 0.5b.
Sometimes doesn't register that the file has been saved when closing an image
This has been fixed in version 0.5b.
Text field used to create a new text area doesn't regain focus after dismissing the symbol dialog box
This has been fixed in version 0.5b.
Title bar information doesn't get updated when closing a child window while another one is still open
This has been fixed in version 0.5b.
Title bar information doesn't get updated when switching child windows
This has been fixed in version 0.5b.
Composite markers are not included in the bounding box
This has been fixed in version 0.5b.
Sometimes text gets drawn outside paper limits
This has been fixed in version 0.5b.
If line paint is transparent and markers set to colour as path, the marker dialog box gives error message
This has been fixed in version 0.5b.
Text area bounding boxes are sometimes incorrect
This has been fixed in version 0.5b.
Flowframe and bitmap annotations aren't taken into account when redrawing
This has been fixed in version 0.5b.
Using the delete key to delete a control point causes whole path to disappear
This has been fixed in version 0.5b.
Dash dialog box has the secondary dash disabled even though the secondary button is checked
This has been fixed in version 0.5b.
Undo sometimes replaces second object with duplicate of first object
This has been fixed in version 0.5b.
Break path function doesn't clone markers
This has been fixed in version 0.5b.
Scaling/rotating/shearing a group containing subgroups doesn't transform subgroups correctly
This has been fixed in version 0.5b.
Printer settings not remember in same session
This has been fixed in version 0.5b.
Discarding image while editing path doesn't cancel edit mode
This has been fixed in version 0.5b.
Printing landscape image containing text results in
missing/misplaced text when using java version 1.6.0
I think this is caused by the Java bug identified in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6487767
Version 0.5.1b of Jpgfdraw has a workaround that should prevent this from occurring. If you are using an older version of Jpgfdraw, you will either need to update to Jpgfdraw version 0.5.1b or use an older version (1.5.0) of Java.
If I transform a text area, the text is no longer displayed
correctly when using Java version 1.6.0
This is caused by the same problem as the previous bug. This problem shouldn't occur with version 0.5.1b of Jpgfdraw.
Edit font size and edit font styles dialog boxes always assume 10pt normal font size
This has been fixed in version 0.5.2b.
Parshape and shapepar functions are always shaded when there is more than one object in the image
This has been fixed in version 0.5.4b.
Previous: Known Bugs Up: FAQ Home Next: LaTeX related problems