# Font Picker

The Font Picker has three tabs: **Choose Font,** **Google Fonts**, and **Theme Fonts**. When you are editing a theme font, only the Choose Font and Google Fonts tabs are visible. When selecting a font on a widget, only the Choose Font and Theme Fonts tabs are visible.

The **Choose Font** tab lets you build a font definition, the **Google Fonts** tab lets you choose and optionally embed a google font, and the **Theme Fonts** tab lets you select one of the fonts defined in the theme.

![](https://4196911125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrHxzbanglDTTaYfB34Z%2Fuploads%2Fgit-blob-50c5caf9acc2974184087c4ffe9ee99e4dc547c9%2Fimage%20\(61\).png?alt=media)

| Element     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Font Family | Defines the list of font names to use in the theme. The browser will use the first supported font family.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Dimensions  | Defines the size of the font in pixels. The Line Height is usually not needed and should be omitted.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Style       | <p>Use the <strong>Bold</strong> and <strong>Italic</strong> check boxes to specify the font-weight and the font-style. When the check boxes are in the indeterminate state, the font-weight or font-style are not added to the definition. Otherwise the font definition will have a font-weight and a font-style.</p><p>The decoration drop down lets you define the text-decoration style.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Sources     | <p>The sources list lets you add custom font definition files (URLs) and define a new font family. See <a href="../theme-elements/fonts">Fonts</a> for more information.</p><p>Click <img src="https://4196911125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrHxzbanglDTTaYfB34Z%2Fuploads%2Fgit-blob-2324a39b03f731a2763d8c41e2e96f5a485686c0%2FAdd%20(1).png?alt=media" alt="add Icon.Image">to add new font and specify where the font files are located.</p><p><img src="https://4196911125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrHxzbanglDTTaYfB34Z%2Fuploads%2Fgit-blob-50c5caf9acc2974184087c4ffe9ee99e4dc547c9%2Fimage%20(51).png?alt=media" alt="" data-size="original"></p><p>The dialog shown above lets you define a font family name and associate it with one or more font sources. Once defined, the new font family name can go into the <strong>Font Family</strong> field. Use the <img src="https://4196911125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrHxzbanglDTTaYfB34Z%2Fuploads%2Fgit-blob-5769ebf8f20b6d79ff23d85221048386122697dd%2Fimage%20(53).png?alt=media" alt=""> button to import a local file as an embedded base64 data font.</p> |
| Text Shadow | Here you can type a CSS font shadow definition. See [CSS text-shadow property](http://www.w3schools.com/cssref/css3_pr_text-shadow.asp). i.e. "2px 2px #ff0000".                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |

The **Google Fonts** tab allows you pick one of the fonts offered by [Google Fonts](https://fonts.google.com) and either link the source of embed the font in the theme. We usually recommend embedding the font: it loads faster and your users will not require an open internet connection to download the font from Google.

{% hint style="info" %}
Make sure to use both, the woff and the ttf version of web fonts to make auto sizing work properly. See [Tips & Tricks](https://docs.wisej.com/theme-builder/concepts/tips-and-tricks) for more details.
{% endhint %}

![](https://4196911125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrHxzbanglDTTaYfB34Z%2Fuploads%2Fgit-blob-823fc7046f405b6e6325b715f0f4fbe3e927aedc%2Fimage%20\(50\).png?alt=media)

| Element           | Description                                                                                                                                                                                                                                                                                                                                                                                       |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Font Family       | Selects the Google Font.                                                                                                                                                                                                                                                                                                                                                                          |
| Embed as Data URI | When checked (default), the font is downloaded and embedded in the theme file as a base64 data URI.                                                                                                                                                                                                                                                                                               |
| Dimensions        | Defines the size of the font in pixels. The Line Height is usually not needed and should be omitted.                                                                                                                                                                                                                                                                                              |
| Style             | <p>Use the <strong>Bold</strong> and <strong>Italic</strong> check boxes to specify the font-weight and the font-style. When the check boxes are in the indeterminate state, the font-weight or font-style are not added to the definition. Otherwise the font definition will have a font-weight and a font-style.</p><p>The decoration drop down lets you define the text-decoration style.</p> |
| Text Shadow       | Here you can type a CSS font shadow definition. See [CSS text-shadow property](http://www.w3schools.com/cssref/css3_pr_text-shadow.asp). i.e. "2px 2px #ff0000".                                                                                                                                                                                                                                  |

The **Theme Fonts** tab is visible when selecting a font for the *font* property of a specific appearance.

![](https://4196911125-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyrHxzbanglDTTaYfB34Z%2Fuploads%2Fgit-blob-42ef5d9a21bcd3cf644fced80ff73a35a57269ba%2Fimage%20\(56\).png?alt=media)


---

# 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.wisej.com/theme-builder/user-interface/font-picker.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.
