M PLUS 2 + M PLUS 1 Code
Font pairing: M PLUS 2 for headings, M PLUS 1 Code for body text.
美しい文字、明快な考え
良いタイポグラフィは読みやすさを高めます。見出しには個性的な書体を、本文には落ち着いた読みやすい書体を選びましょう。
- Shared scripts
- Superfamily
- Similar x-height
- Both open source
Why M PLUS 2 and M PLUS 1 Code work
- Both cover Japanese and Latin.
- Same superfamily: M PLUS 2 + M PLUS 1 Code, designed to work together.
- Matching x-heights (52% 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.
M PLUS 2 and M PLUS 1 Code compared
| Detail | M PLUS 2Headings | M PLUS 1 CodeText |
|---|---|---|
| Style | Humanist sans | Monospace |
| Stroke contrast | Low | Low |
| x-height | 0.52 em | 0.52 em |
| Average width | 0.54 em | 0.50 em |
| Weights | 9 weights, 100-900 (variable) | 7 weights, 100-700 (variable) |
| Italics | No | No |
| Scripts | Japanese, Latin, Latin Extended and Vietnamese | Japanese, Latin, Latin Extended and Vietnamese |
| Designer | Coji Morishita | Coji Morishita |
| Licence | SIL Open Font License 1.1 | SIL Open Font License 1.1 |
- x-height: within 1% of each other, so the two can share a line at the same size.
- Width: M PLUS 1 Code runs 8% narrower than M PLUS 2 on average.
- Weights: M PLUS 2 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 Japanese, Latin, Latin Extended and Vietnamese.
The two fonts
Heading
M PLUS 2
Open sourceSans Serif · HumanistGoogle 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=M+PLUS+2:wght@100;200;300;400;500;600;700;800;900&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: 'M PLUS 2', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
font-weight: 700;
}
body {
font-family: 'M PLUS 1 Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
Pair M PLUS 2 with…
M PLUS 2
Source Serif 4 Good typography is invisible until it is missing.
M PLUS 2
PT Serif Good typography is invisible until it is missing.
M PLUS 2
Merriweather Good typography is invisible until it is missing.
M PLUS 2
Andada Pro Good typography is invisible until it is missing.
M PLUS 2
Alegreya Good typography is invisible until it is missing.
M PLUS 2
Platypi 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.
Playfair Display
M PLUS 1 Code Good typography is invisible until it is missing.
PT Serif
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.