ImGui.NET icon indicating copy to clipboard operation
ImGui.NET copied to clipboard

Problems with oversampling producing jagged results.

Open enquel opened this issue 6 years ago • 0 comments

Hello, I am able to add custom font and use instead of the default and apply oversampling, but the fonts become jagged - am I missing something here? My goal is to achieve sharp font rendering. I have tried combining oversampling with ImGui.GetIO().FontGlobalScale / ImGui.GetIO().DisplayFramebufferScale() / tweaking font size, but it looks only worse. Please see the screens. (normal res; x2; x3). It looks as if the font texture was not recreated at high enough resolution, although RecreateFontDeviceTexture() was called after all scaling was set (right in the beginning of the ImGui controller constructor). Any idea?

Also, changing IO.DisplaySize() does nothing (before NewFrame()). Am I missing something?

Best regards

issueBlur

enquel avatar Nov 15 '19 14:11 enquel