FontOps1.3.0 Asset Store ↗
  1. FontOps
  2. Audit and clean up

Text Auditor and tools

The Tools tab keeps your type in order. The Text Auditor checks every text against your palette and fixes what fails; the Font Scanner finds duplicate and unconverted fonts; the Palette Extractor builds a palette from the fonts you already use.

Updated for 1.3.0

Audit your project

Open Tools › FontOps › TOOLS › TEXT AUDITOR, then:

  1. Pick the palette to check against in PALETTE. It starts on your active palette; leave it empty for the usage audit.
  2. Pick the scope next to SCAN (Whole project, Folder… or Open scenes) and press SCAN.
  3. Press NON-COMPLIANT to list only the texts that fail, each with the reason.
  4. Press FIX on each failing row (pick a role first when it reads PICK ROLE), or use APPLY… in My Fonts › Palettes for whole screens.
  5. For a text that is different on purpose, press IGNORE and type why.
  6. Re-scan to verify — aim for 100% on the progress bar.

Text Auditor

The Text Auditor checks the text components in your scenes and prefabs — both TMP_Text and legacy UnityEngine.UI.Text — against a Font Palette. A text complies when its font is one of the palette’s fonts. The result tells you which texts match a role, which ones don’t and why, and fixes them for you.

What it scans

The button next to SCAN picks what to scan: Whole project, Folder… or Open scenes. SCAN changes to match: SCAN PROJECT, SCAN FOLDER or SCAN SCENES, and with Folder… the button shows the folder you picked. Whole project covers the scenes and prefabs under Assets/; scenes in packages are never opened.

The scope menu next to SCAN SCENES open with Whole project, Folder… and Open scenes (ticked)
The scope menu.

Scenes the scan had to skip are listed under the status line with the reason, so a partial scan never looks complete. For example, an untitled scene that was never saved:

⚠ Skipped 1:
(untitled): save the scene to audit it.

The PALETTE field picks the palette to check against. It follows the active palette in My Fonts: whenever you change that one, the field changes too, and a palette you pick here stays until then. Changing the field re-audits the last scan at once, with no new scan. Clear the field to get the usage audit instead.

Text Auditor with SCAN SCENES, OPEN SCENES and PALETTE MyPalette: 11 COMPLIANT, 1 NON-COMPLIANT, 0 IGNORED, filter pills, the status Compliance: 92% (12 components). Scanned: open scenes., and the LevelComplete group, 11/12 compliant, with role badges; the added Text (TMP) has a TUTORIAL tag, LiberationSans SDF 48, a cross badge, the reason line LiberationSans SDF not in palette · size 48 vs 80 · no applier · closest role Header (30 %), PICK ROLE and FIX
The Text Auditor on the sample’s Level Complete scene with MyPalette: 11 of 12 texts comply, and the text added in the audit tutorial says why it fails.

Filter pills

The first group of pills filters by compliance status: ALL, NON-COMPLIANT, COMPLIANT, or IGNORED, each with its count. The second group, after the divider, filters by asset type: ALL, PREFABS, or SCENES. Combine both groups to narrow results — for example, show only non-compliant prefabs. Without a palette only the second group is shown.

Results by scene and prefab

Results are grouped by scene or prefab. Each group header shows the asset name and how many of its texts comply, like 11/12 compliant: green when all of them do, red otherwise. Ignored texts count on neither side and are listed after it (11/11 compliant · 1 ignored). Without a palette the header shows the number of texts instead, like 11 text(s).

Each row shows the text’s parent path, its GameObject name, its font and size, and a badge: the role it matches when it complies (the role on its Font Palette Applier, or else the closest role that uses its font), ✗ when it doesn’t, and — when it is ignored. Click a row to select the text; OPEN opens the scene or prefab. Both offer to save unsaved scenes before they open another one.

The header’s IGNORE leaves a whole scene or prefab out: on the palette when one is picked, for the whole project when none is. Ignored assets move to an IGNORED section at the bottom of the list (click its header to fold it), where RESTORE brings them back.

