Category:
Summary:
Custom font can mean four products—Unicode text, downloadable files, DIY type, and commissioned brand faces—so you can choose the right tool, cost, and output.

A custom font can mean four different things: Unicode copy-paste text, a downloadable font file, a font you make yourself, or a commissioned brand typeface. Which one you need decides which tool you open.

Start with the product you actually want

If you want The product is Typical cost What you end up with
A styled look for a bio, caption or display name Unicode symbol text from a generator Free Pasted characters — no font file at all
A font to install or embed A downloadable TTF or OTF file Free, but the licence varies by listing An installable font file
Your own handwriting as reusable type Calligraphr Free tier; paid tier $8/month TTF or OTF compiled from your letterforms
A brand-owned typeface Monotype Studio, Fontfabric, or a parameter tool such as Typograph Commission or membership Custom type with negotiated licensing

Search for the phrase and you get four unrelated industries back: font generators, download libraries, DIY font editors, and design studios. All four use the same two words for a different product, which is why the results read as if they contradict each other. One page offers you a custom font and hands you a string of symbols. Another offers you a custom font and hands you a TTF file. A third offers you a custom font and expects a brand budget conversation.

Generator pages know this confusion exists. Picsart's font generator explains that its tool works by substituting Unicode characters, then points readers who want a real file toward font libraries such as Google Fonts and DaFont — the places where you download something you can import into an application such as Figma or WordPress. That single distinction separates the first two meanings.

Unicode copy-paste text (No file)

Ordinary letters swapped for visually similar Unicode characters. Looks like a font, is not a font.

Best used for: social bios, display names, comments.

A font file (Download)

A real TTF or OTF you install on your system or embed on a website. Licensing is set by the designer.

Best used for: design work, documents, sites, packaging.

A font you build (DIY)

Handwriting traced into vectors, or glyphs drawn from scratch in an editor. You own the output.

Best used for: personal lettering, keepsakes, portfolio pieces.

A commissioned typeface (Service)

A foundry or studio designs proprietary type for a brand, with a licence written around your use.

Best used for: brand systems, products, long-term identity work.

Grid of nine different custom font styles showing the phrase Custom Text

The same phrase in nine treatments shows why "custom font" gets used for visual variety even when no font file is involved.

Fancy Unicode Text Is Not a Font File

A copy-paste generator does not build a typeface. It maps the letters you type onto Unicode code points that happen to look like stylised letters — mathematical alphanumerics, enclosed characters, small capitals, decorative symbols. The destination application renders those characters using whatever font it already has.

LingoJam's generator documentation states the position plainly: rather than generating fancy fonts, the converter creates fancy symbols, and asks directly whether you are copying and pasting an actual font — answering that you are not. Lorem Ipsum's guide makes the same point in one line: fancy fonts aren't actual fonts, they are products of Unicode.

The practical consequence is a failure mode people blame on the generator. If you paste Unicode text into a destination whose font has no glyph for those code points, you get a generic missing-glyph box — the empty rectangle sometimes called tofu. The generator worked; the destination simply cannot draw the character. This is most visible in older apps, in some email clients, and in form fields that restrict input.

Why this has no licence question

Because you are not distributing a font — only characters — there is no font licence to clear when you paste fancy text into a bio. The trade-off is technical rather than legal: compatibility can break on platforms with limited glyph coverage.

If the goal is a styled look rather than an installable file, that trade-off is usually worth it. The comparison of cursive generators against real fonts walks through when paste-ready text is enough and when you genuinely need a file.

Downloadable Font Files Are a Separate Product

A downloadable font is a compiled file — usually TTF or OTF — that you install on an operating system or load into an application. This is what the design industry means by a custom font: a specific typeface drawn by a specific designer, packaged with a licence that says what you may do with it.

Fontspace's "Custom" category is a useful example of how these libraries are organised. The category runs into the hundreds of free fonts and supports a Commercial-use filter alongside sorting by Popular, Trending, Newest, or Name. Its style taxonomy is broad — Cool, Logo, Fashion, Calligraphy, Cursive, Script, Handwriting, Vintage, Retro, Display, Website, Ligatures — which tells you the library is curated by look rather than by foundry.

