{"action":"created","issue":{"url":"https://api.github.com/repos/altmany/export_fig/issues/102","labels_url":"https://api.github.com/repos/altmany/export_fig/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/altmany/export_fig/issues/102/comments","events_url":"https://api.github.com/repos/altmany/export_fig/issues/102/events","html_url":"https://github.com/altmany/export_fig/issues/102","id":105460739,"number":102,"title":"Mis-sized text boxes","user":{"login":"matlaw","id":13401131,"avatar_url":"https://avatars.githubusercontent.com/u/13401131?v=3","gravatar_id":"","url":"https://api.github.com/users/matlaw","html_url":"https://github.com/matlaw","followers_url":"https://api.github.com/users/matlaw/followers","following_url":"https://api.github.com/users/matlaw/following{/other_user}","gists_url":"https://api.github.com/users/matlaw/gists{/gist_id}","starred_url":"https://api.github.com/users/matlaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matlaw/subscriptions","organizations_url":"https://api.github.com/users/matlaw/orgs","repos_url":"https://api.github.com/users/matlaw/repos","events_url":"https://api.github.com/users/matlaw/events{/privacy}","received_events_url":"https://api.github.com/users/matlaw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-08T20:16:28Z","updated_at":"2015-09-08T20:38:45Z","closed_at":"2015-09-08T20:38:45Z","body":"I just upgraded to matlab R2015b and now text boxes seem to change size when exported to pdf (worked fine in R2014b which I was using before and I downloaded the latest exportfig files).\r\n\r\nHere's a screen shot of the figure from matlab:\r\n\r\n<img width=\"561\" alt=\"screen shot 2015-09-08 at 1 11 08 pm\" src=\"https://cloud.githubusercontent.com/assets/13401131/9746153/1d224842-562b-11e5-8907-b3f2fe0c3978.png\">\r\n\r\nHere's a screen shot of the image after exporting:\r\n\r\n<img width=\"883\" alt=\"screen shot 2015-09-08 at 1 11 59 pm\" src=\"https://cloud.githubusercontent.com/assets/13401131/9746170/394982c4-562b-11e5-9290-859e0ccae050.png\">\r\n\r\n\r\nThe text box was created using this command:\r\n\r\ntextline2=['% of Model:   ',sprintf('%0.1f',100*(measuretotaltonnes/modeltotaltonnes))];\r\ntextline1='';\r\ntextline3='';\r\ntext(datenum([datestr(v2model.measure.time(1),1),' 06:30:00']),14.5,{textline1,textline2,textline3},'FontSize',12,'EdgeColor','black');\r\n\r\n\r\nThe figure was exported using this command (attached as :\r\n\r\nexport_fig(pdffilename,'-nocrop','-transparent','-pdf',plothandles(3))\r\n\r\nHopefully that's enough info, but if you need more, let me know.\r\n\r\nThanks,\r\n\r\nMatthew"},"comment":{"url":"https://api.github.com/repos/altmany/export_fig/issues/comments/138692393","html_url":"https://github.com/altmany/export_fig/issues/102#issuecomment-138692393","issue_url":"https://api.github.com/repos/altmany/export_fig/issues/102","id":138692393,"user":{"login":"altmany","id":10243182,"avatar_url":"https://avatars.githubusercontent.com/u/10243182?v=3","gravatar_id":"","url":"https://api.github.com/users/altmany","html_url":"https://github.com/altmany","followers_url":"https://api.github.com/users/altmany/followers","following_url":"https://api.github.com/users/altmany/following{/other_user}","gists_url":"https://api.github.com/users/altmany/gists{/gist_id}","starred_url":"https://api.github.com/users/altmany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/altmany/subscriptions","organizations_url":"https://api.github.com/users/altmany/orgs","repos_url":"https://api.github.com/users/altmany/repos","events_url":"https://api.github.com/users/altmany/events{/privacy}","received_events_url":"https://api.github.com/users/altmany/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T20:38:45Z","updated_at":"2015-09-08T20:38:45Z","body":"I think this is simply due to the enlarged font-size in the output. You can see that the text is positioned in exactly the correct place. I suggest that you simply remove the ```'EdgeColor','black'``` property setting so that the text object will have no border and then everything will look ok."}}