# graphicsFontProfile

A graphics font profile record carrying name, source, shaping, atlasPolicy, fallbackPolicy, and related state.

Last updated: 2026-09-09

Package: graphics.text | Status: source-declared

Tags: cpu, graphics, graphics.text, method, source-example, text, thing, yeho

Shape, measure, and represent text and glyph resources.

```yh
external thing graphicsFontProfile
```

- text name: Stores name as text.
- text source: Stores source as text.
- text shaping: Stores shaping as text.
- text atlasPolicy: Stores atlas policy as text.
- text fallbackPolicy: Stores fallback policy as text.
- text diagnostics: Stores diagnostics as text.
- graphicsFontProfile(text name, text source, text shaping, text atlasPolicy, text fallbackPolicy, text diagnostics): Graphics font profile.
- Describe() returns text: Describe.

## Use graphicsFontProfile

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
using graphics.text

// Shape, measure, and represent text and glyph resources.
graphicsFontProfile sample = graphicsFontProfile("Nova", "example", "shaping", "atlas Policy", "fallback Policy", "diagnostics")
Console.Log(Text.From(sample.name))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_text__graphicsfontprofile"
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text--graphicsFontProfile/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsFontProfile.Describe

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using graphics.text

// Describe.
graphicsFontProfile instance = graphicsFontProfile("Nova", "example", "shaping", "atlas Policy", "fallback Policy", "diagnostics")
text result = instance.Describe()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_text__graphicsfontprofile"
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.text--graphicsFontProfile/method-Describe-7 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

Source: yeho/packages/graphics/text/text.yh

AI training permission: https://demonhunterlabs.com/ai-use
