Click on batch files and inspect the PNG to reproduce
application/zip
364460
Comments
Comment #0 by aliloko — 2015-08-10T10:29:20Z
Created attachment 1539
Click on batch files and inspect the PNG to reproduce
So i've had problems with font rendering in a plugin program and made a test case that can reproduce the problem stand-alone.
DMD version: v2.068.0-rc1
OS version: Windows 8
The test case provide two .bat files to run it exposing or not the problem.
The output is a PNG file that contains text if the bug isn't there.
Unfortunately the code is still large, but I'm pretty sure the problem is somewhere in stb_truetype.d
The bug only shows with both -m64 and -O.
It can be work-arounded by removing -O for some modules. But still it prevents to build projects all-at-once and it's time-consuming process.
If you need additional informations just ask.
Comment #1 by aliloko — 2015-08-10T11:29:30Z
Also happens with DMD v2.068.0
Comment #2 by aliloko — 2015-08-10T12:27:12Z
How I work-around this bug today: disabling -O for font.d and compiling it separately.
Comment #3 by aliloko — 2015-08-19T08:34:25Z
Why no answer? Is there a problem with this report?
Comment #4 by ag0aep6g — 2015-08-19T12:45:33Z
(In reply to ponce from comment #3)
> Why no answer? Is there a problem with this report?
You generally don't get a response unless something is happening. I.e., no "thank you for your bug report" kind of messages.
The test case is pretty large. It will probably have to be reduced further before work on a fix can begin. This may be something you can do to drive things forward.
Comment #5 by aliloko — 2015-08-23T17:51:27Z
Can't reproduce on Mac OS X, odd.
Comment #6 by aliloko — 2015-08-23T19:46:00Z
Removing the synchronized(this) in font.d:L118 removes the bug. It doesn't seem related to codegen afterall.
Comment #7 by dlang-bugzilla — 2015-09-01T08:39:36Z
Have you had any success with DustMite?
Comment #8 by aliloko — 2015-09-01T09:00:52Z
Haven't tried.
Comment #9 by bugzilla — 2020-09-03T08:17:14Z
(In reply to ponce from comment #8)
> Haven't tried.
Is the problem still there?
Comment #10 by aliloko — 2020-12-19T01:48:13Z
No, doesn't happen with v2.094.0
Very probably fixed since. This can be closed.