claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] PDF Export: Centered Text Becomes Left-Aligned

Open AgentiLoop opened this issue 1 year ago • 3 comments

Bug Description when I export text that is centerd. is makes the pdf with it left justified. sample file: [Image #1] PDF export: [Image #2] convert to paths: [Image #3] see what is causing the export text that is centered to come out left justified. ⎿ API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). Please double press esc to edit your last message or start a new session for Claude Code to assist with a different task. If you are seeing this refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch models.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.5
  • Feedback ID: ef89603e-6c67-4c62-ba58-e664cfdc858e

Errors

[{"error":"Error: Request was aborted.\n    at su._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:899:4711)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-03T05:24:39.281Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at QK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:1183)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:911\n    at Array.map (<anonymous>)\n    at xX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:902)\n    at cJB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2847:9380)\n    at CC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:19415)\n    at Fp (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:42814)\n    at I9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38355)\n    at Ch (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38283)\n    at TC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38137)","timestamp":"2025-10-03T05:26:32.269Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at QK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:1183)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:911\n    at Array.map (<anonymous>)\n    at xX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:902)\n    at cJB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2847:9380)\n    at CC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:19415)\n    at Fp (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:42814)\n    at I9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38355)\n    at Ch (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38283)\n    at TC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38137)","timestamp":"2025-10-03T05:27:24.774Z"},{"error":"Error: Request was aborted.\n    at su._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:899:4711)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-03T05:27:49.596Z"},{"error":"Error: Request was aborted.\n    at su._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:899:4711)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-03T14:22:05.416Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at QK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:1183)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:911\n    at Array.map (<anonymous>)\n    at xX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:902)\n    at cJB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2847:9380)\n    at CC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:19415)\n    at Fp (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:42814)\n    at I9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38355)\n    at Ch (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38283)\n    at TC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38137)","timestamp":"2025-10-03T15:35:23.774Z"},{"error":"Error: Request was aborted.\n    at yP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1034:3864)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-03T15:38:40.535Z"},{"error":"Error: Request w

Note: Error logs were truncated.

AgentiLoop avatar Oct 03 '25 19:10 AgentiLoop

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/8863

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 03 '25 19:10 github-actions[bot]

This issue has been automatically closed as a duplicate of #8863.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 07 '25 09:10 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Oct 14 '25 14:10 github-actions[bot]