Professional ComfyUI Plotting & Visualization Nodes with Advanced Chinese Typography Support
Enhanced TinyTerra fork with perfect Chinese font rendering and professional typography
|
|
- Open ComfyUI Manager
- Search for "TinyTerraLy" or "ttN"
- Click Install and restart ComfyUI
cd ComfyUI/custom_nodes
git clone https://github.com/Ly-scnu/ComfyUI_TinyTerraLyNodes.git
# Restart ComfyUI- Download this repository's ZIP file
- Extract to
ComfyUI/custom_nodes/ComfyUI_TinyTerraLyNodes - Restart ComfyUI
๐ This plugin includes a complete sample workflow!
Usage Steps:
- Load Workflow: Drag
workflow.jsoninto ComfyUI - Setup Models: Configure your checkpoints and other models
- Start Generation: Enjoy professional grid layouts
Workflow Features:
- โ Pre-configured XY plotting setup
- โ Optimized Chinese font parameters
- โ Professional color schemes
- โ Multiple parameter variation examples
Find Nodes: Look for ttN โ xyPlot โ advPlot images in your node browser
Basic Setup:
- Connect image grid input
- Configure plotting parameters
- Adjust font and color settings
| Node Name | Category | Description |
|---|---|---|
| ttN advPlot images | ttN/xyPlot |
Advanced XY plotting with Chinese font support |
| ttN advanced xyPlot | ttN/xyPlot |
Enhanced plotting parameter control |
| Parameter | Type | Default | Description |
|---|---|---|---|
background_color |
Dropdown | "white" | Background color selection |
text_color |
Dropdown | "black" | Text color selection |
font_size_mode |
Dropdown | "Auto" | Font mode (Auto/Fixed) |
x_font_size |
Slider | 32 | X-axis font size (12-100) |
y_font_size |
Slider | 32 | Y-axis font size (12-100) |
z_font_size |
Slider | 32 | Z-axis font size (12-100) |
chinese_font |
Dropdown | "ๆนๆญฃไปฟๅฎ" | Chinese font selection |
english_font |
Dropdown | "Times New Roman" | English font selection |
- ๐ง ComfyUI v0.345+ Full Compatibility - Adapted for 2025 latest version, resolving original incompatibility issues
- ๐ Nunchaku & Flux Kontext Support - Perfect adaptation for latest AI toolchain
- ๐ Forward Compatibility Guarantee - Ensures continued compatibility with future versions
- โ Chinese Display Squares/Garbled - Lack of Chinese font support
- โ Inconsistent Font Sizes - "Large and small" affecting aesthetics
- โ Incomplete Borders - Missing right border
- โ Version Compatibility Issues - Conflicts with new ComfyUI
- โ Professional Chinese Font Rendering - Intelligent language detection + FangZheng FangSong font
- โ Unified Font Control System - X/Y/Z axis independent size control, goodbye to clutter
- โ Complete Four-sided Borders - Rewritten layout algorithm ensuring visual integrity
- โ 2x Anti-aliasing Technology - Goodbye to blurry text, enjoy crystal-clear display
Personal Need: Improve Chinese model name display
- Automatic Language Detection: Auto-switches Chinese font when Chinese characters >30%
- Professional Chinese Fonts: FangZheng FangSong/Microsoft YaHei/SimSun/SimHei options
- Elegant English Fonts: Times New Roman/Arial/Calibri/Consolas options
- Mixed Text Support: Chinese-English mixed display, best of both worlds
- 2x Supersampling Anti-aliasing: Eliminates text edge aliasing, crystal-clear clarity
- LANCZOS High-Quality Scaling: Ensures sharp effects at any size
- Smart Suffix Cleanup: Auto-removes
.safetensors,.ckptetc. suffixes
Convenience Feature: Provides more background and text color options
| Background Color | RGB Value | Recommended Use | Best Text Color |
|---|---|---|---|
| White | (255,255,255) | Classic light theme | Black |
| Black | (0,0,0) | Professional dark theme | White |
| Dark Gray | (64,64,64) | Modern professional style | White |
| Light Gray | (192,192,192) | Soft neutral theme | Black |
| Blue | (70,130,180) | Technical demonstrations | White |
Unified Display: Resolves font size inconsistency issues
- font_size_mode: Auto(original) / Fixed(fixed)
- x_font_size: X-axis font size (12-100)
- y_font_size: Y-axis font size (12-100)
- z_font_size: Z-axis font size (12-100)
- Overlap Prevention: Auto-adjusts when fonts too large
- Center Alignment: Label position optimization
After installation, basic features are immediately available, including Chinese font support and all core features.
# Enter plugin directory
cd ComfyUI_TinyTerraLyNodes/fonts
# Install font management system (get FangZheng FangSong and other advanced fonts)
python install_fonts.py
# Preview all available font effects
python font_samples.py| Component | Version Requirement | Test Status | Notes |
|---|---|---|---|
| ComfyUI | v0.345+ | โ Full Support | 2025 latest version thoroughly tested |
| Flux Kontext | All versions | โ Enhanced Adaptation | Specially optimized compatibility support |
| Nunchaku | All versions | โ Enhanced Adaptation | Perfect support for latest features |
| Python | 3.8+ | โ Supported | Cross-platform compatible |
| Operating System | Win/Mac/Linux | โ All Platforms | Font system auto-adaptation |
Background: Black
Text Color: White
Font Mode: Fixed
X-axis Font: 28
Y-axis Font: 28
Chinese Font: FangZheng FangSong
English Font: Times New Roman
Effect: "Black Myth Wukong Style1" displays clearly, uniform font size, professional appearance
Background: Light Gray
Text Color: Black
Font Mode: Fixed
All Axis Fonts: 24
Chinese Font: Microsoft YaHei
English Font: Calibri
Effect: Suitable for technical documentation, Chinese and English each with distinct characteristics, modern minimalist style
| Parameter | Type | Default | Description | New |
|---|---|---|---|---|
| enabled | Boolean | True | Node enable switch | - |
| image | IMAGE | - | Input image grid | - |
| image_output | Dropdown | "Preview" | Output mode selection | - |
| save_prefix | String | "advPlot" | Save file prefix | - |
| file_type | Dropdown | "png" | File format | - |
| embed_workflow | Boolean | True | Embed workflow | - |
| background_color | Dropdown | "Black" | Background color | โ New |
| text_color | Dropdown | "White" | Text color | โ New |
| font_size_mode | Dropdown | "Auto" | Font mode | โ New |
| x_font_size | Slider | 32 | X-axis font size (12-100) | โ New |
| y_font_size | Slider | 32 | Y-axis font size (12-100) | โ New |
| z_font_size | Slider | 32 | Z-axis font size (12-100) | โ New |
| chinese_font | Dropdown | "ๆนๆญฃไปฟๅฎ" | Chinese font selection | โ New |
| english_font | Dropdown | "Times New Roman" | English font selection | โ New |
- Auto Mode: Original behavior, font size auto-adapts to text length
- Fixed Mode: Uniform font size, goodbye to "large and small" inconsistency
- Overlap Detection: Auto-fallback when fonts too large in Fixed mode
- Backward Compatibility: Existing workflows need no modification, seamless upgrade
- Cross-platform Adaptation: Font auto-fallback ensures compatibility
ComfyUI_TinyTerraLyNodes/
โโโ fonts/
โ โโโ font_config.json # Font configuration core
โ โโโ install_fonts.py # Font installation tool
โ โโโ font_samples.py # Font preview generator
โ โโโ README.md # Font system documentation
โ โโโ FZFSK.TTF # FangZheng FangSong font file
โโโ ttNpy/ # Core code
โโโ README.md # Main documentation
- Add Font Files: Copy
.ttffiles tofonts/directory - Modify Configuration: Edit
fonts/font_config.json
{
"fonts": {
"chinese": [
{"name": "Your Font", "file": "YourFont.ttf"}
]
}
}- Install Fonts: Run
python install_fonts.py - Restart ComfyUI: New fonts will appear in dropdown menu
cd fonts/
python font_samples.py
# Generate preview images of all fonts for easy selection
|
|
| Issue Type | Original Status | Enhanced Solution | Actual Effect |
|---|---|---|---|
| Chinese Display | โ Squares/Garbled | โ Smart font selection | "Chinese fonts" display perfectly |
| Font Size | โ Large-small inconsistency | โ Fixed mode unified control | All labels same size, professional appearance |
| Layout Borders | โ Missing right border | โ Rewritten layout algorithm | Complete four-sided borders |
| File Suffixes | โ .safetensors display | โ Smart suffix cleanup | "Model1" instead of "Model1.safetensors" |
| Version Compatibility | โ New ComfyUI conflicts | โ v0.345+ full adaptation | Zero conflict stable operation |
First, our sincere thanks to the original author TinyTerra!
This enhanced version is built entirely on TinyTerra's excellent foundational architecture. We:
- โ Respect Original: Maintain original core functionality integrity
- โ Extend & Enhance: Add new features without breaking original version
- โ Learning-Oriented: Motivated by learning and community contribution
- โ Open Source Giving Back: Share improvements with entire community
- ๐ Learning Practice: Improve programming and UI design skills through actual projects
- ๐ Solve Pain Points: Improve Chinese user experience in ComfyUI
- ๐ค Community Contribution: Give back learning results to the open source community that helped us
- ๐ง Technical Exploration: Explore adaptation and optimization of cutting-edge AI tools
cd ComfyUI/custom_nodes
git clone https://github.com/Ly-scnu/ComfyUI_TinyTerraLyNodes.git
cd ComfyUI_TinyTerraLyNodes/fonts
python install_fonts.py # Install font system
# Restart ComfyUI- Find Node: ttN โ xyPlot โ advPlot images
- Recommended Settings:
๐ Background: Black ๐ Text Color: White ๐ Font Mode: Fixed ๐ Chinese Font: FangZheng FangSong ๐ English Font: Times New Roman ๐ All Axis Font Size: 28 - Test Effect: Use model names containing Chinese, like "Black Myth Wukong Style"
โ
Chinese model names display clearly
โ
Unified coordinated font sizes
โ
Complete four-sided borders
โ
Professional color coordination
If our enhancements help your workflow, please โญ star this repository to support student learning in open source!
- Report Issues: Help us learn by reporting bugs
- Suggest Features: Share ideas for typography and UX improvements
- Share Fonts: Contribute fonts to our community collection
- Improve Documentation: Help enhance our learning resources
Love the original TinyTerra foundation? Buy TinyTerra a coffee โ