Read the licence label, not the download count

Most visible listings in free font libraries are marked "Personal Use Free," which is not the same as free for commercial use. A popular download can still be restricted. The licensing detail is covered in full further down.

DIY Font Creation Covers Handwriting and From-Scratch Design

Two distinct DIY paths exist, and they attract different people. The first is handwriting capture: you fill in a template by hand, scan it, and software vectorises the letterforms into a working font. The second is from-scratch construction: you draw each glyph in a vector editor or on a grid, control the metrics yourself, and compile the file.

Calligraphr sits at the accessible end of the first path, converting handwriting into what it calls fully functional vector fonts through a web application. Fontstruct sits at the accessible end of the second, using a grid of bricks rather than bézier curves. FontForge is the heavyweight option for people who need full control, and FontSelf compiles a font from artwork drawn inside Illustrator or Photoshop. Each is compared by price and output later in this article.

Professional Custom Typography Is a Service, Not a Download

When a company "gets a custom font," it usually means a commission. Fontfabric describes itself as a digital type foundry crafting retail fonts and custom typography for brands. Monotype Studio offers to create a custom font that captures the essence of a brand voice and the promise made to customers. Neither of those is a shopping cart transaction — they are type design projects with deliverables, timelines, and negotiated licences.

A newer third category has appeared alongside the studios: parameter-driven tools. Typograph demonstrates a generative, AI-assisted workflow where you start from a prompt or preset and then adjust weight, width, shape, joint thickness, aperture, shoulders, and letter variants until the face suits the project. It is closer to commissioning than to downloading, but it runs on your own schedule.

Why the Four Meanings Create Conflicting Search Results

The conflict is definitional, not a ranking failure. Generator sites tell readers they can obtain a custom font, then clarify in the body copy that no actual font file is produced. Library and studio sites treat the term strictly as a downloadable or commissioned file. Both are internally correct and mutually incompatible.

The working rule for this page: decide which product you want first, then choose the tool. If you pick the tool first, you will end up with a generator when you needed a file, or a $49 plugin when a paste-ready string would have done the job.


Which Custom Font Do You Need? A Decision Table by Goal, Cost, Output, and Skill

Every route below produces something different. Read across the row that matches your goal rather than looking for a single winner — the right answer depends on whether you need a look, a file, or a brand asset.

What you need Route Cost Output Skill Suits
A styled look in a bio or caption Unicode generator (Picsart, LingoJam, Lorem Ipsum) Free No file None Social profiles, chat names
An existing font to install Font library download Free, licence varies TTF / OTF None Design apps, documents, websites
Your handwriting as type Calligraphr Free tier; $8/month paid TTF, OTF Low Keepsakes, personal lettering
A geometric display face built on a grid Fontstruct Free TTF Low to moderate Pixel, modular and poster faces
Full vector control over a family FontForge Free, donation-supported TTF, OTF High Production work, complex character sets
Drawing glyphs on a tablet iFontMaker $8 iPad / $5 Windows tablet TTF Low to moderate Hand-drawn Latin, Greek, Cyrillic
Compiling a font inside Adobe apps FontSelf $49 Illustrator / $98 Illustrator + Photoshop OTF, OpenType-SVG, WOFF Moderate Designers already working in Illustrator
Parameter-driven exploration Typograph Monthly or lifetime membership Downloadable typeface Moderate Fast directions, client concepting
A brand-owned typeface Monotype Studio, Fontfabric Commission Custom family plus licence N/A Brand systems, products, packaging

The Decision Table by Goal, Tool, Cost, Output Format, and Skill

Three of those figures do most of the work in practice. Fontstruct and FontForge are both free, so the real difference between them is skill rather than budget: Fontstruct's brick grid keeps you inside a constrained system, while FontForge exposes every metric and contour and expects you to know what to do with them. Calligraphr is the only route on the table where the input is a pen and paper, and its paid tier at $8 per month is what unlocks spacing and leading adjustment — the controls that determine whether a handwriting font actually sits on a baseline.

FontSelf is the outlier on cost, but it makes sense for one specific person: someone who already draws letterforms in Illustrator, does not want to learn a font editor, and needs OTF, OpenType-SVG and WOFF output from artwork they have already made. Buying it to draw glyphs from scratch would be the wrong purchase.

If you are still deciding what the typeface should look like rather than how to produce it, the guide to choosing the right types of fonts for a project is a better starting point than any tool on this list.

When a Copy-Paste Look Is Enough

Plenty of "custom font" requests are really requests for a display name. Social bios, comment handles, and stream overlays do not accept font files, so a generator is not a compromise in those contexts — it is the only mechanism available. The output is free, instant, and carries no licence obligation.

The constraint to plan for is coverage. Because the characters are real Unicode code points rather than a decorative typeface, they render only where the destination font contains them. On platforms with good glyph coverage the text displays everywhere; on restricted systems you get boxes or a silent fallback to plain letters. Test the result on the platform where it will actually appear before committing it to a profile.

When You Need an Installable Font File

The moment the destination is a design application, a document, a website, a game engine, or office software, pasted Unicode stops being useful. Those tools need a file in a format they can read — TTF, OTF, WOFF, or WOFF2 — and they expect the character set, kerning, and spacing to be defined inside it.

That requirement splits the decision again. If someone has already drawn the typeface you want, download it from a library and check the licence. If nobody has, you need a DIY tool or a commission. Fonts you build or buy as files travel well: the same TTF works in game engines, art programs, and office software, and the same file imports into Figma and WordPress.

When to Hire a Type Designer or Use an AI Type Tool

A commission makes sense when the typeface has to do brand work — when it must carry a voice, cover a full character set including punctuation, numerals, accented Latin, and possibly a second script, and when the licence needs to be written around distribution you control. Monotype Studio frames the deliverable in exactly those terms: a custom font that captures the essence of a brand voice.

Parameter tools occupy a middle position. You get genuine customisation of weight, width, shape, aperture and letter variants without commissioning a designer, but the result is generated within a system that someone else designed. That is often enough for a concept deck or a product landing page, and it is usually not enough to replace an identity typeface.

On "no restrictions" claims

Marketing copy around one-time-purchase typefaces sometimes claims the file avoids restrictions on the number of users, desktop or mobile use, and websites or devices. Treat that as the creator's interpretation of their own terms, not a legal licence statement. Read the actual licence document before commercial deployment.


How to Make a Custom Font from Handwriting with Calligraphr

The handwriting route is the fastest way to a font that is genuinely yours, and Calligraphr's browser application handles the conversion. It takes filled-in template pages and produces working vector fonts. The homepage pitches the emotional version of the use case directly — preserving a child's handwriting — and shows multilingual pangrams in Spanish, Swedish, German, French and English.

Handwriting-led custom font products are sold as OTF, SVG or PNG — the file format you take away is what separates a font from a decorative image.

Begin by printing the template pages the service generates. Each box corresponds to a character, so the template is effectively your character map on paper.

  1. Print the template pages at the intended size, on plain paper, without scaling the print dialog.
  2. Fill in every character with a pen, staying inside the boxes and keeping the baseline consistent from box to box.
  3. Photograph or scan the sheets flat, in even light, with the page edges visible.
  4. Upload the files to Calligraphr, which traces the artwork into vectors automatically.
  5. Export as TTF or OTF and install the result to test it.

Consistency matters more than neatness. A wobbly baseline drawn once becomes a wobbly baseline on every line of text, and uneven pen pressure turns into uneven stroke weight that no amount of spacing adjustment will fix. Draw with the same pen throughout, in one sitting, at one size.

Scan, Upload, and Export TTF or OTF

The conversion step is automated: the service traces your scanned letterforms into outlines and assembles them into a font file. Both TTF and OTF are supported outputs, which covers installation on desktop systems and import into most design applications. Once exported, the file behaves like any other font — install it, select it in a text field, and type.

What the $8 Monthly Calligraphr Tier Adds

The free tier produces a working font. The paid tier at $8 per month adds the controls that make it usable for anything beyond a single short line:

  • Spacing and leading adjustment, so glyphs can be spaced for real text rather than kept at template distance
  • Extra characters beyond the base set
  • More letter variations, so the same letter can appear with different forms
  • Ligature options for connected pairs
  • Font storage on Calligraphr's server rather than local export only

If the goal is a keepsake signature or a short display phrase, the free tier is sufficient. If the goal is a font you will set paragraphs in, spacing control is not optional — it is the difference between a novelty and a usable typeface. The mechanics behind that are worth understanding: kerning and tracking govern how letter pairs and whole words breathe.

Preserving Handwriting and Testing Multilingual Samples

Calligraphr's own samples include pangrams across five languages, which is a practical testing idea rather than a marketing line. Set a sentence that uses the full alphabet, then set one in each language you actually need. If a glyph looks wrong in a pangram, it will look wrong in production.

Two different kinds of multilingual support

A font file's language support depends on which characters the designer drew and encoded. Unicode copy-paste text depends on which characters exist in the destination's font. A font you build in Calligraphr covering Latin characters will not render Greek text just because the platform's Unicode fallback would — and a Unicode string that displays on one site may break on another. Test in the destination, not in the generator.

What Font-Building Teaches About Typography and Spacing

There is an argument for making one font even if you never use it: the process teaches the basics of typography. Drawing 26 letters forces you to notice that lowercase forms share stems and bowls, that spacing relationships repeat across the alphabet, and that a single misjudged sidebearing makes an entire word look loose. Letter construction and spacing stop being abstract concepts once you have drawn them badly and fixed them.


DIY Font Software Compared Across Fontstruct, FontForge, Calligraphr, iFontMaker, and FontSelf

The tool comparison below uses verified prices and output formats rather than feature descriptions. That is deliberate — most of the decision comes down to which format you need and how much control you can realistically handle. The pricing and format details referenced here come from a practising font maker's comparison of seven font-building methods.

Fontstruct for Free Grid-Based TTF Fonts

Fontstruct runs in a browser, costs nothing, and exports TTF. Its interface is a grid of "bricks" rather than a curve editor, which makes it a good fit for modular, geometric and pixel-adjacent display faces and a poor fit for anything that needs a drawn curve. The constraint is the feature: you cannot drift into uncontrolled detail, so a beginner produces something coherent quickly.

FontForge for Advanced TTF and OTF Work

FontForge is free and donation-supported, runs on Mac, Windows and Linux, and exports TTF and OTF. It is also the most demanding option in this list. The learning curve is real rather than exaggerated — one font maker's own summary of the experience was that it was not the easiest program to navigate. Go in expecting to read documentation and to work with metrics you may not have encountered before. In exchange you get control that no consumer tool offers.

Calligraphr Free vs Paid for Handwriting Fonts

The free tier covers a single small font built from one or two template pages. The $8 per month tier is aimed at people producing a font for repeated use: extra characters, letter variants, ligatures, spacing and leading controls, and storage. The decision is straightforward — if your character count fits the free allowance and you will not need alternate letterforms, stay free; if you need a full working alphabet with variations, the paid tier pays for itself in one afternoon.

iFontMaker on iPad and Windows

iFontMaker costs $8 on iPad and $5 on Windows tablet, exports TTF, and includes Latin, Greek and Cyrillic character sets. You draw each glyph freehand or with bézier tools against a large reference character, then adjust kerning and spacing before exporting. The caveat worth knowing before purchase: the Windows version is less robust than the iPad version. If the tablet you own is a Windows device, expect a reduced experience.

FontSelf Inside Illustrator and Photoshop

FontSelf costs $49 for the Illustrator version and $98 for Illustrator plus Photoshop. It exports OTF, OpenType-SVG and WOFF, and supports alternates, ligatures, and kerning and spacing. The workflow is the reason to buy it: you create glyphs in Illustrator or Photoshop as you normally would, drag them into the extension panel, and compile a font set from artwork you have already drawn. Nothing is redrawn in a separate editor.

Format cheatsheet

TTF — universal desktop install, also fine for print workflows. OTF — same territory with stronger OpenType feature support. WOFF / WOFF2 — web delivery formats, not intended for system installation. If a tool only exports TTF and you need the font on a website, plan a conversion step.


Where to Download Custom Fonts and What Personal Use Free Actually Means

Downloading is the shortest route to a font file and the easiest place to get licensing wrong. Free font libraries are large, well organised, and inconsistent in how clearly they state what you may do with a download.

266 Free Fonts in Fontspace's Custom Category

Fontspace's Custom category currently lists 266 free fonts. The listing page offers a Commercial-use filter and sorting by Popular, Trending, Newest, or Name, which makes it practical to narrow a large set quickly. Two listings on that page illustrate how much download volume a free font can accumulate: Vegan Style by Billy Argel Fonts shows 1.8 million downloads, and Cassette/Cassandra shows 1.7 million.

Why Personal Use Free Is Not Commercial Use

Most visible listings in the category are labelled "Personal Use Free." That label is not a commercial licence, and it does not become one because a font has been downloaded a million times. Vegan Style carries 1.8 million downloads and is still listed as Personal Use Free.

The filter exists because the labels are inconsistent

The presence of a Commercial-use filter on the same page as "Personal Use Free" labels tells you the library expects users to check. Filter first, then open the individual listing and read its terms before you use anything in client work, product packaging, or advertising. Popularity is not permission.

Commercial-Use Filter and Style Sorting

Start with the filter, then sort. Popular surfaces the most-downloaded faces, Trending surfaces recent momentum, Newest surfaces additions, and Name is for when you already know what you want. The style taxonomy does more work than the sort options, though: Calligraphy, Cursive, Script, Handwriting, Vintage, Retro, Display, Website, Ligatures, Logo, Fashion and Cool all describe a different intended use, and picking the right shelf saves a lot of scrolling.

Unicode Text Has Compatibility Risk, Not a Font License

Pasted Unicode text sits outside licensing entirely, because no font is being distributed — you are typing characters. The risk is rendering. A string that looks right in a preview may collapse to boxes where the destination font lacks the glyphs. That is a compatibility problem you solve by testing, not a permission problem you solve by reading terms.


How to Install and Use Custom Fonts on Websites, Apps, and Social Profiles

Once you hold a file, deployment determines whether the font ever appears. The three destinations below behave differently enough to plan for separately.

Website Embedding with @font-face and WOFF2

A custom font is not present in the visitor's operating system, so it has to travel with the page. That means an @font-face declaration pointing at a file, and WOFF2 as the delivery format for anything modern. The full performance treatment — preloading, caching, fallback metrics — is covered in the final section of this article; the practical point here is that a website embedding is a different task from a desktop install, and a TTF that works perfectly on your machine is not automatically ready for the web.

Figma, WordPress, Game Engines, Art Programs, and Office Software

Font files are portable across any software that accepts font import. Figma and WordPress are the two most commonly named in design workflows, and the same TTF or OTF can go into game engines, art programs and office software without modification. If you install the font at the operating-system level, most applications on that machine will see it; if you upload it inside an application, only that application will.

Managing a growing library of installed files is its own problem — activation conflicts and duplicate family names cause most of the "my font isn't showing up" reports. Font management software exists specifically to keep that under control.

Social Profiles and Missing Glyph Boxes

Social platforms do not accept font files at all, which is why the Unicode route dominates there. The generator pages name the destinations their users target: Instagram, TikTok, Twitter/X, Discord, WhatsApp, Twitch, Snapchat, YouTube, LinkedIn, Facebook, Steam, and even Agario. Public examples of the style in the wild include the Stereogum bio tagline, Chet Hanks's display name and tagline, and Jose Pagliery's name styling — noting that in the last case the styling sits in the display name, not the username.

