EN

Source Code Pro

Adobe's monospaced companion to Source Sans by Paul D. Hunt, variable from ExtraLight 200 to Black 900 with italics.

Monospace 16 styles · variable by Paul D. Hunt OFL

Source Code Pro is a monospaced typeface designed by Paul D. Hunt at Adobe as a fixed-width companion to Source Sans for coding. Source Code Pro is a variable font with a weight axis from 200 to 900 and italics, 16 styles, covering Latin, Greek, Cyrillic and Vietnamese. It is released under the SIL Open Font License 1.1.

Source Code Pro font preview card
Preview drawn by trendhub from the font files.
Designer
Paul D. Hunt
Classification
Monospace
License
SIL Open Font License 1.1
Styles
16 8 weights, with italics
Variable font
Yes Weight 200–900
Glyphs
1,556
Languages checked
29 see the list
Last updated
version 1.026;hotconv 1.1.0;makeotfexe 2.6.0

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

Try Source Code Pro

Sample text

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

Source Code Pro font specimen: alphabet, numerals and weights
Source Code Pro specimen: alphabet, numerals and weights. Image drawn by trendhub from the font files.

Weights and styles

  • ExtraLight 200Source Code Pro ExtraLight ExtraLight Italic
  • Light 300Source Code Pro Light Light Italic
  • Regular 400Source Code Pro Regular Italic
  • Medium 500Source Code Pro Medium Medium Italic
  • SemiBold 600Source Code Pro SemiBold SemiBold Italic
  • Bold 700Source Code Pro Bold Bold Italic
  • ExtraBold 800Source Code Pro ExtraBold ExtraBold Italic
  • Black 900Source Code Pro Black Black Italic

Source Code Pro is a variable font: the download holds the whole weight range in one file per style, and the named weights above are positions on that range.

About Source Code Pro

Source Code Pro is a monospaced family adapted from Source Sans after a request for a version suited to coding applications. It keeps the vertical proportions and general shapes of the sans but gives every glyph the same width in every weight. In the specimen the zero has a dot in its centre, the lowercase l bends at the foot and the i and j carry slab-like serifs, which separates characters that are easily confused in code. The family is a variable font with a weight axis from 200 to 900: eight named weights, ExtraLight to Black, each with an italic. The fonts hold 1,556 glyphs; the official notes say the 2019 update brought Greek, Cyrillic, Vietnamese and the italic styles. Paul D. Hunt designed the family, the name table also credits Teo Tuominen, and Adobe publishes it under the SIL Open Font License 1.1.

Where Source Code Pro works

Code editors and terminals
Uniform character widths align indentation, and the dotted zero and bent l keep 0, O, 1 and l apart.
Syntax themes that use weight and italic
Eight weights with italics let a theme show comments in italic and keywords in SemiBold without leaving the family.
Technical documentation
Inline code and command listings in Source Code Pro match body text set in Source Sans, which shares its proportions.
Comments and strings in other scripts
Greek, Cyrillic and Vietnamese character sets keep non-Latin comments and string literals in the same fixed width.
Data tables and logs
Fixed widths line up timestamps, hashes and numeric columns in plain-text output.

Glyphs

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

Latin and Latin Extended characters in the preview subset; the complete family has 1,556 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
  • Vietnamese
  • Russian
  • Ukrainian
  • Bulgarian
  • Greek

Writing systems with glyphs in the family besides Latin: Cyrillic, Greek. These are listed as scripts, not as a promise for every language written in them.

Character sets found in the files: cyrillic, cyrillic-ext, greek, latin, latin-ext, vietnamese. 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 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.

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 Source Code Pro

Source Sans 3 Sans Serif

Source Code Pro was adapted from Source Sans and keeps its vertical proportions, so code and running text share one look.

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 Source Code Pro 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: "Source Code Pro";
  src: url("/assets/fonts/SourceCodePro-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Code Pro";
  src: url("/assets/fonts/SourceCodePro-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Source Code Pro", monospace;
}

Or load it from the official source. Google Fonts serves Source Code Pro with this markup:

HTML, Google Fonts

Things to know

The default instance is ExtraLight
The weight axis defaults to 200. Set a weight such as 400 explicitly in editors or CSS that do not read the named instances.
Two variable files
Roman and italic are separate variable fonts, each covering weights 200 to 900.
Reserved font name
The license notice reserves the name Source, a trademark of Adobe, so modified versions need a different name.

FAQs

Is Source Code Pro free for commercial use?

Source Code Pro can be used in commercial projects without a fee under the SIL Open Font License 1.1. The license also allows modification and redistribution, but the font files cannot be sold by themselves, and derivative versions keep the same license and cannot use the reserved name Source.

Who designed Source Code Pro?

Source Code Pro was designed by Paul D. Hunt and is published by Adobe. The font's name table also credits Teo Tuominen.

How many weights does Source Code Pro have?

Source Code Pro has eight named weights, from ExtraLight 200 to Black 900, each with an italic, for 16 styles.

Is Source Code Pro a variable font?

Yes. Source Code Pro is a variable font with a weight axis from 200 to 900, in separate roman and italic files.

Which languages does Source Code Pro support?

Source Code Pro includes the letters needed for English and other Latin-script languages such as German, Polish, Turkish and Vietnamese, as well as Russian, Ukrainian, Bulgarian and Greek.

What fonts pair well with Source Code Pro?

Source Code Pro was made as the companion of Source Sans, so Source Sans 3 is the natural text face beside it.

Comments

No comments yet. If you have used Source Code Pro, tell other readers how it went.

Leave a comment

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

Collections with Source Code Pro

Similar fonts

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