graphics.text · function ·

CreateGraphicsFontProfile

Create graphics font profile from the supplied values.

cpufunctiongraphicsgraphics.textsource-exampletextyeho

Shape, measure, and represent text and glyph resources.

external CreateGraphicsFontProfile(text name, text source, text shaping, text atlasPolicy, text fallbackPolicy, text diagnostics) returns graphicsFontProfile

Status: source-declared

Parameters

text name
Supply name as text.
text source
Supply source as text.
text shaping
Supply shaping as text.
text atlasPolicy
Supply atlas policy as text.
text fallbackPolicy
Supply fallback policy as text.
text diagnostics
Supply diagnostics as text.

Use CreateGraphicsFontProfile

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using graphics.text

// Shape, measure, and represent text and glyph resources.
text name = "Nova"
text source = "example"
text shaping = "shaping"
text atlasPolicy = "atlas Policy"
text fallbackPolicy = "fallback Policy"
text diagnostics = "diagnostics"
graphicsFontProfile result = CreateGraphicsFontProfile(name, source, shaping, atlasPolicy, fallbackPolicy, diagnostics)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_text__creategraphicsfontprofile"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/graphics/text/text.yh:27