https://bugs.winehq.org/show_bug.cgi?id=48877
--- Comment #3 from Jeff Smith whydoubt@gmail.com --- While wine does need to deal with that initial zero-length line better, I have a suspicion that the problematic path is being created that way due to another bug in gdiplus.
I haven't been able to reproduce the problem you describe, so I wonder if you would be able to set WINEDEBUG=+gdiplus and send the output to a log file. Then attach the log file to this bug.