3 Commits

Author SHA1 Message Date
Sven Olderaan
7d6dc1c4cd Center text horizontally and vertically in bubbles
- Add horizontal centering for each line of text
- Add vertical centering for the entire text block
- Ensure text doesn't overflow the top of the bubble
- Maintain compatibility with both built-in and TTF fonts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-16 16:17:34 +01:00
Sven Olderaan
e0d54bd1b6 Add character-based chat bubble system with new directory structure
- Implement 5:1 ratio comic-style chat bubbles with character images
- Create modular design with character-specific assets
- Organize assets in /characters/{name}/ directories
- Add fallback system using Example character
- Support both speech and thought bubble types
- Maintain backward compatibility with style parameter

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-16 16:09:01 +01:00
Sven Olderaan
53db325bb2 Add PHP image generator and documentation
- Create image.php script for generating bubble images

- Add example usage HTML page for testing

- Update README with documentation

- Support multiple bubble styles

- Gracefully handle missing fonts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-16 12:05:12 +01:00