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.cjs CHANGED
@@ -8,7 +8,7 @@ function toScreenPoint(point, scale) {
8
8
  return [point.x * scale, -point.y * scale];
9
9
  }
10
10
  function pushUniquePoint(points, point) {
11
- if (points.length === 0 || !pointsEqual2D$1(points[points.length - 1], point)) points.push(point);
11
+ if (points.length === 0 || !pointsEqual2D(points[points.length - 1], point)) points.push(point);
12
12
  }
13
13
  function flattenQuadratic(p0, p1, p2, tolerance, out) {
14
14
  let sp = 0;
@@ -290,7 +290,7 @@ function normalizePositive(value, fallback) {
290
290
  function samePoint(a, b) {
291
291
  return a.x === b.x && a.y === b.y;
292
292
  }
293
- function pointsEqual2D$1(a, b) {
293
+ function pointsEqual2D(a, b) {
294
294
  return a[0] === b[0] && a[1] === b[1];
295
295
  }
296
296
  function pointsAlmostEqual2D(a, b, epsilon = 1e-6) {