Let me explain in details the situation described in the previous posts. FMX framework has 2 renderings on Windows platform: 1. DirectX (FMX.Types.GlobalUseDirect2D=True) ? default 2. GDI+ (FMX.Types.GlobalUseDirect2D=False)
We have several issues in our applications when default DirectX (FMX.Types.GlobalUseDirect2D=True) rendering is used. So our application use the second variant: GDI+ (FMX.Types.GlobalUseDirect2D=False). But with this variant we have the problem with FMXMemo (please see previous posts). In FMXMemo we are using Courier New font, but the cursor (caret) position is shifted (please see the screenshot in the first post). On long line the situation is worse, the cursor (caret) is shifted on several symbols to the left of correct positions.
Could you suggest a fix which will allow to use FMXMemo in our application in which we are using GDI+ (FMX.Types.GlobalUseDirect2D=False) instead of default DirectX (FMX.Types.GlobalUseDirect2D=True) rendering? Or does it work correctly with default DirectX (FMX.Types.GlobalUseDirect2D=True) rendering only? Could we expect that this will be fixed in the next release? Please help.
Unfortunately, the rendering of fonts under GDI+ is not supported in TTMSFMXMemo, there are a lot of issues with text calculation and rendering that doesn't allow us to fully support the GlobalUseDirect2D = False setting., please use the default GlobalUseDirect2D = True rendering.