195 Commits

Author SHA1 Message Date
junmer
0910c3d36f tweak 2021-09-10 18:09:36 +08:00
寻御
acd0e28613 update 0.9.9 2021-09-10 15:58:23 +08:00
寻御
618d150687 Merge branch 'master' into develop 2021-09-10 15:30:49 +08:00
Lingjun Meng
4b9f39cb76
Merge pull request #76 from njleonzhang/support_custom_file_name
support filename
2021-09-10 15:25:08 +08:00
Lingjun Meng
1c6f938fa0
Merge pull request #75 from patchlog/master
use the woff2 plugin
2021-09-10 15:21:00 +08:00
Lingjun Meng
293351e2cf
Merge pull request #92 from Moustachos/glyph_subset
Fix unique glyph codes check in getSubsetText
2021-09-10 15:19:58 +08:00
Lingjun Meng
c9a3ac2b8a
Merge pull request #86 from andersk/upgrade-dependencies
Upgrade dependencies to fix warning in Node ≥ 14.6.0
2021-09-10 15:19:26 +08:00
Moustachos
f792f992f5 Don't use getUniqText() for glyphs subset, check for codes uniqueness in string2unicodes() instead
getUniqueText() process passed string as a regular one, it doesn't handle unicode properly and will remove code points parts when several code points share the same numeric parts.

Ultimately, it will result in wrong code points being pushed to output.

The glyphs count will match, not the codes themselves.

Fix subset of UTF-16 glyphs (and probably others).

Keeping getUniqText() method for backward compatibility / third party packages relying on it.
2021-08-13 17:17:12 +02:00
Anders Kaseorg
6d20a2d77c Upgrade dependencies
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-03-02 12:16:52 -08:00
章鹏程
722a746502 support filename 2019-11-12 18:02:30 +08:00
PatchLog
f878f00021 use the woff2 plugin 2019-09-10 16:09:35 +03:00
menglingjun
14e28ae499 update doc 2019-07-19 14:57:07 +08:00
menglingjun
72da8d4a65 bump 0.9.8 2019-07-19 14:31:18 +08:00
menglingjun
1d8e38f9d0 merge dev 2019-07-18 22:33:30 +08:00
menglingjun
794b168c59 use lts 2019-07-18 22:18:08 +08:00
menglingjun
7c43c495ce add changelog 2019-07-18 22:06:09 +08:00
menglingjun
621c6fc352 npm audit fix 2019-07-18 22:05:31 +08:00
menglingjun
6f7878d534 fix (node:48024) [DEP0005] 2019-07-18 22:04:40 +08:00
menglingjun
ee0ca8ca8e add timeout 2019-07-18 22:03:42 +08:00
menglingjun
27903c500d add node12 2019-07-18 22:03:01 +08:00
menglingjun
aaf2d4261a fix #72 2019-07-18 21:11:21 +08:00
menglingjun
e172a96d52 add travis 2019-07-18 20:50:05 +08:00
Lingjun Meng
3cfad1d43d
Merge pull request #72 from abeet/master
为了兼容4字节unicode字符,charCodeAt改为codePointAt
2019-07-18 20:49:00 +08:00
menglingjun
f9e0c11db1 merge 2019-07-18 20:00:04 +08:00
Lingjun Meng
be07b43d3a
Merge pull request #34 from lgg/patch-1
fix typo
2019-07-18 19:33:40 +08:00
Lingjun Meng
6e67542011
update deps to fix known vulnerabilities (#73)
update deps to fix known vulnerabilities
2019-07-18 19:19:32 +08:00
menglingjun
2bdc7eedd9 use ttf2woff2@3.0.0 2019-07-18 14:41:27 +08:00
smhg
8550852c02 restore old node support 2019-07-09 10:02:30 +02:00
smhg
74fc453ce0 update deps to fix known vulnerabilities 2019-07-03 13:57:51 +02:00
wangzhaohui
77e9480fc0
为了兼容4字节unicode字符,charCodeAt改为codePointAt
str.split('') 会将4字节unicode字符拆成两个字符,改为Array.from(str)
text.charCodeAt(0) 只会识别4字节unicode字符的前两个字节,改为text.codePointAt(0)
2019-05-24 10:48:56 +08:00
menglingjun
b5aef28f93 update dependences 2018-05-11 00:37:03 +08:00
menglingjun
20c7747945 nodejs > 8 2018-05-11 00:28:36 +08:00
menglingjun
267fc5c240 "node": ">=7.10.1" 2018-05-11 00:21:05 +08:00
menglingjun
e3d33dbf13 see changelog 2018-05-11 00:16:12 +08:00
Fyodor
f38e854660 fix typo 2016-05-11 04:21:52 +03:00
Lingjun.Meng
8f579ffffd update dep 2016-05-06 02:41:16 +08:00
Lingjun.Meng
8efec42a54 tweak 2016-05-06 02:15:31 +08:00
Lingjun.Meng
cb890c15c9 v0.9.6 2016-05-06 02:03:59 +08:00
Lingjun.Meng
1d4858ed94 fix #31 2016-05-06 02:03:41 +08:00
Lingjun.Meng
d6d169e873 test coverage 2016-05-06 02:00:18 +08:00
Lingjun.Meng
8456be3512 add vinyl-fs opt 2016-05-06 01:59:31 +08:00
Lingjun.Meng
7af7798871 log 2016-05-05 11:44:50 +08:00
Lingjun.Meng
5be0a86720 v0.9.5 2016-05-05 11:42:24 +08:00
mkwiser
570e3fedbc Merge pull request #33 from kekee000/master
fix File clone bug
2016-05-03 12:53:29 +08:00
kekee000
69961b7574 fix File clone bug 2016-04-30 00:04:06 +08:00
menglingjun
7012b9fb51 update dependencies 2016-04-10 23:34:35 +08:00
Lingjun.Meng
4af0c4e36e typo 2016-04-06 13:36:54 +08:00
Lingjun.Meng
b7ef0ff3a4 run travis on node.js 4 & 5. 2016-04-06 13:24:03 +08:00
Lingjun.Meng
8b44759588 v0.9.3 2016-04-06 13:20:02 +08:00
Lingjun.Meng
13132c958f Merge branch 'develop' 2016-04-06 13:13:17 +08:00