MATLAB: Does the white text become black in the figure when printing to an EMF file in MATLAB 7.5 (R2007b)

dmetaemfinverthardcopyMATLABprint

After running the following code
openfig test % test is a saved figure
print('test.emf','-dmeta')
my white text becomes black in my EMF file

Best Answer

This is an expected behavior. This result is affected by the 'inverthardcopy' property. By default the figure's 'inverthardcopy' property is turned on. Turning this off will address the issue.
set(gcf, 'InvertHardCopy', 'off');