save wmf file, unexpected result

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

maxchen
Posts: 191
Joined: Fri Oct 10, 2008 4:03 pm

save wmf file, unexpected result

Postby maxchen » Sat Nov 21, 2015 5:03 am

EV9 XP x86, ver20151116

Code: Select all

wfcreate u 8
genr x = @obsid
x(7) = 1
freeze(gf) x.line
gf.axis range(2,5)
gf.save(t=wmf) gf.wmf
gf.save(t=emf) gf.emf

for the save wmf file, the graph was not cropped, the lines go out of the frame.
gf.wmf.7z
wmf file
(559 Bytes) Downloaded 106 times


jpg version of wmf
gf.jpg
screen capture of emf to jpg
gf.jpg (7.05 KiB) Viewed 1718 times

EViews Jason
EViews Developer
Posts: 745
Joined: Tue Sep 16, 2008 3:50 pm

Re: save wmf file, unexpected result

Postby EViews Jason » Mon Nov 23, 2015 4:20 pm

That is actually correct. The successor to wmf files, emf files support clipping.

maxchen
Posts: 191
Joined: Fri Oct 10, 2008 4:03 pm

Re: save wmf file, unexpected result

Postby maxchen » Mon Nov 23, 2015 6:10 pm

thanks! Once I have been told to avoid EMF, for its specification is not published.

But now, it seems the specs of both EMF and WMF are publicly released, on msdn
[MS-EMF]: Enhanced Metafile Format https://msdn.microsoft.com/en-us/library/cc230514.aspx
[MS-WMF]: Windows Metafile Format https://msdn.microsoft.com/en-us/library/cc250370.aspx


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests