Git Product home page Git Product logo

fontmin-app's Introduction

fontmin-app

Fontmin 是第一个纯 JavaScript 实现的字体子集化方案,Fontmin App 是它的客户端,提供了 Mac OS XWindows 平台下的发行版。

下载 Fontmin App 发行版

Screenshot

Fontmin App

Dev

如果你想参与 Fontmin App 开发,可按照以下步骤配置开发环境。

切到开发分支,安装依赖:

$ git checkout develop
$ npm install
$ bower install

获取最新版 nw.js,并用其打开项目:

$ path/to/nwjs .

参考文档:通过 nw.js 打开应用

Related

License

MIT © Baidu Inc.

fontmin-app's People

Contributors

firede avatar junmer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fontmin-app's Issues

not support cmap format:14

不太明白该报错是什么意思,不明所以

能解释下是什么问题吗,转换后的提示报错

(使用的字体是"思源宋体"和"思源黑体")

您好,空格提取失败

您好,我的字体文件中,空格的字体源文件内的名字是 space
image
我想咨询,是否有办法提取改符号呢?

PS:我直接测试文本中插入空格,并不会提取出来
谢谢!

无法提取苹方字体

报错如下
java.security.InvalidParameterException: CMap Id settings would generate font with no cmap sub-table. at com.google.typography.font.tools.subsetter.Subsetter.setCMaps(Unknown Source) at com.google.typography.font.tools.sfnttool.SfntTool.subsetFontFile(Unknown Source) at com.google.typography.font.tools.sfnttool.SfntTool.main(Unknown Source) at util.FontGenerateManager.generateFontByContent(FontGenerateManager.java:27) at gui.ToolGUI.mouseClicked(ToolGUI.java:114) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270) at java.awt.Component.processMouseEvent(Component.java:6536) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:700) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Windows build

Hi,

I would like to translate the fontmin app but I have no idea about build process. Could you please give me a sample to be able to build for win x64?

建议在说明的地方加上支持的字体。

建议在说明的地方加上支持的字体,像http://efe.baidu.com/blog/fontmin-getting-started/这样,以免浪费时间,之前直接github上下载的,测试了好几个字体都报错,后来搜索到百度的页面,才知道目前的版本只支持 新蒂字体,浙江民间书刻体,思源字体,**教育部標準宋體 这4个字体。
希望后期能增加更多的字体,自动生成确实比FontForge手动设置省事不少,感谢开发组。

English localization

The app UI is simple enough that I've been able to intuit how it works. I appreciate that the "Chars" and "Glyphs" labels are English already. But a full localization in my language would be very helpful!

思源字体输出时会出问题

字数过多时,点击生成后,只在 C:\Users\xxx\AppData\Local\Temp\nw5156_21464\dist\思源原始文件_1440057704233\思源原始文件.ttf 生成了一个 8594KB 的 ttf 文件,并没有 eot, svg, woff,另外这个 ttf 打开也是提示无效的字体文件。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.