graphics.text.windows · thing ·
graphicsWindowsResolvedFontIdentity
A graphics windows resolved font identity record carrying index, id, resourceId, family, familyLocale, and related state.
Capture Windows text shaping and glyph rasterization for the shared text model.
external thing graphicsWindowsResolvedFontIdentityStatus: source-declared
Fields and methods (19)
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. Complete example
Snapshot() returns text- Snapshot. Complete example
Use graphicsWindowsResolvedFontIdentity
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.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))
project.mech
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"
graphicsWindowsResolvedFontIdentity.ValidationIssue
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
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))
project.mech
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"
graphicsWindowsResolvedFontIdentity.Snapshot
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
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))
project.mech
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"
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/windows/glyph_run_capture.yh:63