From: Ken Youens-C. <ky...@gm...> - 2005-02-15 14:59:09
|
On Feb 14, 2005, at 6:11 PM, Matthew Hobbs wrote: > When I create an SVG version of a map the numbers on the scale are > misplaced > (too far to the right) e.g. > http://medvet.angis.org.au/cgi-bin/cmap/viewer? > refMenu=&compMenu=1&optionMenu=1&addOpMenu=1&ref_map_start=&ref_map_sto > p=&min_correspondences=&comp_map_set_left=&comp_map_set_right=&highligh > t=arf1&feature_type_1=2&feature_type_4=2&feature_type_2=2&evidence_type > _1=1&aggregate=0&magnify_all=1&image_size=large&font_size=small&image_t > ype=svg&label_features=all&collapse_features=1&scale_maps=1&ref_map_set > _aid=42&ref_map_aids=849&modified_ref_map=&ref_map_names=&ref_species_a > id=1&comparative_maps=&modified_comp_map=&flip=&data_source=CMAP&sub=Re > draw+Map > I see the problem with with Adobe's SVGviewer plugin, and also when I > open the > file in an SVG editor, so I think it is the SVG content and not the > viewer > that is to blame. In the SVGviewer the numbers are off the graphic > entirely > until you use the zoom out option. Matthew, The SVG output is a bit off sometimes. It's a by-product of not really using a native SVG module. We use a very useful module called GD::SVG that interprets GD commands into SVG commands. The results are sometimes off. You might check to see if you have the latest version of GD::SVG as the author (Todd Harris, also of Lincoln's lab) may have fixed this. I think I remember telling him something about vertical text being wrong. ky |