1) ClearType support seems not good enough, some words to show green or red
It is quite confusing as there seems to be "ClearType Fonts" and then there is the the "Sub-pixel ClearType" rendering that is applied to all fonts regardless whether they are a "ClearType Font" or just a plain old font.
I think you are talking about the Sub-pixel ClearType rendering.
There are a other text rendering modes, after Line 44 (HRESULT hr = factories.d2dFactory->CreateHwndRenderTarget...) in juce_win32_Direct2DGraphicsContext.cpp you can drop in:
- Code: Select all
renderingTarget->SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode);
The options for D2D1_TEXT_ANTIALIAS_MODE can be found here.
2) CPU consumes too much, increase more than doubled when d2d enabled (12% -> 26%, Intel i7, 2600K).
Yes there is lots of optimization work needed to be done.
3) the main interface can't responding anything after maximized the window, application suspended animation.
I had never maximized the application before. You are right there is definitely something going wrong there. Part of the missing functionality I'm guessing.

