index 3c3cf6682dc25ce1f5288ac848810f44f568e888..f33a0d2b8775c9d329e9571d67c0b5c6277e3761 100644 (file)
FILE *osf, *osp;
const gchar * fn;
FILE *osf, *osp;
const gchar * fn;
+ os.setf(std::ios::fixed);
+
fn = mod->get_param_string("destination");
osf = NULL;
fn = mod->get_param_string("destination");
osf = NULL;
Inkscape::SVGOStringStream os;
float rgb[3];
Inkscape::SVGOStringStream os;
float rgb[3];
+ os.setf(std::ios::fixed);
+
sp_color_get_rgb_floatv(&style->fill.value.color, rgb);
os << "{\n\\newrgbcolor{curcolor}{" << rgb[0] << " " << rgb[1] << " " << rgb[2] << "}\n";
sp_color_get_rgb_floatv(&style->fill.value.color, rgb);
os << "{\n\\newrgbcolor{curcolor}{" << rgb[0] << " " << rgb[1] << " " << rgb[2] << "}\n";
@@ -239,6 +243,8 @@ PrintLatex::stroke (Inkscape::Extension::Print *mod, const NRBPath *bpath, const
Inkscape::SVGOStringStream os;
float rgb[3];
Inkscape::SVGOStringStream os;
float rgb[3];
+ os.setf(std::ios::fixed);
+
sp_color_get_rgb_floatv(&style->stroke.value.color, rgb);
os << "{\n\\newrgbcolor{curcolor}{" << rgb[0] << " " << rgb[1] << " " << rgb[2] << "}\n";
sp_color_get_rgb_floatv(&style->stroke.value.color, rgb);
os << "{\n\\newrgbcolor{curcolor}{" << rgb[0] << " " << rgb[1] << " " << rgb[2] << "}\n";