FG problem [message #93296] |
Tue, 07 June 2016 13:29 |
Helder Marchetto
Messages: 520 Registered: November 2011
|
Senior Member |
|
|
Hi,
I already posted about this some time ago, but I still cannot figure out what the source of the problem is, if anybody can replicate this and how to overcome it.
I'm making FG plots and sometimes I get blanked out text. Very simply put, the text on the axis (or elsewhere) appears as a black rectangle. I have an example in a post on my humble website: http://idl.marchetto.de/problems-exporting-fg-graphics-2/
Now the strange thing about this is that I use IDL on three Windows machines: work, home, laptop. On two of the machines I get this problem and on one I don't.
The following is a very basic script to test this:
pro idlOutputProblem
outDir='C:\myOutputDir\testSoftware\'
for i=1,10 do begin
obj = plot(/test)
obj.save, outDir+'test_'+string(i,format='(i02)')+'.jpg'
obj.close
print, i
endfor
end
Fix your output directory accordingly.
Notice that the graphics appears fin on the screen. It is the saved copy that is giving me problems.
What I've tried:
- rendering software/hardware
- changing fonts (partially works, however the main stream fonts don't work)
- changing format (png and jpeg tested)
- using aliasing or the width keyword in the save method
- probably something more...
My main question is: can anybody replicate this in any way (any machine)?
If so... Any clue how to *describe* this so that someone from Harris can look into it?
Thanks,
Helder
|
|
|