Global Font Normalizer / 全局字体规范器2.0
Batch replace fonts with smart weight matching, auto line-height, and mixed style support.
Plugin Preview
About this plugin
# 🚀 The Ultimate Font Replacement & Audit Tool
# 终极全局字体替换与审计工具
Stop wasting time manually fixing font weights and line heights! This plugin is the perfect solution for switching between Chinese and English fonts without breaking your design.
告别字体替换后的“字重丢失”或“行高错乱”的噩梦!专为设计师打造,完美解决中英文字体互转时的排版痛点。
## ✨ Key Features / 核心功能
### 1. 🧠 Smart Weight Matching (智能字重匹配)
Intelligently maps weights between fonts (e.g., PingFang → Arial). It knows that "Normal" equals "Regular" and "Heavy" equals "Black".
**智能识别**:在不同字体间切换时,自动识别并映射相似字重(如将 Normal 映射为 Regular),不再死板报错。
### 2. 🛡️ Robust Fallback (强力兜底机制)
**Never breaks.** If the target font doesn't have the corresponding weight, the plugin automatically finds the **lightest/closest available weight** (Regular/Light) instead of defaulting to Bold.
**绝不罢工**:如果目标字体缺少对应字重,插件会自动寻找最细或最常用的字重进行兜底,绝不让文字变成一坨黑。
### 3. 📏 Auto Line-Height (自适应行高)
**New in v21!** One-click to reset line-height to `Auto` during replacement. Perfect for fixing messy line heights before developer handoff.
**开发交付神器**:支持在替换字体时强制将行高设为 `Auto`,一键修复行高数值混乱的问题。
### 4. 🔍 Smart Audit (智能审计)
**Scan & Fix.** Automatically scans the entire page or selection to find inconsistent fonts.
* **Deviant Detection**: Automatically marks fonts that don't match the majority as "⚠️ Deviants".
* **Batch Fix**: Select all deviant fonts with one click and standardize them.
**全局体检**:一键扫描全页,自动标记“不合群”的异常字体,支持一键全选异常项并批量修复。
### 5. 🎨 Mixed Style Support (完美支持混合样式)
Works perfectly on text layers with multiple fonts, sizes, or colors. It only replaces the font family while preserving all other styles.
**混合样式无损**:即使一个文本框里混杂了粗体、红字、大号字,插件也能精准只替换字体,保留其他所有属性。
### 6. ↩️ Reliable Undo (时光机)
Built-in history with **local storage**. Click "Restore" to perfectly revert changes, even if you restart Figma.
**本地历史记录**:内置时光机,操作失误点击“恢复”即可一键还原。
---
## 💡 How to use / 使用方法
### Mode 1: Global Replace (全局替换)
1. Select Frames (or nothing to scan page).
2. Choose target font.
3. Check **"Auto Line-Height"** if needed.
4. Click **Apply**.
### Mode 2: Smart Audit (智能审计)
1. Switch to **"Smart Audit"** tab.
2. Click **Scan**.
3. Click **"Select Deviants (⚠️)"** to auto-select inconsistent fonts.
4. Replace them all at once!
---
Designed for UI/UX designers who care about precision and efficiency.
专为追求极致效率的 UI/UX 设计师打造。
Plugin Details
| Version | 2 |
|---|---|
| Created | January 30, 2026 |
| Last Updated | February 10, 2026 |
| Category | editing & effects plugins |
| Creator | Gen.X |
| Stats | 7 installs, 1 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Network Access:
此插件不需要联网,只使用 Figma 内部 API 修改字体。
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the editing & effects plugins category.