# 文派字库（WPFonts）1.2.0 发布，为 WordPress 引入更优雅舒适的中文阅读体验。

*Published:* 2025-04-11
*Author:* 莫蒂奇

WordPress 6.8 正式版本将于下周发布，此次更新依旧是加强和修复了区块编辑器（Gutenberg）的功能，但这些功能同样并不会考虑中国用户的使用习惯，尤其是字体显示。

今日起，文派字库（WPFonts）1.2.0 版本正式发布，为 WordPress 平台带来更优雅舒适的中文阅读体验。

插件主页：<https://wenpai.org/plugins/wpfonts>

下载渠道：菲码源库 feiCode 为国内线路，GitHub 为国际线路；



 ![菲码源库 feiCode.com](https://cn.cravatar.com/favicon/api/index.php?url=cn.feicode.com)  [ 菲码源库 feiCode.com ](https://cn.feicode.com)  

 ![wpfonts](https://feicode.com/repo-avatars/5be98f45cb02b9031d6d70b28ea9fb96ed74e4abbd0b0bd873d4e80cfe46a14e "仓库头像")###   [ WenPai-org/wpfonts ](https://feicode.com/WenPai-org/wpfonts) 

 组织 [ @WenPai-org ](https://feicode.com/WenPai-org)   

 

 

   PHP   FORGEJO  

 

  文派字库 🀄️（WPFonts.com）可为 WordPress 系统带来更优雅舒适的中、日、韩、网页字体服务，这也是 Windfonts 文风字体的官方插件。

   星标： 0    分叉： 0    议题： 0  

 [  查看仓库 ](https://feicode.com/WenPai-org/wpfonts) [  下载 v1.1.0 ](https://cn.feicode.com/api/v1/repos/WenPai-org/wpfonts/archive/v1.1.0.zip "下载 Release v1.1.0 (v1.1.0)") 

 

 
            (function() {
                'use strict';
                
                const containerId = 'git-embed-14b0d649-f08b-4d26-b89d-c0d5553c4300';
                const container = document.getElementById(containerId);
                if (!container) return;

                const cloneBtn = container.querySelector('.git-embed-clone-btn');
                if (cloneBtn && !cloneBtn.hasAttribute('data-initialized')) {
                    cloneBtn.setAttribute('data-initialized', 'true');
                    cloneBtn.addEventListener('click', function() {
                        const cloneUrl = this.getAttribute('data-clone-url');
                        const originalHtml = this.innerHTML;
                        
                        if (navigator.clipboard && navigator.clipboard.writeText) {
                            navigator.clipboard.writeText(cloneUrl).then(() => {
                                this.innerHTML = '<span class="dashicons dashicons-yes">已复制！';
                                setTimeout(() => {
                                    this.innerHTML = originalHtml;
                                }, 2000);
                            }).catch(() => {
                                fallbackCopy(cloneUrl, this, originalHtml);
                            });
                        } else {
                            fallbackCopy(cloneUrl, this, originalHtml);
                        }
                    });
                }

                const downloadBtn = container.querySelector('.git-embed-download-btn');
                if (downloadBtn && !downloadBtn.hasAttribute('data-initialized')) {
                    downloadBtn.setAttribute('data-initialized', 'true');
                    downloadBtn.addEventListener('click', function(e) {
                        const filename = this.getAttribute('data-filename');
                        if (filename) {
                            e.preventDefault();
                            const url = this.href;
                            
                            const a = document.createElement('a');
                            a.href = url;
                            a.download = filename;
                            a.style.display = 'none';
                            document.body.appendChild(a);
                            a.click();
                            document.body.removeChild(a);
                        }
                    });
                }

                function fallbackCopy(text, button, originalHtml) {
                    const textarea = document.createElement('textarea');
                    textarea.value = text;
                    textarea.style.position = 'fixed';
                    textarea.style.opacity = '0';
                    document.body.appendChild(textarea);
                    textarea.select();
                    
                    try {
                        document.execCommand('copy');
                        button.innerHTML = '<span class="dashicons dashicons-yes">已复制！';
                        setTimeout(() => {
                            button.innerHTML = originalHtml;
                        }, 2000);
                    } catch(err) {
                        console.error('Copy failed:', err);
                    }
                    
                    document.body.removeChild(textarea);
                }
            })();
             

###   [ WenPai-org/wpfonts ](https://github.com/WenPai-org/wpfonts) 

 

 

   PHP   GITHUB  

 

  文派字库 🀄️（WPFonts.com）可为 WordPress 系统带来更优雅舒适的中、日、韩、网页字体服务，这也是 Windfonts 文风字体的官方插件。

   星标： 3    分叉： 0    议题： 0  

 [  查看仓库 ](https://github.com/WenPai-org/wpfonts) [  下载 v1.1.0 ](https://github.com/WenPai-org/wpfonts/archive/refs/tags/v1.1.0.zip "下载 v1.1.0 (v1.1.0)") 

 

 
            (function() {
                'use strict';
                
                const containerId = 'git-embed-4ebaedf6-d54b-4034-be7e-98dc51966e54';
                const container = document.getElementById(containerId);
                if (!container) return;

                const cloneBtn = container.querySelector('.git-embed-clone-btn');
                if (cloneBtn && !cloneBtn.hasAttribute('data-initialized')) {
                    cloneBtn.setAttribute('data-initialized', 'true');
                    cloneBtn.addEventListener('click', function() {
                        const cloneUrl = this.getAttribute('data-clone-url');
                        const originalHtml = this.innerHTML;
                        
                        if (navigator.clipboard && navigator.clipboard.writeText) {
                            navigator.clipboard.writeText(cloneUrl).then(() => {
                                this.innerHTML = '<span class="dashicons dashicons-yes">已复制！';
                                setTimeout(() => {
                                    this.innerHTML = originalHtml;
                                }, 2000);
                            }).catch(() => {
                                fallbackCopy(cloneUrl, this, originalHtml);
                            });
                        } else {
                            fallbackCopy(cloneUrl, this, originalHtml);
                        }
                    });
                }

                const downloadBtn = container.querySelector('.git-embed-download-btn');
                if (downloadBtn && !downloadBtn.hasAttribute('data-initialized')) {
                    downloadBtn.setAttribute('data-initialized', 'true');
                    downloadBtn.addEventListener('click', function(e) {
                        const filename = this.getAttribute('data-filename');
                        if (filename) {
                            e.preventDefault();
                            const url = this.href;
                            
                            const a = document.createElement('a');
                            a.href = url;
                            a.download = filename;
                            a.style.display = 'none';
                            document.body.appendChild(a);
                            a.click();
                            document.body.removeChild(a);
                        }
                    });
                }

                function fallbackCopy(text, button, originalHtml) {
                    const textarea = document.createElement('textarea');
                    textarea.value = text;
                    textarea.style.position = 'fixed';
                    textarea.style.opacity = '0';
                    document.body.appendChild(textarea);
                    textarea.select();
                    
                    try {
                        document.execCommand('copy');
                        button.innerHTML = '<span class="dashicons dashicons-yes">已复制！';
                        setTimeout(() => {
                            button.innerHTML = originalHtml;
                        }, 2000);
                    } catch(err) {
                        console.error('Copy failed:', err);
                    }
                    
                    document.body.removeChild(textarea);
                }
            })();
             

该版本经过三个月的精心开发、测试、打磨，全面优化了使用 WordPress 的中文网页字体渲染效果，显著提升了中日韩文字的显示质量，特别是在高分辨率屏幕下的显示清晰度。

![](https://wptea.com/wp-content/uploads/2025/03/Screenshot2025-03-24-11.44.57.png)新版本还针对移动设备进行了专项优化，确保在不同设备上都能获得一致的优质阅读体验。

1、关于文派字库
--------

文派字库（WPFonts）是专为WordPress平台设计的中日韩网页字体解决方案，作为 [Windfonts 文风字体](https://windfonts.com/)的官方插件，它通过先进的字体渲染技术为网站带来更优雅舒适的视觉体验。

文派字库插件创新性地实现了直接读取 WordPress 网站访客设备本地系统字体的智能调用，同时精心整合了多款专业级东亚字体库，涵盖中文（思源宋体、微软雅黑、苹方等）、日文（Meiryo、Yu Gothic）、韩文（Malgun Gothic）等主流系统字体方案。

![](https://wptea.com/wp-content/uploads/2025/03/Screenshot2025-03-24-11.16.00.png)通过结合 WordPress 6.8 自带的原生字体库功能，文派字库搭载了先进的字体渲染引擎，能够自动适应各类终端设备和屏幕分辨率，确保文字呈现始终精准锐利，为用户打造媲美专业出版物的阅读体验。

### 主要更新内容

- 优化中文排版效果，提升阅读舒适度
- 新增多款高质量中日韩字体
- 改进字体加载性能，提升页面速度（本地读取，毫秒级显示）；
- 增强与 WordPress 编辑器的兼容性，实现极致原生体验；

文派字库（WPFonts）将会继续致力于为中文 WordPress 用户提供更优质的字体服务和阅读体验。并且我们也有计划扩展到其他的领域和文风在线云字体库集成，以便用户可以获得更多的优质字体。

2、关于字体版权
--------

文派字库（WPFonts）和文风字体（Windfonts）严格遵守字体版权规范，所有字体均为用户电脑内置调用或免费可商用字体，不存在任何侵权风险。

> 文派字体（WPFonts）呈现的字体，你可以安心使用而不需要担心版权问题。

对于外部的字体如果需要手动安装和调整，建议自行检查。

文派字库采用智能系统字体调用技术，直接读取访问者设备本地安装的字体（如微软雅黑、苹方等），并不涉及字体文件托管或分发，完全符合各操作系统字体使用授权条款。

文风字体（Windfonts）提供的云字体服务均采用自主开发字体或取得合法授权的免费商用字体，所有字体均经过文派科技专业法务审核，确保100% 符合商业使用要求。

3、关于经典编辑器
---------

文派字库（WPFonts）是否有支持经典编辑器的打算？

可预见的未来一两年我们暂无此计划，不过 Windfonts.com 已经提供的了开放 API，特别有此需求的用户可以尝试自行集成经典编辑器。

小白用户还是建议安装文派叶子（WPCY.COM）插件来快速使用。相关使用说明可以阅读官方文档。

> 如何使用中文字体 Windfonts ？
> 
> <https://wpcy.com/document/chinese-fonts>

这里再补充一张截图示例，避免必须有些用户还是不会操作。

文派叶子插件内置了链接，所以你只需要填写正常的参数保存后前台刷新就可以看到字体显示效果。

![](https://wptea.com/wp-content/uploads/2025/04/1744336157459.png)    如果还不会填写你可以把截图发生给 AI 让其指导你填写参数和 CSS 元素。同样，这也是文派·寻鹿建站套件的功能之一，任何人都可以使用。