Boxes and partial rendering appear for one reason: the platform is rendering your characters with a font that lacks the glyphs. The generator has no way to know where the text will land, so the only reliable test is pasting into the actual destination and checking on both a desktop and a mobile view.

Why Hosted Site Builders Can Silently Fail

Hosted builders introduce a failure mode that self-hosted sites do not have: the font may simply never load, with no error shown to the visitor and none obvious to the owner. Site owners on platforms such as Squarespace report exactly this pattern — a custom font that uploads successfully but does not appear on the live page. The practical response is to check the builder's own font-loading path rather than assuming the file is broken: confirm where the file was uploaded, whether the builder serves it from its own asset host, and whether the CSS rule actually references the family name the file declares.


Professional Brand Typefaces with Monotype Studio, Fontfabric, and Typograph

Commissioned type buys three things a download cannot: a voice that no competitor has, control over the full character set, and a licence written around your distribution model.

Six custom lettering logo concepts for Neil's Apparel and Accents by Jeremy Vessey

Commissioned lettering is drawn for one identity — a brand asset rather than a generator output. Logo concepts by Jeremy Vessey.

What Monotype Studio and Fontfabric Sell

Fontfabric operates as a digital type foundry producing retail fonts alongside custom typography for brands. Monotype Studio's custom font service is framed around brand voice and customer promise — the typeface is a strategic asset rather than a stylistic preference. In both cases the deliverable is a family with a licence, not a file you drop into a folder.

Typograph's Parameter-Level AI Type Design

Typograph demonstrates a different model: a generative workflow where a prompt or preset gives you a starting point and parameter controls refine it. The exposed parameters include weight, width, shape (boxy at one end, circular at the other), joint thickness, asymmetry, aperture, connection angle, shoulders, the W/V split, letter variants (a rounder R, for instance), SVG upload per individual glyph, letter spacing, punctuation, contrast, and ink traps.

The export flow is short: name the typeface, credit the designer, and download the file. A full typeface download is available through a monthly or lifetime membership. Per-glyph SVG upload is the most interesting control in the set, because it lets you replace a single generated form with drawn artwork — a middle path between pure generation and full custom drawing.

How Licensing and Control Differ for Brand Type

The distinction that matters commercially is not the design, it is the rights. A commissioned family comes with a document that specifies which entities may use it, on which media, and for how long. A membership-based generated typeface comes with whatever the platform's terms say, which is a different instrument. Claims in a demonstration video that a one-time purchase removes restrictions on user counts, platforms and devices should be read as the creator's characterisation of their terms, not as the terms themselves. Get the licence document and read it before the typeface reaches anything customer-facing.


Advanced Web Font Optimization with WOFF2, Preload, Fallback Metrics, and Fontpie

Everything above concerns getting the right file. This section concerns what happens after it ships — because a custom font that loads slowly or shifts the layout on arrival costs more than it returns.

Why Custom Web Fonts Cause Layout Shift

A custom font is not in the operating system, so the browser has to fetch it before it can render the text as designed. Until that request resolves, the page paints with a fallback. When the real font arrives, glyph widths, x-heights and line heights change, and everything below reflows.

File size makes that gap wider. A typical Google Web Font runs 20 to 30 KB, but a page using several styles and weights can reach 100 to 150 KB before any other asset is counted. Every additional weight is a candidate for a delayed swap and a visible jump.

  • 20–30 KB: Typical single Google Web Font
  • 100–150 KB: Several styles and weights on one page
  • 97%+: WOFF2 browser support
  • 109.71%: size-adjust in the Roboto fallback example

WOFF2, Preload, Cache-Control, and Font Squirrel