Click any asset group header to expand and see individual text components.

Why a text fails, and FIX

Every non-compliant text gets a second line that says why it fails:

  • its font isn’t in the palette (LiberationSans SDF not in palette), or it has no font at all (no font assigned);
  • its size or style, where they differ from the closest role (size 48 vs 80, style Bold vs Normal);
  • its applier: no applier, an applier whose role isn’t in the palette, or an applier that doesn’t apply this palette’s font;
  • legacy UI Text (roles need TextMeshPro) for a legacy text.

The line ends with the closest role and how well it matches, like closest role Header (30 %), or no close role when nothing comes near.

Pick a role in the role menu, then press FIX. The menu lists the palette’s roles that have a TMP font, with (closest) after the closest one. When the closest role is a confident match it is picked for you; otherwise the menu reads PICK ROLE ▾ and FIX stays off until you pick one.

The added Text (TMP) row with its TUTORIAL tag and reason line, and its role menu open: Header (closest), Subheader, Body, Caption, Button
The role menu, with (closest).
The added Text (TMP) row with a TUTORIAL tag, LiberationSans SDF 48 and a cross badge, and its reason line with Subheader picked in the role menu and FIX turned on
A role picked: FIX turns on.
The Text Auditor after FIX: 12 COMPLIANT, 0 NON-COMPLIANT, 0 IGNORED, Compliance: 100% (12 components), the LevelComplete group at 12/12 compliant, and the added Text (TMP) on Baloo 2-regular SDF 68 with a Subheader badge
After FIX: 12 of 12 comply, and the added text has Subheader’s font and size.

FIX adds a Font Palette Applier with that role to the text, or updates the one it has, applies it, and saves the scene or prefab. A closed scene is opened next to yours, saved and closed again. If a scene has unsaved changes of your own, FontOps asks before it saves. Ctrl+Z undoes a fix while the scene stays open. Legacy UI Text gets the reason but no FIX, because palette roles need TextMeshPro.

Until you finish the audit tutorial on the Get started page, the texts in the sample’s Level Complete scene that have no role, like the one the tutorial has you add, carry a TUTORIAL tag, so you can spot them.

Compliance %

The status line and the bar under the totals show the compliance rate: compliant texts ÷ (compliant + non-compliant). Ignored texts count on neither side, so ignoring a failing text takes it out of the rate, and the rate goes up. The agent’s audit uses the same formula.

Usage audit (no palette)

Clear the PALETTE field and SCAN grades how the project uses fonts instead. A PROJECT FONT AUDIT card shows a letter grade and Score N/100 · N fonts · N components, then flags what pulls the score down. Each problem comes with a button for the next step:

  • texts still on a placeholder font such as LiberationSans SDF: MY FONTS when you already have a body font installed (the flag names them), or SEARCH FONTS when you don’t;
  • installed families that no text or palette uses: MY FONTS;
  • more than six different fonts: EXTRACT PALETTE, which opens the Palette Extractor;
  • no Font Palette in the project: PALETTES, which opens My Fonts › Palettes.

A project with nothing to flag gets a green Project looks healthy line instead. TOP FONTS IN USE lists the five most used fonts with their counts.

Text Auditor with PALETTE None: a PROJECT FONT AUDIT card with grade F, Score 30/100 · 1 fonts · 11 components, a flag for 11 texts on placeholder fonts that names Inter and Raleway as installed, a flag for 5 unused families, each with MY FONTS, TOP FONTS IN USE LiberationSans SDF 11, and the LevelComplete group, 11 text(s), every row tagged TUTORIAL
The usage audit: grade, flags with their next-step buttons, and TOP FONTS IN USE.

The grade leaves out the texts and assets you ignored, and updates after each IGNORE or RESTORE. The PREFABS and SCENES pills work here too.

Ignoring a text

Some text components are intentionally non-compliant — debug overlays, placeholder text, third-party UI, etc. You can exclude any component from compliance checks by clicking IGNORE on its row in the auditor. The button turns into CONFIRM, next to a reason field that starts as Intentional exception:

