warpdotdev/warp · error · SystemExit
SVG not found: {svg_path}
Error message
SVG not found: {svg_path} What it means
Error "SVG not found: {svg_path}" thrown in warpdotdev/warp.
Source
Thrown at script/patch_font_with_warp_glyph:79
i += 1
if i >= len(argv):
usage(2)
glyph_name = argv[i]
else:
print(f"Unknown argument: {arg}")
usage(2)
i += 1
return font_path, svg_path, codepoint, glyph_name
def patch_font(font_path: str, svg_path: str, codepoint: int, glyph_name: str) -> None:
if not os.path.exists(font_path):
raise SystemExit(f"Font not found: {font_path}")
if not os.path.exists(svg_path):
raise SystemExit(f"SVG not found: {svg_path}")
font = fontforge.open(font_path)
# Create or replace the glyph.
g = font.createChar(codepoint, glyph_name)
g.clear()
# Import the outlines.
g.importOutlines(svg_path)
# Clean up and make it robust for rasterization.
g.removeOverlap()
g.simplify()
g.correctDirection()
# Keep the logo from looking low: align the bottom of the imported outline to the baseline.
# (This is the same adjustment we ended up applying after the initial patch.)
xmin, ymin, xmax, ymax = g.boundingBox()View on GitHub (pinned to e72fd7aacb)
When it happens
Trigger: Thrown at script/patch_font_with_warp_glyph:79 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of warpdotdev/warp@e72fd7aacb (2026-08-16).
Data as JSON: /api/errors/620a58d82e153471.
Report an issue: GitHub.