pa_font 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/paFont.js CHANGED
@@ -4,7 +4,7 @@ function toScreenPoint(point, scale) {
4
4
  return [point.x * scale, -point.y * scale];
5
5
  }
6
6
  function pushUniquePoint(points, point) {
7
- if (points.length === 0 || !pointsEqual2D$1(points[points.length - 1], point)) points.push(point);
7
+ if (points.length === 0 || !pointsEqual2D(points[points.length - 1], point)) points.push(point);
8
8
  }
9
9
  function flattenQuadratic(p0, p1, p2, tolerance, out) {
10
10
  let sp = 0;
@@ -286,7 +286,7 @@ function normalizePositive(value, fallback) {
286
286
  function samePoint(a, b) {
287
287
  return a.x === b.x && a.y === b.y;
288
288
  }
289
- function pointsEqual2D$1(a, b) {
289
+ function pointsEqual2D(a, b) {
290
290
  return a[0] === b[0] && a[1] === b[1];
291
291
  }
292
292
  function pointsAlmostEqual2D(a, b, epsilon = 1e-6) {