Auditor rows: WalletLabel with a Caption badge, then the added Text (TMP) with a TUTORIAL tag and a cross badge, a reason field reading Intentional exception and CONFIRM, above its reason line with PICK ROLE and FIX
IGNORE turns into a reason field and CONFIRM.

Edit the reason or keep it, then press CONFIRM or Enter; Esc cancels. FontOps adds a FontComplianceIgnore MonoBehaviour with your reason to the GameObject and saves the scene or prefab. The row then shows a — badge and the reason in quotes (hover it to read a long one), and the group header counts the text as ignored (11/11 compliant · 1 ignored):

Auditor rows: WalletLabel with a Caption badge, then the added Text (TMP) on LiberationSans SDF 48 with a dash badge, the reason "Intentional exception" and RESTORE
The ignored text, with its reason and RESTORE.

To bring it back into compliance tracking, click RESTORE, which removes the FontComplianceIgnore component. IGNORE and RESTORE also work for texts in closed scenes (FontOps opens the scene, saves it and closes it again) and without a palette.

FontComplianceIgnore is a lightweight runtime component. It has no performance impact.

Font Scanner

The Font Scanner finds every font in your project — TTF, OTF, and TMP SDF assets — and lists them by folder. Each folder gets a source badge: MANAGED (inside a FontOps download folder for Google Fonts, Fontshare or Fontsource), PACKAGE (under Packages/), or CUSTOM (anywhere else). It also finds fonts that are in the project more than once, helps you clean them up, and creates missing TMP SDF assets. Press SCAN ALL FONTS to start.

Font Scanner: SCAN ALL FONTS, totals 49 TOTAL, 13 MANAGED, 0 PACKAGE, 36 CUSTOM, 1 DUPLICATES, Found 49 font asset(s) in 19 folder(s)., and the FOLDERS (19) list: Inter, Raleway and Space Mono under Assets/Fonts/Fontsource and Baloo 2, DSEG7, Nunito and Press Start 2P under Assets/Fonts/GoogleFonts badged MANAGED, then Assets/ImportedFonts and the first of the Get Started sample's font folders under Assets/Samples/FontOps/1.3.0/Get Started/Fonts (Barlow, Barlow Semi Condensed, Caveat, Fraunces, Fredoka, Grenze) badged CUSTOM, each with ORGANIZE
The Font Scanner after SCAN ALL FONTS: totals, then FOLDERS with their MANAGED or CUSTOM badge and ORGANIZE on custom folders.

Results come in sections that fold when you click their header: FOLDERS, DUPLICATES, MISSING TMP ASSETS, and IGNORED once you have ignored something. Click a folder to list its files, and click a file to select it in the Project window. A CUSTOM folder with font files gets an ORGANIZE button (see below).

Duplicates and KEEP THIS

A font family whose files sit in more than one folder is listed under DUPLICATES. Each file shows ✓ when it is byte-identical to another file in the group, and ✗ when it isn’t (another version, or another file of the same family). Here Inter’s files sit in two folders:

DUPLICATES (1) section with one group, Inter: Assets/Fonts/Fontsource/Inter/Inter-regular [cyrillic].ttf marked with a cross, then Assets/Fonts/Fontsource/Inter/Inter-regular.ttf and Assets/ImportedFonts/Inter.ttf marked with a check, each with KEEP THIS, all three 65 KB, and ORGANIZE and IGNORE for the group
DUPLICATES: ✓ marks the two byte-identical Inter files, and KEEP THIS keeps one.

KEEP THIS keeps that file and removes its identical copies. FontOps repoints the scenes, prefabs, palettes and TMP assets that used a copy to the file you keep, saves them, then moves the copies to the system trash. It shows the list of copies and asks before it starts.

  • It only removes copies under Assets/ whose import settings match the file you keep.
  • Save your scenes first. References that exist only in an unsaved scene can’t be repointed, so FontOps asks you to save or discard those changes.
  • It doesn’t run in Play Mode.
  • A copy that is still in use afterwards stays where it is.
  • Undo can’t revert it. To get a copy back, restore it from the system trash.
