
I'm trying to add an --export-emf command line option to inkscape.
Having read through the relevant source code on Doxygen, I do not quite understand why some export options have a second global variable with a _utf8 suffix, and some do not. (To be precise, png and svg do, while ps, eps and pdf do not). What do these utf8 duplicate strings do, and (more immediately important to me), should I add one for my new --export-emf option?
The variables are all defined, and only used, in src/main.cpp - http://inkscape.modevia.com/doxygen/html/main_8cpp.php

On 8/16/07, Christopher Kerr <Christopher.Kerr@...1791...> wrote:
Having read through the relevant source code on Doxygen, I do not quite understand why some export options have a second global variable with a _utf8 suffix, and some do not. (To be precise, png and svg do, while ps, eps and pdf do not). What do these utf8 duplicate strings do, and (more immediately important to me), should I add one for my new --export-emf option?
The variables are all defined, and only used, in src/main.cpp - http://inkscape.modevia.com/doxygen/html/main_8cpp.php
As far as I can see, they aren't really used. They just store some converted versions of filenames but not used after that. So I think you can safely proceed without them.
These variables were added back in 2005 by Jon Cruz. Jon, can you please review that now and remove these variables if they aren't needed?
participants (2)
-
bulia byak
-
Christopher Kerr