Thank you very much for the bug report and the test case. I have filed a corresponding report in our internal issue tracking system. I think this is probably a shortcoming in the third-party PDF export library we use in yEd. This library (FreeHEP VectorGraphics) is quite old and no longer maintained. Thus I am not sure if we will be able to provide a fix for this.