FontOps dialog: Keep Assets/Fonts/Fontsource/Inter/Inter-regular.ttf? The identical copy Assets/ImportedFonts/Inter.ttf moves to the system trash, references are repointed first, and Undo can't revert it. Buttons Keep This One, Cancel
KEEP THIS lists the copies and asks first.

IGNORE hides a duplicate group from the results.

ORGANIZE

ORGANIZE moves font files into one folder you pick. On a duplicate group it moves the family’s files that aren’t in a download folder or a package; on a CUSTOM folder row it moves that folder’s font files. Pick a folder inside Assets/: each file goes to <folder>/<Family>/, its <name> SDF asset moves with it, and references survive.

  • FontOps lists every move and asks before it starts.
  • It warns you when the folder is a FontOps download folder: the files then count as installed, and removing the family from Search deletes them.
  • A file whose name is already taken in the target folder is skipped. For identical copies, use KEEP THIS first.
  • Undo can’t revert moves. The Console logs every original path.
FontOps dialog: Move 1 file(s) into Assets/Fonts/GoogleFonts? Right under it, a warning that this is a FontOps download folder: the files will count as installed, and removing the family from Search deletes them. Then the move Assets/ImportedFonts/Inter.ttf → Assets/Fonts/GoogleFonts/Inter/Inter.ttf, and a note that each file's SDF asset moves with it and Undo can't revert moves. Buttons Move, Cancel
ORGANIZE into a download folder: the warning, then the move.

Missing TMP assets

MISSING TMP ASSETS lists every font file that has no TMP SDF asset yet. Fonts in read-only packages aren’t listed.

MISSING TMP ASSETS (4) section with CREATE ALL (4) and four rows, each with its folder, CREATE and IGNORE: Raleway-regular.ttf in Assets/Fonts/Fontsource/Raleway, Space Mono-regular.ttf in Assets/Fonts/Fontsource/Space Mono, DSEG7Classic-Regular.ttf in Assets/Fonts/GoogleFonts/DSEG7 and Inter.ttf in Assets/ImportedFonts
MISSING TMP ASSETS with CREATE ALL (4).

CREATE makes the TMP asset for one font and saves it next to the font file. CREATE ALL does the same for every font in the list, after one confirmation. Both use the atlas settings from the Settings tab, and leave alone any font that already has a TMP asset. IGNORE hides a font from the list.

Ignored groups and fonts move to the IGNORED section, where RESTORE brings them back. Ignores are saved per project.

Palette Extractor

The Palette Extractor scans your project for existing text components, groups them by font, size, and style into patterns, and helps you build a Font Palette from what your project already uses. It's the fastest way to go from an unmanaged project to a structured typographic system.

Palette Extractor in phase 2: the status Extracted 5 pattern(s)., 5 PATTERNS, 13 COMPONENTS, 3 FONTS, ← BACK TO ASSETS and pattern cards in Fredoka-Bold SDF (28px Normal, 5 uses) and LilitaOne-Regular SDF (38px Normal, 4 uses; 66px Normal, 2 uses), each with a Set role name field, REMOVE and Show N components; the palette name Extracted Palette, COPY AS PROMPT, IMPORT JSON and CREATE PALETTE at the bottom
Pattern cards waiting for names.
Palette Extractor after IMPORT JSON: the same cards named Caption, Button and Score, the palette name Level Complete UI, and the status Palette "Level Complete UI" created at Assets/Fonts/Palettes/Level Complete UI.asset.
After IMPORT JSON: the imported names on the cards (Caption, Button, Score), and the status line gives the new palette’s path.

Two phases

The extractor works in two phases. Phase 1: SCAN PROJECT lists every scene and prefab under Assets/ that contains text components. IGNORE the assets you don’t want included (e.g. third-party UI). Then click EXTRACT PATTERNS to move to Phase 2, where components are grouped into pattern cards by font, size, and style. Font sizes are rounded to the nearest 0.5px, so minor variations are merged into a single pattern. ← BACK TO ASSETS returns to the list.

