Prompts
EN

Fragment Mono

A monospaced coding face in Regular and Italic, built by reworking and extending Nimbus Sans.

Monospace 2 styles by Wei Huang, URW Design Studio OFL

Fragment Mono is a monospaced typeface by Wei Huang for writing code, built by reworking and extending Nimbus Sans from URW Design Studio. Fragment Mono has one weight, Regular 400, with a matching italic, two styles in total, and 707 glyphs. Fragment Mono is released under the SIL Open Font License 1.1 and suits editors, terminals and code samples.

Fragment Mono font preview card
Preview drawn by trendhub from the font files.
Designers
Wei Huang, URW Design Studio
Classification
Monospace
License
SIL Open Font License 1.1
Styles
2 1 weight, with italics
Variable font
No
Glyphs
707
Languages checked
24 see the list
Last updated
version 1.011; ttfautohint (v1.8.4.7-5d5b)

Official source: Google Fonts. Facts on this page were read from the font files and the source’s published data.

Try Fragment Mono

Sample text

Type over the sample to test your own words. The preview loads a Latin subset of Fragment Mono; the download contains the complete files.

Fragment Mono font specimen: alphabet, numerals and weights
Fragment Mono specimen: alphabet, numerals and weights. Image drawn by trendhub from the font files.

Weights and styles

  • Regular 400Fragment Mono Regular Italic

About Fragment Mono

Fragment Mono is a monospaced typeface for programming in the neo-grotesque manner: strokes are even, terminals are cut horizontally, and curves are tight and closed. Wei Huang built it by adapting Nimbus Sans, a sans serif by URW Design Studio, to a fixed character width and extending its character set. The changes that code requires are visible in the specimen: the zero carries a slash, the lowercase l has a curved foot, i and j have horizontal bars, and r stands on a base stroke so that narrow letters fill their cell. Punctuation and brackets are large. The family consists of Regular 400 and its italic, two styles, with no bold, and it is not a variable font. The 707 glyphs cover Latin and Latin Extended. Fragment Mono is published under the SIL Open Font License 1.1, and the copyright notice names The Fragment-Mono Project Authors.

Where Fragment Mono works

Code editors
A slashed zero and a footed l separate the characters that are easily confused in source code.
Comments in italic
The family includes a real italic, so themes that set comments or keywords in italics do not rely on a slanted regular.
Code blocks in documentation
Its plain grotesque shapes sit quietly next to a sans serif text face in technical articles.
Labels in technical layouts
Fixed-width letters align coordinates, version numbers and captions in diagrams and specification sheets.

Glyphs

!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢

Latin and Latin Extended characters in the preview subset; the complete family has 707 glyphs.

Language support

The family contains the core letters these languages are written with:

  • English
  • French
  • German
  • Spanish
  • Portuguese
  • Italian
  • Dutch
  • Swedish
  • Norwegian
  • Danish
  • Finnish
  • Icelandic
  • Catalan
  • Turkish
  • Polish
  • Czech
  • Slovak
  • Hungarian
  • Romanian
  • Croatian
  • Slovenian
  • Lithuanian
  • Latvian
  • Estonian

Character sets found in the files: latin, latin-ext. The language list is a check of required letters against the font, not a promise of typographic quality in each language.

License

SIL Open Font License 1.1Copyright 2022 The Fragment-Mono Project Authors (https://github.com/weiweihuanghuang/fragment-mono)

What the license allows

  • Use the fonts in personal and commercial work, in print, on the web and in apps.
  • Modify the fonts and build new versions from them.
  • Redistribute the fonts, on their own or bundled with software, as long as the license text and copyright notice go with them.

Conditions

  • The fonts cannot be sold by themselves.
  • A modified version must stay under the same license and cannot use a Reserved Font Name without the copyright holder's permission.
  • The authors' names cannot be used to promote a modified version without permission.

This is a short summary, not legal advice. The license text decides: read the full OFL text. A copy is included in the download.

Fonts that pair with Fragment Mono

Open Sans Sans Serif

Fragment Mono is monospace and Open Sans is sans serif (6 weights): the difference in structure separates headings from text.

Almendra Serif

Fragment Mono is monospace and Almendra is serif (2 weights): the difference in structure separates headings from text.

Prompt Sans Serif

Fragment Mono is monospace and Prompt is sans serif (9 weights): the difference in structure separates headings from text.

Suggestions come from simple rules on the records: a contrasting classification and enough weights to carry body text. They are a starting point, not a verdict.

Use Fragment Mono on the web

Download the family and host the files on your own site, then declare them in CSS. Please do not link to the files on trendhub.net: preview files here are subsets and their addresses change.

CSS, self-hosted
@font-face {
  font-family: "Fragment Mono";
  src: url("/assets/fonts/FragmentMono-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fragment Mono";
  src: url("/assets/fonts/FragmentMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Fragment Mono", monospace;
}

Or load it from the official source. Google Fonts serves Fragment Mono with this markup:

HTML, Google Fonts

Things to know

No bold
Fragment Mono has Regular and Italic only. Syntax themes that call for bold get a synthesised one or none.
Two static files
Regular and Italic are separate fonts; there is no variable version.
Latin scripts only
Latin and Latin Extended are covered. Cyrillic is not present in the fonts.

FAQs

Is Fragment Mono free for commercial use?

Yes. Fragment Mono is licensed under the SIL Open Font License 1.1. Personal and commercial use, modification and redistribution are permitted; the fonts cannot be sold by themselves, and derivatives remain under the same license.

Who designed Fragment Mono?

Fragment Mono was designed by Wei Huang on the basis of Nimbus Sans by URW Design Studio, which is credited alongside him.

How many weights does Fragment Mono have?

Fragment Mono has one weight, Regular 400, in upright and italic form.

Does Fragment Mono have an italic?

Yes. Fragment Mono includes an italic for its Regular weight. It has no bold.

Which languages does Fragment Mono support?

Fragment Mono includes the letters needed for English and other Latin-script languages such as German, French, Spanish, Polish, Czech and Turkish.

Comments

No comments yet. If you have used Fragment Mono, tell other readers how it went.

Leave a comment

Comments are reviewed before they appear. Links are marked as user content.

Similar fonts

Other families in the same classification, ordered by shared use tags. All monospace fonts