You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I have a custom font set, the cursor slowly gets offset the more characters are on a line. The cursor should be at the end of the text, rather than spaced out.
If a custom font scale is set ie ImGui.SetWindowFontScale(FontScale), the cursor also breaks in a similar way though I am not sure if that is the same issue.
Font settings:
unsafe
{varnativeConfig=ImGuiNative.ImFontConfig_ImFontConfig();//Add a higher horizontal/vertical sample rate for global scaling.(*nativeConfig).OversampleH=8;(*nativeConfig).OversampleV=8;(*nativeConfig).RasterizerMultiply=1f;(*nativeConfig).GlyphOffset=newSystem.Numerics.Vector2(0);io.Fonts.AddFontFromFileTTF("Font.ttf",16,nativeConfig);}
When I have a custom font set, the cursor slowly gets offset the more characters are on a line. The cursor should be at the end of the text, rather than spaced out.
If a custom font scale is set ie
ImGui.SetWindowFontScale(FontScale)
, the cursor also breaks in a similar way though I am not sure if that is the same issue.Font settings:
Font file:
Font.zip
Btw thanks for this library! It has been very useful.
The text was updated successfully, but these errors were encountered: