Weight Regular
Size 42
Tracking 0
const x = await fetch("/api"); if (x.ok) return x.json();
Code preview
const greet = (name) => {
  return `Hello, ${name}!`;
};

async function fetchData(url) {
  const res = await fetch(url);
  if (!res.ok) throw new Error(res.status);
  return res.json();
}

const items = data
  .filter(x => x.active)
  .map(x => x.name);
Confusables
zero / capital O / lowercase o 0 O o
one / lowercase L / capital I / pipe 1 l I |
rn vs m rn m
quotes ' " ` ‘ ’ “ ”
brackets ( ) [ ] { } < >
Use this font
CSS font-family: 'PT Code', monospace;
CDN <link href="https://cdn.onlyfonts.ai/pt-code/font.css" rel="stylesheet">
WOFF2 Download .woff2
Weights
Aa Bb Cc Dd Ee 0123 Regular 400
Aa Bb Cc Dd Ee 0123 Bold 700
OpenType Features (12)
aaltAccess All Alternates
AaBbCcDd 0123
c2scCaps to Small Caps
CAPITALS
caltContextual Alternates
AaBbCcDd 0123
dligDiscretionary Ligatures
ct st ck Th
fracFractions
1/2 3/4 1/3
histHistorical Forms
AaBbCcDd 0123
numrnumr
AaBbCcDd 0123
ordnOrdinals
1st 2nd 3rd
sinfsinf
AaBbCcDd 0123
subsSubscript
H2O CO2
supsSuperscript
H2O x2
caseCase-Sensitive Forms
(Hello) [World]
Character Map (1147 glyphs)
AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz0123456789
Aa
Regular
Details
Format truetype
Glyph count 1147
Version Version 1.002
Hinting Yes
Variable No
TTF size 209 KB
WOFF2 size 81 KB
Identifiers
Family PT Code
Style Regular
PostScript PTCode-Regular
License
License OFL-1.1
Copyright Copyright © 2010 ParaType Inc., ParaType Ltd. All rights reserved.
Source github
Languages (5)
Other (5)
latin latin-extended cyrillic ukrainian russian