failed WRONG_FIX wrong_fix · 14 tool calls · 24 s · Textualize/rich
fix fonts Fixes https://github.com/Textualize/rich/issues/3943
| # | Tool | Arguments | Result |
|---|---|---|---|
| 1 | run_command | {
"command": "grep -rn \"font\" . | head -20"
} | {"status": "ok", "stdout": "./assets/logo.svg:4: <style bx:fonts=\"Fira Code\">@font-face { font-family: \"Fira Code\"; font-style: normal; font-weight: 300; fofull{"status": "ok", "stdout": "./assets/logo.svg:4: <style bx:fonts=\"Fira Code\">@font-face { font-family: \"Fira Code\"; font-style: normal; font-weight: 300; font-stretch: normal; font-variant: normal; font-feature-settings: normal; src: url(\"data:font/ttf;base64,AAEAAAAQAQAABAAAR0RFRp4LlJ8AAhdoAAABdkdQT1NaRxfrAAIY4AAAFfxHU1VCvcA6eQACLtwAAFUwT1MvMmlt1xQAAZHIAAAAYFNUQVR4cGiMAAKEDAAAABxjbWFwI+mTbgABkigAADpwZ2FzcAAAABAAAhdgAAAACGdseWYLbS8pAAABDAABaVpoZWFkC8n2/gABd4QAAAA2aGhlYQM6BAMAAZGkAAAAJGhtdHjgF35pAAF3vAAAGeZsb2NhNWuROgABaogAAAz8bWF4cAbrArwAAWpoAAAAIG5hbWVz25rrAAHMoAAABIJwb3N0XaJ9IgAB0SQAAEY7cHJlcGgGjIUAAcyYAAAABwAEALT9RAP8CDQAAwAHACcAMwAAUyERISURIREBFAYjIiY1NTY2NTQmIyIHBiMiJjU0NjYzMhYWFRQGBwM0NjMyFhUUBiMiJrQDSPy4Atz9kgFEIBITH2xKL0s5Lw8LFho9VidWYSdZZXgoHh4oKB4eKAg09RBoCiD14AOuFhoaFqgGRU87TxYGGxMbIhFBaTxpdA/+9h4oKB4fKysAAAIAPAAABHQFXgAHAAoAAEEhAyMBMwEjASEDA3f9tnl4AcepAciE/WgB9fkBb/6RBV76ogHjAwT//wA8AAAEdAb4BiYAAQAAAAYGNAoA//8APAAABHQG4wYmAAEAAAAGBjX9AP//ADwAAAR0BwoGJgABAAAABgY4AAD//wA8AAAEdAa6BiYAAQAAAAYGOQQA//8APAAABHQHAQYmAAEAAAAGBjsEAP//ADwAAAR0BqQGJgABAAAABgY9BAD//wA8/kMEdAVeBiYAAQAAAAcGMAERAAD//wA8AAAEdAdCBiYAAQAAAAYGPgQA//8APAAABHQG5wYmAAEAAAAGBj8EAAAC/+gAAATCBV4ADwASAABBIQMjASEHIRMhFSETIRUhASEDAp3+Q3CIAaQC4RH+CXABhv6RcQFl/iv+IwFuoAFt/pMFXnX+C3X99nUB5wMH////6AAABMIG+AYmAAsAAAAHBjQAiwAAAAMA2QAABCQFXgALABQAKQAAQTQmJiMhESEyPgIDNCYjIxEzMjYTFA4CIyERITIeAhUUBgYHHgIDm1iPU/73AQMzcGE8N56C7P9/jsBYkbFa/qkBNVaoiVNKdUFNkV4BeXJ5Lv3hFThnAtyAa/4ddv4EbpZaJwVeIE6GZVp8SQ4NRYsAAAEAkP/sBGIFcQAdAABBMhYXByYmIyIGAhUUEhYzMjY3FwYGIyIkAjU0EiQCzIOuUE5Dk094z354y3x3mTZIOsOPof73nJ8BBQVxQUBZOS1u/v/f2f7+ckQtXDhTowE75egBOqAA//8AkP/sBGIG+AYmAA4AAAAHBjQAkAAA//8AkP/sBGIG+AYmAA4AAAAHBjYAhgAA//8AkP4xBGIFcQYmAA4AAAAGBjdiAP//AJD/7ARiBwoGJgAOAAAABwY4AIYAAP//AJD/7ARiBuEGJgAOAAAABwY6AIoAAAACALoAAAREBV4ADAAZAABBNC4CIyMRMzI+AjcUAgYGIyERITIWFhIDuVWInUm9wEydhVKLcLfUZf7WARV14LVrArbA43Ak+4EwfuW12v7vlDcFXjWR/vUAAwAvAAAEVQVeAAMAEAAdAABBFSE1BTQuAiMjETMyPgI3FAIGBiMhESEyFhYSAp39kgObVYidSb3ATJ2FUotwt9Rl/tYBFXXg |
| 2 | run_command | {
"command": "grep -rn \"font\" rich | head -20"
} | {"status": "ok", "stdout": "rich/table.py:48: safe_box (Optional[bool], optional): Disable box characters that don't display on windows legacy terminal with *rafull{"status": "ok", "stdout": "rich/table.py:48: safe_box (Optional[bool], optional): Disable box characters that don't display on windows legacy terminal with *raster* fonts. Defaults to True.\nrich/table.py:163: safe_box (Optional[bool], optional): Disable box characters that don't display on windows legacy terminal with *raster* fonts. Defaults to True.\nrich/console.py:2336: font_aspect_ratio: float = 0.61,\nrich/console.py:2349: font_aspect_ratio (float, optional): The width to height ratio of the font used in the ``code_format``\nrich/console.py:2350: string. Defaults to 0.61, which is the width to height ratio of Fira Code (the default font).\nrich/console.py:2351: If you aren't specifying a different font inside ``code_format``, you probably don't need this.\nrich/console.py:2381: css_rules.append(\"font-weight: bold\")\nrich/console.py:2383: css_rules.append(\"font-style: italic;\")\nrich/console.py:2397: char_width = char_height * font_aspect_ratio\nrich/console.py:2588: font_aspect_ratio: float = 0.61,\nrich/console.py:2601: font_aspect_ratio (float, optional): The width to height ratio of the font used in the ``code_format``\nrich/console.py:2602: string. Defaults to 0.61, which is the width to height ratio of Fira Code (the default font).\nrich/console.py:2603: If you aren't specifying a different font inside ``code_format``, you probably don't need this.\nrich/console.py:2612: font_aspect_ratio=font_aspect_ratio,\nrich/jupyter.py:14:<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\">{code}</pre>\nrich/_export_format.py:15: <pre style=\"font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><code style=\"font-family:inherit\">{code}</code></pre>\nrich/_export_format.py:25: @font-face {{\nrich/_e |
| 3 | read_file | {
"filepath": "rich/_export_format.py",
"start_line": 1,
"end_line": 50
} | {"status": "ok", "filepath": "rich/_export_format.py", "content": "CONSOLE_HTML_FORMAT = \"\"\"\\\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<sfull{"status": "ok", "filepath": "rich/_export_format.py", "content": "CONSOLE_HTML_FORMAT = \"\"\"\\\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<style>\n{stylesheet}\nbody {{\n color: {foreground};\n background-color: {background};\n}}\n</style>\n</head>\n<body>\n <pre style=\"font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><code style=\"font-family:inherit\">{code}</code></pre>\n</body>\n</html>\n\"\"\"\n\nCONSOLE_SVG_FORMAT = \"\"\"\\\n<svg class=\"rich-terminal\" viewBox=\"0 0 {width} {height}\" xmlns=\"http://www.w3.org/2000/svg\">\n <!-- Generated with Rich https://www.textualize.io -->\n <style>\n\n @font-face {{\n font-family: \"Fira Code\";\n src: local(\"FiraCode-Regular\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2\") format(\"woff2\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff\") format(\"woff\");\n font-style: normal;\n font-weight: 400;\n }}\n @font-face {{\n font-family: \"Fira Code\";\n src: local(\"FiraCode-Bold\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2\") format(\"woff2\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff\") format(\"woff\");\n font-style: bold;\n font-weight: 700;\n }}\n\n .{unique_id}-matrix {{\n font-family: Fira Code, monospace;\n font-size: {char_height}px;\n line-height: {line_height}px;\n font-variant-east-asian: full-width;\n }}\n\n .{unique_id}-title {{\n font-size: 18px;\n", "start_line": 1, "end_line": 50, "total_lines": 76, "is_truncated": false} |
| 4 | read_file | {
"end_line": 76,
"filepath": "rich/_export_format.py",
"start_line": 51
} | {"status": "ok", "filepath": "rich/_export_format.py", "content": " font-weight: bold;\n font-family: arial;\n }}\n\n {styles}\n </style>\n\n <defs>\n <clipPathfull{"status": "ok", "filepath": "rich/_export_format.py", "content": " font-weight: bold;\n font-family: arial;\n }}\n\n {styles}\n </style>\n\n <defs>\n <clipPath id=\"{unique_id}-clip-terminal\">\n <rect x=\"0\" y=\"0\" width=\"{terminal_width}\" height=\"{terminal_height}\" />\n </clipPath>\n {lines}\n </defs>\n\n {chrome}\n <g transform=\"translate({terminal_x}, {terminal_y})\" clip-path=\"url(#{unique_id}-clip-terminal)\">\n {backgrounds}\n <g class=\"{unique_id}-matrix\">\n {matrix}\n </g>\n </g>\n</svg>\n\"\"\"\n\n_SVG_FONT_FAMILY = \"Rich Fira Code\"\n_SVG_CLASSES_PREFIX = \"rich-svg\"\n", "start_line": 51, "end_line": 76, "total_lines": 76, "is_truncated": false} |
| 5 | run_command | {
"command": "grep -rn \"Fira Code\" . | head -20"
} | {"status": "ok", "stdout": "./assets/logo.svg:4: <style bx:fonts=\"Fira Code\">@font-face { font-family: \"Fira Code\"; font-style: normal; font-weight: 300; fofull{"status": "ok", "stdout": "./assets/logo.svg:4: <style bx:fonts=\"Fira Code\">@font-face { font-family: \"Fira Code\"; font-style: normal; font-weight: 300; font-stretch: normal; font-variant: normal; font-feature-settings: normal; src: url(\"data:font/ttf;base64,AAEAAAAQAQAABAAAR0RFRp4LlJ8AAhdoAAABdkdQT1NaRxfrAAIY4AAAFfxHU1VCvcA6eQACLtwAAFUwT1MvMmlt1xQAAZHIAAAAYFNUQVR4cGiMAAKEDAAAABxjbWFwI+mTbgABkigAADpwZ2FzcAAAABAAAhdgAAAACGdseWYLbS8pAAABDAABaVpoZWFkC8n2/gABd4QAAAA2aGhlYQM6BAMAAZGkAAAAJGhtdHjgF35pAAF3vAAAGeZsb2NhNWuROgABaogAAAz8bWF4cAbrArwAAWpoAAAAIG5hbWVz25rrAAHMoAAABIJwb3N0XaJ9IgAB0SQAAEY7cHJlcGgGjIUAAcyYAAAABwAEALT9RAP8CDQAAwAHACcAMwAAUyERISURIREBFAYjIiY1NTY2NTQmIyIHBiMiJjU0NjYzMhYWFRQGBwM0NjMyFhUUBiMiJrQDSPy4Atz9kgFEIBITH2xKL0s5Lw8LFho9VidWYSdZZXgoHh4oKB4eKAg09RBoCiD14AOuFhoaFqgGRU87TxYGGxMbIhFBaTxpdA/+9h4oKB4fKysAAAIAPAAABHQFXgAHAAoAAEEhAyMBMwEjASEDA3f9tnl4AcepAciE/WgB9fkBb/6RBV76ogHjAwT//wA8AAAEdAb4BiYAAQAAAAYGNAoA//8APAAABHQG4wYmAAEAAAAGBjX9AP//ADwAAAR0BwoGJgABAAAABgY4AAD//wA8AAAEdAa6BiYAAQAAAAYGOQQA//8APAAABHQHAQYmAAEAAAAGBjsEAP//ADwAAAR0BqQGJgABAAAABgY9BAD//wA8/kMEdAVeBiYAAQAAAAcGMAERAAD//wA8AAAEdAdCBiYAAQAAAAYGPgQA//8APAAABHQG5wYmAAEAAAAGBj8EAAAC/+gAAATCBV4ADwASAABBIQMjASEHIRMhFSETIRUhASEDAp3+Q3CIAaQC4RH+CXABhv6RcQFl/iv+IwFuoAFt/pMFXnX+C3X99nUB5wMH////6AAABMIG+AYmAAsAAAAHBjQAiwAAAAMA2QAABCQFXgALABQAKQAAQTQmJiMhESEyPgIDNCYjIxEzMjYTFA4CIyERITIeAhUUBgYHHgIDm1iPU/73AQMzcGE8N56C7P9/jsBYkbFa/qkBNVaoiVNKdUFNkV4BeXJ5Lv3hFThnAtyAa/4ddv4EbpZaJwVeIE6GZVp8SQ4NRYsAAAEAkP/sBGIFcQAdAABBMhYXByYmIyIGAhUUEhYzMjY3FwYGIyIkAjU0EiQCzIOuUE5Dk094z354y3x3mTZIOsOPof73nJ8BBQVxQUBZOS1u/v/f2f7+ckQtXDhTowE75egBOqAA//8AkP/sBGIG+AYmAA4AAAAHBjQAkAAA//8AkP/sBGIG+AYmAA4AAAAHBjYAhgAA//8AkP4xBGIFcQYmAA4AAAAGBjdiAP//AJD/7ARiBwoGJgAOAAAABwY4AIYAAP//AJD/7ARiBuEGJgAOAAAABwY6AIoAAAACALoAAAREBV4ADAAZAABBNC4CIyMRMzI+AjcUAgYGIyERITIWFhIDuVWInUm9wEydhVKLcLfUZf7WARV14LVrArbA43Ak+4EwfuW12v7vlDcFXjWR/vUAAwAvAAAEVQVeAAMAEAAdAABBFSE1BTQuAiMjETMyPgI3FAIGBiMhESEyFhYSAp39kgObVYidSb3ATJ2FUotwt9Rl/tYBFXXg |
| 6 | run_command | {
"command": "grep -rn \"Fira Code\" rich/_export_format.py"
} | {"status": "ok", "stdout": "26: font-family: \"Fira Code\";\n34: font-family: \"Fira Code\";\n43: font-family: Fira Code, monospace;\n75:_SVG_FONT_FAMILY = \"Rifull{"status": "ok", "stdout": "26: font-family: \"Fira Code\";\n34: font-family: \"Fira Code\";\n43: font-family: Fira Code, monospace;\n75:_SVG_FONT_FAMILY = \"Rich Fira Code\"\n", "exit_code": 0} |
| 7 | read_file | {
"end_line": 76,
"filepath": "rich/_export_format.py",
"start_line": 1
} | {"status": "ok", "filepath": "rich/_export_format.py", "content": "CONSOLE_HTML_FORMAT = \"\"\"\\\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<sfull{"status": "ok", "filepath": "rich/_export_format.py", "content": "CONSOLE_HTML_FORMAT = \"\"\"\\\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<style>\n{stylesheet}\nbody {{\n color: {foreground};\n background-color: {background};\n}}\n</style>\n</head>\n<body>\n <pre style=\"font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><code style=\"font-family:inherit\">{code}</code></pre>\n</body>\n</html>\n\"\"\"\n\nCONSOLE_SVG_FORMAT = \"\"\"\\\n<svg class=\"rich-terminal\" viewBox=\"0 0 {width} {height}\" xmlns=\"http://www.w3.org/2000/svg\">\n <!-- Generated with Rich https://www.textualize.io -->\n <style>\n\n @font-face {{\n font-family: \"Fira Code\";\n src: local(\"FiraCode-Regular\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2\") format(\"woff2\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff\") format(\"woff\");\n font-style: normal;\n font-weight: 400;\n }}\n @font-face {{\n font-family: \"Fira Code\";\n src: local(\"FiraCode-Bold\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2\") format(\"woff2\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff\") format(\"woff\");\n font-style: bold;\n font-weight: 700;\n }}\n\n .{unique_id}-matrix {{\n font-family: Fira Code, monospace;\n font-size: {char_height}px;\n line-height: {line_height}px;\n font-variant-east-asian: full-width;\n }}\n\n .{unique_id}-title {{\n font-size: 18px;\n font-weight: bold;\n font-family: arial;\n }}\n\n {styles}\n </style>\n\n <defs>\n <clipPath id=\"{unique_id}-clip-terminal\">\n <rect x=\"0\" y=\"0\" width=\"{terminal_width}\" height=\"{terminal_height}\" />\n </cli |
| 8 | edit_file | {
"filepath": "rich/_export_format.py",
"new_string": "_SVG_FONT_FAMILY = \\\"Fira Code\\\"",
"old_string": "_SVG_FONT_FAMILY = \\\"Rich Fira Code\\\""
} | {"status": "error", "error_type": "FileEditError", "error_message": "old_string not found in file (tried exact, flexible and regex matching)"}full{"status": "error", "error_type": "FileEditError", "error_message": "old_string not found in file (tried exact, flexible and regex matching)"} |
| 9 | read_file | {
"filepath": "rich/_export_format.py",
"start_line": 70,
"end_line": 76
} | {"status": "ok", "filepath": "rich/_export_format.py", "content": " </g>\n </g>\n</svg>\n\"\"\"\n\n_SVG_FONT_FAMILY = \"Rich Fira Code\"\n_SVG_CLASSES_PREFIX = full{"status": "ok", "filepath": "rich/_export_format.py", "content": " </g>\n </g>\n</svg>\n\"\"\"\n\n_SVG_FONT_FAMILY = \"Rich Fira Code\"\n_SVG_CLASSES_PREFIX = \"rich-svg\"\n", "start_line": 70, "end_line": 76, "total_lines": 76, "is_truncated": false} |
| 10 | edit_file | {
"filepath": "rich/_export_format.py",
"new_string": "_SVG_FONT_FAMILY = \\\"Fira Code\\\"",
"old_string": "_SVG_FONT_FAMILY = \\\"Rich Fira Code\\\""
} | {"status": "error", "error_type": "FileEditError", "error_message": "old_string not found in file (tried exact, flexible and regex matching)"}full{"status": "error", "error_type": "FileEditError", "error_message": "old_string not found in file (tried exact, flexible and regex matching)"} |
| 11 | run_command | {
"command": "cat -A rich/_export_format.py | tail -n 10"
} | {"status": "ok", "stdout": " {backgrounds}$\n <g class=\"{unique_id}-matrix\">$\n {matrix}$\n </g>$\n </g>$\n</svg>$\n\"\"\"$\n$\n_SVG_FONT_FAMILY = \"Rich Firafull{"status": "ok", "stdout": " {backgrounds}$\n <g class=\"{unique_id}-matrix\">$\n {matrix}$\n </g>$\n </g>$\n</svg>$\n\"\"\"$\n$\n_SVG_FONT_FAMILY = \"Rich Fira Code\"$\n_SVG_CLASSES_PREFIX = \"rich-svg\"$\n", "exit_code": 0} |
| 12 | edit_file | {
"filepath": "rich/_export_format.py",
"new_string": "_SVG_FONT_FAMILY = \\\"Fira Code\\\"",
"old_string": "_SVG_FONT_FAMILY = \\\"Rich Fira Code\\\"",
"allow_multiple": true
} | {"status": "error", "error_type": "FileEditError", "error_message": "old_string not found in file (tried exact, flexible and regex matching)"}full{"status": "error", "error_type": "FileEditError", "error_message": "old_string not found in file (tried exact, flexible and regex matching)"} |
| 13 | read_file | {
"end_line": 76,
"filepath": "rich/_export_format.py",
"start_line": 1
} | {"status": "ok", "filepath": "rich/_export_format.py", "content": "CONSOLE_HTML_FORMAT = \"\"\"\\\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<sfull{"status": "ok", "filepath": "rich/_export_format.py", "content": "CONSOLE_HTML_FORMAT = \"\"\"\\\n<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<style>\n{stylesheet}\nbody {{\n color: {foreground};\n background-color: {background};\n}}\n</style>\n</head>\n<body>\n <pre style=\"font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><code style=\"font-family:inherit\">{code}</code></pre>\n</body>\n</html>\n\"\"\"\n\nCONSOLE_SVG_FORMAT = \"\"\"\\\n<svg class=\"rich-terminal\" viewBox=\"0 0 {width} {height}\" xmlns=\"http://www.w3.org/2000/svg\">\n <!-- Generated with Rich https://www.textualize.io -->\n <style>\n\n @font-face {{\n font-family: \"Fira Code\";\n src: local(\"FiraCode-Regular\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2\") format(\"woff2\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff\") format(\"woff\");\n font-style: normal;\n font-weight: 400;\n }}\n @font-face {{\n font-family: \"Fira Code\";\n src: local(\"FiraCode-Bold\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2\") format(\"woff2\"),\n url(\"https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff\") format(\"woff\");\n font-style: bold;\n font-weight: 700;\n }}\n\n .{unique_id}-matrix {{\n font-family: Fira Code, monospace;\n font-size: {char_height}px;\n line-height: {line_height}px;\n font-variant-east-asian: full-width;\n }}\n\n .{unique_id}-title {{\n font-size: 18px;\n font-weight: bold;\n font-family: arial;\n }}\n\n {styles}\n </style>\n\n <defs>\n <clipPath id=\"{unique_id}-clip-terminal\">\n <rect x=\"0\" y=\"0\" width=\"{terminal_width}\" height=\"{terminal_height}\" />\n </cli |
| 14 | edit_file | {
"filepath": "rich/_export_format.py",
"new_string": "_SVG_FONT_FAMILY = \"Fira Code\"",
"old_string": "_SVG_FONT_FAMILY = \"Rich Fira Code\""
} | {"status": "ok", "filepath": "rich/_export_format.py", "occurrences": 1, "strategy": "exact", "diff": "--- a/rich/_export_format.py\n+++ b/rich/_export_format.pfull{"status": "ok", "filepath": "rich/_export_format.py", "occurrences": 1, "strategy": "exact", "diff": "--- a/rich/_export_format.py\n+++ b/rich/_export_format.py\n@@ -72,5 +72,5 @@\n </svg>\n \"\"\"\n \n-_SVG_FONT_FAMILY = \"Rich Fira Code\"\n+_SVG_FONT_FAMILY = \"Fira Code\"\n _SVG_CLASSES_PREFIX = \"rich-svg\"\n", "is_truncated": false} |
| 15 | submit_patch | [] | {"status": "ok", "patch_size": 313, "files_changed": 1}full{"status": "ok", "patch_size": 313, "files_changed": 1} |
diff --git a/rich/_export_format.py b/rich/_export_format.py index e7527e52..51d82c13 100644 --- a/rich/_export_format.py +++ b/rich/_export_format.py @@ -72,5 +72,5 @@ CONSOLE_SVG_FORMAT = """\ </svg> """ -_SVG_FONT_FAMILY = "Rich Fira Code" +_SVG_FONT_FAMILY = "Fira Code" _SVG_CLASSES_PREFIX = "rich-svg"
.....................................................F
=================================== FAILURES ===================================
________________________________ test_nerd_font ________________________________
def test_nerd_font():
"""Regression test for https://github.com/Textualize/rich/issues/3943"""
# Not allocated by unicode, but used by nerd fonts
> assert cell_len("\U000f024d") == 1
E AssertionError: assert 0 == 1
E + where 0 = cell_len('\U000f024d')
tests/test_cells.py:189: AssertionError
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
1 failed, 53 passed in 0.08s