lerp static method

Implementation

static TypographyData lerp(TypographyData a, TypographyData b, double t) {
  // Typography doesn't lerp smoothly, so we just switch at t >= 0.5
  return t < 0.5 ? a : b;
}