PT Serif + M PLUS 1 Code
Font pairing: PT Serif for headings, M PLUS 1 Code for body text.
The quick brown fox jumps over the lazy dog
Good typography is invisible until it is missing. Pair a characterful headline with a calm, readable text face, keep lines between 45 and 75 characters, and give every paragraph room to breathe.
- Similar x-height
- Both open source
Why PT Serif and M PLUS 1 Code work
- Matching x-heights (50% and 52% of the font size), so they mix evenly on one line.
- Both open source: free to modify, share, self-host and subset, including for commercial use.
PT Serif and M PLUS 1 Code compared
| Detail | PT SerifHeadings | M PLUS 1 CodeText |
|---|---|---|
| Style | Transitional serif | Monospace |
| Stroke contrast | Moderate | Low |
| x-height | 0.50 em | 0.52 em |
| Average width | 0.50 em | 0.50 em |
| Weights | 2 weights, 400-700 | 7 weights, 100-700 (variable) |
| Italics | Yes | No |
| Scripts | Cyrillic, Cyrillic Extended, Latin and Latin Extended | Japanese, Latin, Latin Extended and Vietnamese |
| Designer | ParaType | Coji Morishita |
| Licence | SIL Open Font License 1.1 | SIL Open Font License 1.1 |
- x-height: at the same size, M PLUS 1 Code’s lowercase is 4% taller than PT Serif’s. When the two share a line, set M PLUS 1 Code at 96% to even them out.
- Width: PT Serif and M PLUS 1 Code have similar average widths (within 1%).
- Weights: PT Serif at 700 for headings, M PLUS 1 Code at 400 for text and 700 for bold. M PLUS 1 Code has no italics, so browsers slant it for emphasis.
- Scripts: both cover Latin and Latin Extended. Only PT Serif covers Cyrillic and Cyrillic Extended. Only M PLUS 1 Code covers Japanese and Vietnamese.
The two fonts
Heading
PT Serif
Open sourceSerif · TransitionalGoogle Fonts
Free for personal and commercial use. You can self-host, subset and embed it.
Body
M PLUS 1 Code
Open sourceMonospace · MonospaceGoogle Fonts
Free for personal and commercial use. You can self-host, subset and embed it.
CSS for this pairing
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@100;200;300;400;500;600;700&display=swap');
h1, h2, h3 {
font-family: 'PT Serif', Georgia, "Times New Roman", serif;
font-weight: 700;
}
body {
font-family: 'M PLUS 1 Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
Pair PT Serif with…
PT Serif
PT Sans Good typography is invisible until it is missing.
PT Serif
Nunito Good typography is invisible until it is missing.
PT Serif
Roboto Good typography is invisible until it is missing.
PT Serif
Google Sans Good typography is invisible until it is missing.
PT Serif
Lato Good typography is invisible until it is missing.
PT Serif
Figtree Good typography is invisible until it is missing.
Pair M PLUS 1 Code with…
M PLUS 1
M PLUS 1 Code Good typography is invisible until it is missing.
M PLUS Code Latin
M PLUS 1 Code Good typography is invisible until it is missing.
M PLUS 2
M PLUS 1 Code Good typography is invisible until it is missing.
Playfair Display
M PLUS 1 Code Good typography is invisible until it is missing.
Neuton
M PLUS 1 Code Good typography is invisible until it is missing.
Laila
M PLUS 1 Code Good typography is invisible until it is missing.