# Font Values

## Introduction

Font values in the GraphicalUiElement can be used to change the font displayed by the internal Text object. If the GraphicalUiElement does not contain an internal Text instance, then font values are ignored.

Font values are ultimately stored on a GraphicalUiElement to support objects which contain Text instances or which are on platforms which may not support TextRuntime.

For more information on font values, see the [TextRuntime page](/gum/code/standard-visuals/textruntime.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flatredball.com/gum/code/gum-code-reference/graphicaluielement/font-values.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