The baseline practice list from Pixel Point's web font optimization write-up is short and mostly about not leaving defaults in place:

  • Pass custom fonts through Font Squirrel for compression and baseline fixes before serving them
  • Serve WOFF2 — adoption is above 97%, so a legacy fallback is rarely worth the extra bytes
  • Preload the font file so the request starts before the CSS is parsed
  • Set a long-lived immutable cache header
  • Serve fonts from the same CDN as the rest of the page

The preload tag needs three attributes to work correctly on a font: the resource type, the MIME type, and cross-origin handling.

<link rel="preload"
      href="/fonts/brand-serif.woff2"
      as="font"
      type="font/woff2"
      crossorigin="anonymous">

For caching, a one-year immutable policy is the standard recommendation:

cache-control: public, max-age=31536000, immutable

Google Web Fonts vs Self-Hosted Fonts

There is a live disagreement here, and it is worth presenting both sides rather than picking a winner. Pixel Point's guidance is to use Google Web Fonts whenever possible, on the grounds that the hosting, caching and format handling are already solved. A contrasting position from a Webflow-focused developer argues against free Google Fonts for premium work, describes Adobe Fonts as heavy and JavaScript-dependent, and prefers self-hosted uploads where the project allows them.

Those are different goals rather than contradictory facts. If speed and simplicity dominate, a managed font service removes work. If brand differentiation and full control over the delivered file dominate, self-hosting the licensed file is the more direct route. The one thing both positions agree on is that an unmanaged third-party font request is a cost you should account for.

Fallback Metric Overrides and the Google Aurora Algorithm

The most effective fix for layout shift is not to hide the text but to make the fallback measure like the custom font. CSS exposes four metric-override properties that do exactly that: ascent-override, descent-override, line-gap-override, and size-adjust. Applied to a fallback family, they match its vertical metrics and overall scale to the real font, so the swap changes the letterforms without changing the layout.

The metric-matching algorithm behind this approach is credited to Katie Hempenius and Kara Erickson of the Google Aurora team. Next.js supports the same overrides through @next/font as of version 13, so the values can be generated at build time rather than hand-tuned.

@font-face {
  font-family: "Roboto-fallback";
  src: local("Arial");
  ascent-override: 84.57%;
  descent-override: 22.25%;
  line-gap-override: 0%;
  size-adjust: 109.71%;
}

Variable Fonts and Subsetting for Large Families

Two structural decisions reduce weight before any compression runs. The first is a variable font: when a site needs more than three upright faces, one variable file usually beats three or four static files. The second is subsetting — stripping characters the site will never display, which matters most for non-Latin scripts and for display faces used on a handful of words.

Typography studios treat customisation as a continuum rather than a single act. TypeType documents twelve distinct methods in its breakdown of font customization, including matching font metrics to a reference font so replacing it does not break layout, disabling or customising OpenType features a client does not want, adjusting mean line and interline spacing, and creating spacing variants tied to size — one documented case produced eight spacing variants for eight optical sizes.

The same source is explicit about ordering: stripping hinting, kerning and font info is a last-resort file-size measure, not a first move. Cut the character set and choose a variable file first; remove the metadata that makes text render well only when nothing else is left.

Fontpie CLI and the Roboto Example

Calculating fallback metric overrides by hand is tedious enough that a command-line tool exists for it. Fontpie is open source, and its repository sits at github.com/pixel-point/fontpie. One command generates the override values for a given font file:

npx fontpie ./roboto-regular.woff2 --name Roboto

Run against Roboto regular, the tool returns the following set of values, which map directly onto the CSS properties above: ascent-override: 84.57%, descent-override: 22.25%, line-gap-override: 0%, and size-adjust: 109.71%. Drop that generated block next to your real @font-face rule, point the font-family stack at the fallback first, and the metrics match even before the custom file downloads.

The full sequence, end to end: draw the typeface in your editor of choice, compile it with a tool that exports WOFF2, run it through Font Squirrel for compression and baseline corrections, subset it to the characters the site needs, generate fallback overrides with Fontpie, preload the file, and cache it immutably on the same CDN that serves everything else. Each step removes a specific failure — a heavy file, a broken baseline, a bloated character set, or a page that jumps.