mirror of
https://github.com/ocornut/imgui.git
synced 2025-12-23 22:59:10 +00:00
(Breaking) Fonts: CalcWordWrapPositionA() -> CalcWordWrapPosition(), takes size instead of scale as this will be needed.
This commit is contained in:
@@ -4795,7 +4795,7 @@ bool ImFont::IsGlyphInFont(ImWchar c)
|
||||
return false;
|
||||
}
|
||||
|
||||
// This is manually inlined in CalcTextSizeA() and CalcWordWrapPositionA(), with a non-inline call to BuildLoadGlyphGetAdvanceOrFallback().
|
||||
// This is manually inlined in CalcTextSizeA() and CalcWordWrapPosition(), with a non-inline call to BuildLoadGlyphGetAdvanceOrFallback().
|
||||
IM_MSVC_RUNTIME_CHECKS_OFF
|
||||
float ImFont::GetCharAdvance(ImWchar c)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user