# graphicsWindowsResolvedFontIdentity

A graphics windows resolved font identity record carrying index, id, resourceId, family, familyLocale, and related state.

Last updated: 2026-09-09

Package: graphics.text.windows | Status: source-declared

Tags: cpu, graphics, graphics.text.windows, method, source-example, text, thing, windows, yeho

Capture Windows text shaping and glyph rasterization for the shared text model.

```yh
external thing graphicsWindowsResolvedFontIdentity
```

- int index: Stores index as int.
- text id: Stores id as text.
- text resourceId: Stores resource id as text.
- text family: Stores family as text.
- text familyLocale: Stores family locale as text.
- text face: Stores face as text.
- text faceLocale: Stores face locale as text.
- int faceIndex: Stores face index as int.
- int faceType: Stores face type as int.
- int weight: Stores weight as int.
- int stretch: Stores stretch as int.
- int style: Stores style as int.
- int simulations: Stores simulations as int.
- bool symbol: Stores symbol as bool.
- int fileCount: Stores file count as int.
- int sourceBytes: Stores source bytes as int.
- graphicsWindowsResolvedFontIdentity(int index, text id, text resourceId, text family, text familyLocale, text face, text faceLocale, int faceIndex, int faceType, int weight, int stretch, int style, int simulations, bool symbol, int fileCount, int sourceBytes): Graphics windows resolved font identity.
- ValidationIssue(text source) returns text: Validation issue.
- Snapshot() returns text: Snapshot.

## Use graphicsWindowsResolvedFontIdentity

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.windows

// Capture Windows text shaping and glyph rasterization for the shared text model.
graphicsWindowsResolvedFontIdentity sample = graphicsWindowsResolvedFontIdentity(1, "id", "resource Id", "cpu", "family Locale", "face", "face Locale", 1, 1, 1, 1, 1, 1, true, 1, 4)
Console.Log(Text.From(sample.index))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsresolvedfontidentity"
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"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

```

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.windows--graphicsWindowsResolvedFontIdentity/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsWindowsResolvedFontIdentity.ValidationIssue

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using graphics.text.windows

// Validation issue.
graphicsWindowsResolvedFontIdentity instance = graphicsWindowsResolvedFontIdentity(1, "id", "resource Id", "cpu", "family Locale", "face", "face Locale", 1, 1, 1, 1, 1, 1, true, 1, 4)
text argument_source = "argument source"
text result = instance.ValidationIssue(argument_source)
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsresolvedfontidentity"
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"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

```

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.windows--graphicsWindowsResolvedFontIdentity/method-ValidationIssue-17 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsWindowsResolvedFontIdentity.Snapshot

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using graphics.text.windows

// Snapshot.
graphicsWindowsResolvedFontIdentity instance = graphicsWindowsResolvedFontIdentity(1, "id", "resource Id", "cpu", "family Locale", "face", "face Locale", 1, 1, 1, 1, 1, 1, true, 1, 4)
text result = instance.Snapshot()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_text_windows__graphicswindowsresolvedfontidentity"
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"

[[dependencies]]
package = "graphics.text.windows"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text/windows"

```

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.windows--graphicsWindowsResolvedFontIdentity/method-Snapshot-18 --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/windows/glyph_run_capture.yh

AI training permission: https://demonhunterlabs.com/ai-use
