I have the following image format translation problem. I wonder if someone can advice me about a possible solution.
A Tcl/Tk code builds an image on the canvas (Tcl/Tk jagon) and is saved to an eps file by the Tcl "canvas --> postscript" command.
While the eps (this format is Tcl-imposed) file looks fine, the pdf version, obtained through the Linux
"ps2pdf13" platform-independent conversion, has all the histogram_bar marks and labels messed up.
I build the histogram_bar marks and labels by using a font family "adobe-courier' declared in the Tcl program in order to be able at run-time to dynamically change its size according to the user's selections.
The histogram_bar marks, that get screwed up by ps2pdf conversion, consist of powers of 10 whose exponent can be either positive or negative ( for instance 10 to the power12 or 10 to the power -11). The
base (10) is displayed through a bigger font with respect to the exponent. The font size pair (respectively for the base and the exponent) is selected depending on the GUI window size (Extra-Large, Large, Medium, Small).
Since the canvas picture can have two
radiobutton-selectable aspect-ratios, namely 1:1 and 16:9, all fonts are "rescaled " (size changed accordingly) back and forth when the aspect ratio is changed.
Is the abobe
Thank you in advance for your help,