67 Commits

Author SHA1 Message Date
Lauren Budorick
f39f5ac2f3 Fix bin/build-glyphs and bin/font-inspect scripts; add bin/ tests 2015-10-07 15:33:29 -07:00
Mike Morris
a76a660ae8 convert tests from mocha to tape 2015-07-09 14:42:25 -04:00
mattdesl
56136c5976 fixing bounds for short ranges 2015-05-07 15:06:37 -04:00
Lauren Budorick
87fbd848ca Loading faces from memory: super slow? 2015-03-20 16:49:42 -07:00
Lauren Budorick
43b30370e7 Add empty filepath test 2015-03-20 13:41:43 -07:00
Lauren Budorick
8a32e5574d Split expected fontnik.load JSON into separate file 2015-03-20 11:50:46 -07:00
Lauren Budorick
c687172eab Change fontnik.range to wrap args into an options object 2015-03-20 11:38:32 -07:00
Dane Springmeyer
4b754af222 test coverage of invalid font files 2015-03-20 00:26:59 -07:00
Lauren Budorick
0ca7fc82af Add a bit more coverage 2015-03-19 18:33:52 -07:00
Lauren Budorick
7bf1fce528 travis plz test faster 2015-03-19 18:30:24 -07:00
Lauren Budorick
3efecf0e9e Use preexisting test fixture 2015-03-19 18:24:38 -07:00
Lauren Budorick
b1a1329b0f Make travis like my tests 2015-03-19 18:14:15 -07:00
Lauren Budorick
937d148295 delete delete delete 2015-03-19 17:58:31 -07:00
Dane Springmeyer
b6f8ab1743 Start passing back FaceMetadata 2015-03-18 23:49:15 -07:00
Dane Springmeyer
9971b022ec convert test to async + check font exits 2015-03-18 23:28:00 -07:00
Lauren Budorick
d4700c2654 .load compiling and crashing 2015-03-18 17:31:33 -07:00
Mike Morris
bbe902083f bump deps in package.json 2015-03-04 14:33:30 -05:00
Mike Morris
f5d281675e truncate properly at 65535 2015-03-04 13:00:46 -05:00
Tom MacWright
7e853ab65d Don't automatically load all fonts on startup. Fixes #68 2014-12-18 14:33:17 -05:00
Tom MacWright
4897fde383 Add Fira Sans, de-duplicate codepoints. 2014-12-18 13:36:27 -05:00
Tom MacWright
07b7c783a2 Add test case for .faces 2014-12-17 13:10:09 -05:00
Dane Springmeyer
da6ed9e958 avoid abort - refs #64 2014-12-17 09:47:53 -08:00
Tom MacWright
c8d20a23aa Add test for invalid font face 2014-12-16 16:46:22 -05:00
Mike Morris
d0cfb358fc extract font_face_set class into separate file, scrap mapnik::font_face and replace with fontnik::Face, update mapnik dependencies 2014-08-05 15:16:07 -04:00
Mike Morris
48f56ef6f1 update test fixtures 2014-08-04 20:01:21 -04:00
Tom MacWright
5fe04f16ce Codepoints
This adds codepoints support to node-fontnik. A sync function called
`codepoints(str:facename)` returns an array of numbers indicating
Unicode code points covered by the font.
2014-07-10 12:34:22 -04:00
Mike Morris
b5d902dcac rename to fontnik, ref #35 2014-06-09 17:42:41 -04:00
Mike Morris
7baa6b53d6 remove unused Arial Unicode MS Regular from range pbf, remove duplciate serialize.json 2014-06-03 13:46:51 -04:00
Mike Morris
bc32cbeca8 remove Siyam Rupali, add Open Sans license 2014-06-03 13:34:05 -04:00
Young Hahn
4395b65aaf Add test for long range renders. 2014-06-01 21:42:56 -04:00
Young Hahn
e12d16ab64 Add test for chars input. 2014-06-01 17:54:36 -04:00
Young Hahn
9a88b550f5 Refactor to accept an array of character codes as input. Refs #36. 2014-06-01 17:52:41 -04:00
Mike Morris
f2524ba622 error if any font in a fontstack is bad, closes #31 2014-05-28 17:11:44 -04:00
Young Hahn
714c092d1b Merge branch 'master' into dev-dependencies
Conflicts:
	test/expected/serialize.json
	test/expected/shape.json
	test/format/glyphs.js
	test/test.js
2014-05-28 12:12:34 -04:00
Young Hahn
6c810aebf8 Rename all the things (tile => glyphs) 2014-05-27 17:42:54 -04:00
Young Hahn
2dc07508ba Unused shape fixture. 2014-05-27 17:37:11 -04:00
Young Hahn
969cff00a4 Nuke vectortile*.js from format/ 2014-05-27 17:32:31 -04:00
Young Hahn
67cdbdf0ef Update serialize test to read/serialize range fixture. 2014-05-27 17:24:19 -04:00
Young Hahn
eb94b087e9 No more shape test. 2014-05-27 17:19:40 -04:00
Young Hahn
f6e18da50c Update range fixture. 2014-05-27 17:19:31 -04:00
Young Hahn
2b9bc7eb64 Add glyphs parser. 2014-05-27 17:17:10 -04:00
Young Hahn
0fb74cc808 Skip shape test for now. 2014-05-27 16:14:13 -04:00
root
af39265a68 Add error handling and update error assertions. 2014-05-27 15:49:06 -04:00
Young Hahn
e74b095a0e Range should not exceed 65533. 2014-05-27 14:00:00 -04:00
Young Hahn
a6773246e9 Add tests for various error cases. Refs #31. 2014-05-23 16:34:30 -04:00
Mike Morris
096715424b update test expected with correct y values 2014-05-13 16:25:35 -04:00
Mike Morris
c5ec07c592 Merge branch 'master' into dev-dependencies
Conflicts:
	package.json
	test/expected/shape.json
	test/expected/simplify.json
2014-05-13 16:24:05 -04:00
Mike Morris
0cd47f5619 set advance in harfbuzz_shaper instead of width 2014-05-07 18:18:48 -04:00
Mike Morris
cad25d4944 all the glyphs 2014-04-18 14:58:09 -04:00
Mike Morris
026fecddeb calculate cluster position 2014-04-18 14:22:52 -04:00