Pattern cards

Each pattern card shows the font, size and style, the number of components that share the pattern, and a preview in the pattern’s font and its most common colour. You can:

  • Type a semantic role name (e.g. Header, Body, Caption) into the text field. The ? next to it opens the Role Naming Guide.
  • Click REMOVE to exclude a pattern from the final palette.
  • Click Show N components to see every component that uses this pattern, with a SELECT button that opens its scene or prefab and selects it. FontOps offers to save unsaved scenes before it opens another one.

Copy as prompt

Can't decide on role names? Click COPY AS PROMPT to copy a prompt for an AI assistant (ChatGPT, Claude, etc.). It numbers every pattern and lists its font, size, style, colour (#RRGGBB), how many components use it, and where each one sits in your hierarchy, so the AI can suggest semantic role names. The AI only names the patterns: FontOps keeps each pattern’s font, size, style, colour and spacing. The prompt asks for a JSON block in this format:

{
  "paletteName": "<palette name>",
  "description": "<one-line description>",
  "roles": [
    { "pattern": <pattern number>, "roleName": "<role name>" }
  ]
}

Import JSON

Copy the AI’s reply and click IMPORT JSON. FontOps reads the reply straight from the clipboard: it takes the text between the first { and the last }, so code fences and the AI’s explanation don’t get in the way. When the clipboard holds no reply, a dialog offers Choose File… to load a saved .json file instead.

FontOps dialog saying the clipboard holds no reply, with Choose File… and Cancel
IMPORT JSON with nothing on the clipboard.

Names land on the cards by pattern number, and the palette name fills in. A role for a pattern you removed, or for patterns you extracted again after copying the prompt, is skipped with a warning in the Console. Then CREATE PALETTE’s save dialog opens, and the new palette gets the AI’s description. Cancel the dialog to review the names first: they stay on the cards, and the description is kept for when you click CREATE PALETTE.

So the whole round-trip is COPY AS PROMPT → AI → copy the reply → IMPORT JSON.

Create the palette

Once you're happy with the patterns and role names, type a palette name in the bottom bar, click CREATE PALETTE, and choose where to save it. Each pattern becomes a role with its font, size and style, and the most common colour and spacing among its components.

  • A pattern you didn’t name is named after its font and size, like LiberationSans SDF 36px, plus its style when that isn’t Normal.
  • Role names are made unique: a second Body becomes Body 2.
  • A “/” in a name becomes “-”, because menus read “/” as a submenu: HUD/Label is saved as HUD-Label. The status line tells you when that happened.

The new FontPaletteAsset is ready for compliance checking in the Text Auditor, and for APPLY… in My Fonts › Palettes.

Troubleshooting

FIX is greyed out

The menu reads PICK ROLE ▾: no role is a confident match, so pick one first. Legacy UI Text never gets FIX, because palette roles need TextMeshPro.

The status says some scenes were skipped

The scan lists each skipped scene and why under the status line. An untitled scene has to be saved before it can be audited.

A text uses the right font but still fails

Read its second line: the size or style may differ from the closest role (size 48 vs 80), or it may have no applier, or an applier with a role the palette doesn't have. FIX gives it the role you pick and applies it.

KEEP THIS asks me to save or discard scene changes

References that exist only in an unsaved scene can't be repointed, so save your scenes first. KEEP THIS doesn't run in Play Mode, and Undo can't revert it: copies go to the system trash.

A font is missing from MISSING TMP ASSETS

Fonts in read-only packages aren't listed, and nor are fonts you ignored: they're under IGNORED, with RESTORE.

IMPORT JSON says there is no reply

It reads the AI's reply from the clipboard. Copy the whole reply first, or use Choose File… to load a saved .json.

FontOps 1.3.0 · Unity 2022.3 LTS and Unity 6Something wrong or missing? support@davgtz.dev