{"id":"graphics.text--graphicsFontReference","name":"graphicsFontReference","owner":"yeho","package":"graphics.text","kind":"thing","signature":"external thing graphicsFontReference","description":"A graphics font reference record carrying family, fallbackFamilies, weight, size, lineHeight, and related state.","context":"Shape, measure, and represent text and glyph resources.","parameters":[],"returns":"void","members":[{"name":"family","kind":"field","type":"text","description":"Stores family as text.","signature":"text family","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"fallbackFamilies","kind":"field","type":"text","description":"Stores fallback families as text.","signature":"text fallbackFamilies","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"weight","kind":"field","type":"int","description":"Stores weight as int.","signature":"int weight","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"size","kind":"field","type":"int","description":"Stores size as int.","signature":"int size","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"lineHeight","kind":"field","type":"int","description":"Stores line height as int.","signature":"int lineHeight","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"style","kind":"field","type":"text","description":"Stores style as text.","signature":"text style","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"features","kind":"field","type":"text","description":"Stores features as text.","signature":"text features","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","graphics.text"],"updated":"2026-09-09"},{"name":"graphicsFontReference","kind":"constructor","parameters":[{"name":"family","type":"text","description":"Family."},{"name":"fallbackFamilies","type":"text","description":"Fallback families."},{"name":"weight","type":"int","description":"Weight."},{"name":"size","type":"int","description":"Size."},{"name":"lineHeight","type":"int","description":"Line height."},{"name":"style","type":"text","description":"Style."},{"name":"features","type":"text","description":"Features."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"graphicsFontReference(text family, text fallbackFamilies, int weight, int size, int lineHeight, text style, text features, text source)","description":"Graphics font reference.","tags":["thing","constructor","graphics.text"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","graphics.text"],"exampleId":"method-ValidationIssue-9","updated":"2026-09-09"},{"name":"CacheIdentity","kind":"method","parameters":[{"name":"locale","type":"text","description":"Locale."},{"name":"scalePercent","type":"int","description":"Scale percent."}],"returns":"text","signature":"CacheIdentity(text locale, int scalePercent) returns text","description":"Cache identity.","tags":["thing","method","graphics.text"],"exampleId":"method-CacheIdentity-10","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.text","method","source-example","text","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/text/shaping.yh","line":5,"sha256":"116949dcf311dd0fd246fd1f36696a40bd178e892887dff1d1d515316e09b6c5"},"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 graphicsFontReference","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.\ngraphicsFontReference sample = graphicsFontReference(\"cpu\", \"fallback Families\", 1, 1, 1, \"style\", \"features\", \"example\")\nConsole.Log(Text.From(sample.family))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsfontreference\"\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":"d9d6f064b526d11f112087afdbcdb0f271a4fd30c24d814a7fc268274b8c98c0","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-9","title":"graphicsFontReference.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Validation issue.\ngraphicsFontReference instance = graphicsFontReference(\"cpu\", \"fallback Families\", 1, 1, 1, \"style\", \"features\", \"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsfontreference\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"29737688abbc825f4ad6d68f5cbce4431d64215344e45986bad104e039998095","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-CacheIdentity-10","title":"graphicsFontReference.CacheIdentity","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.text\n\n// Cache identity.\ngraphicsFontReference instance = graphicsFontReference(\"cpu\", \"fallback Families\", 1, 1, 1, \"style\", \"features\", \"example\")\ntext argument_locale = \"argument locale\"\nint argument_scalePercent = 1\ntext result = instance.CacheIdentity(argument_locale, argument_scalePercent)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_text__graphicsfontreference\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"8374eb2dbce6b1102c722a9e9cd703202643d5437cca40771eb81385053b4ad9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["family","fallbackFamilies","weight","size","lineHeight","style","features","source","graphicsFontReference","ValidationIssue","CacheIdentity"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.text--graphicsFontReference","json":"https://demonhunterlabs.com/reference/items/graphics.text--graphicsFontReference.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.text--graphicsFontReference.md"}
