Commit 6e0ee6f
committed
Fonts: removed misleading SizePixels >= 0.0f test and stbtt_ScaleForMappingEmToPixels() call in ImGui_ImplStbTrueType_FontSrcInit(). (#8857)
Logic was picked in 9a97128 while extracting code from stbtt_PackFontRangesGatherRects(), but ScaleForMappingEmToPixels() was actually never called: we assert against negative SizePixels since 2015.1 parent d27dce5 commit 6e0ee6f
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4596 | 4596 | | |
4597 | 4597 | | |
4598 | 4598 | | |
4599 | | - | |
4600 | | - | |
4601 | | - | |
4602 | | - | |
| 4599 | + | |
4603 | 4600 | | |
4604 | 4601 | | |
4605 | 4602 | | |
| |||
0 commit comments