Add progress indicator custom glyphs (EE00-EE0B)

Fixes #5478
This commit is contained in:
Daniel Imms
2025-12-29 07:31:52 -08:00
parent 8e6b6e7464
commit 7cf48c1eb5
4 changed files with 41 additions and 2 deletions
+2 -2
View File
@@ -434,8 +434,8 @@ function commandsToPath(commands) {
const bbox = getBoundingBox(absolute);
console.log(`Path bounding box: x=${bbox.minX}, y=${bbox.minY}, w=${bbox.width}, h=${bbox.height}`);
// Use path bounding box for normalization
const normalized = scaleToNormalized(absolute, bbox.minX, bbox.minY, bbox.width, bbox.height);
// Use viewBox for normalization (not path bounding box)
const normalized = scaleToNormalized(absolute, minX, minY, width, height);
const result = commandsToPath(normalized);
console.log(`\nConverted path (${result.length} chars):\n`);