mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 08:38:51 +00:00
Add fontIndex parameter to fontstash that controls which font in a TTC to load
This commit is contained in:
+1
@@ -5,6 +5,7 @@ AddFontPath :: proc(
|
||||
ctx: ^FontContext,
|
||||
name: string,
|
||||
path: string,
|
||||
fontIndex: int = 0,
|
||||
) -> int {
|
||||
panic("fontstash.AddFontPath is unsupported on the JS target")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user