{"id":"graphics.text--CreateGraphicsResolvedFontV2","name":"CreateGraphicsResolvedFontV2","owner":"yeho","package":"graphics.text","kind":"function","signature":"external CreateGraphicsResolvedFontV2(int index, text id, text family, text resourceId, int faceIndex, int weight, text style, text source) returns graphicsResolvedFontV2","description":"Create graphics resolved font v2 from the supplied values.","context":"Shape, measure, and represent text and glyph resources.","parameters":[{"name":"index","type":"int","description":"Supply index as int."},{"name":"id","type":"text","description":"Supply id as text."},{"name":"family","type":"text","description":"Supply family as text."},{"name":"resourceId","type":"text","description":"Supply resource id as text."},{"name":"faceIndex","type":"int","description":"Supply face index as int."},{"name":"weight","type":"int","description":"Supply weight as int."},{"name":"style","type":"text","description":"Supply style as text."},{"name":"source","type":"text","description":"Supply source as text."}],"returns":"graphicsResolvedFontV2","members":[],"tags":["cpu","function","graphics","graphics.text","source-example","text","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/shaping_v2.yh","line":827,"sha256":"ad66072d9d12e22ed0e346be3498b8a3747585595527e5bbc916f1184c525ac4"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use CreateGraphicsResolvedFontV2","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.text\n\n// Shape, measure, and represent text and glyph resources.\nint index = 1\ntext id = \"id\"\ntext family = \"cpu\"\ntext resourceId = \"resource Id\"\nint faceIndex = 1\nint weight = 1\ntext style = \"style\"\ntext source = \"example\"\ngraphicsResolvedFontV2 result = CreateGraphicsResolvedFontV2(index, id, family, resourceId, faceIndex, weight, style, source)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__creategraphicsresolvedfontv2\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"c57d7e2e7add105c784a33e4df858a39627ac57bc81c714a653eb60052f19557","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--CreateGraphicsResolvedFontV2","json":"https://demonhunterlabs.com/reference/items/graphics.text--CreateGraphicsResolvedFontV2.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--CreateGraphicsResolvedFontV2.md"}
