rafay.khan
5287c017d2
add node16 support. update deps
2022-10-03 13:12:03 +03:00
Dane Springmeyer
37ff2688b6
port over tests from https://github.com/mapbox/glyph-pbf-composite/tree/master/test/test.js
2019-08-26 12:14:46 -07:00
Dane Springmeyer
c3449f8b69
more asan/stderr fixes
2018-06-27 13:05:53 -07:00
Dane Springmeyer
5e3021ea28
attempt to fix sanitizer job
2018-06-27 12:55:55 -07:00
Dane Springmeyer
9a549a5eae
fix test usage of buffers
2018-06-27 12:33:07 -07:00
Dane Springmeyer
d0e1a8fee3
move away from deprecated new Buffer call
2018-06-27 12:24:48 -07:00
Dane Springmeyer
c9c49b3073
make font-inspect glob recursive, more tests of invalid fonts
2016-11-29 12:59:07 -08:00
Dane Springmeyer
d0fe001ca1
fix tests
2016-11-23 18:42:27 -08:00
Dane Springmeyer
177117c769
testcase (crashing) for #124
2016-11-22 16:37:44 -08:00
Mike Morris
2803a515a4
add test inspecting data from Osaka glyph range
...
fix and update tests
2016-11-07 17:49:45 -05:00
Donald Ness
f3d7cb3810
Add test showing segfault when getting glyph range for Osaka
2016-10-21 15:37:42 -07:00
Mike Morris
fc6f87708d
handle null ft_face->style_name in RangeAsync
2016-01-12 11:27:23 -05:00
Mike Morris
f64eb5c938
handle ft_face->style_name null value
...
ft_face->style_name is optional in the TTF spec, we should properly
handle the null value case. This adds a font with a null style_name
property, an alternate constructor for FaceMetadata, and a test case to confirm style_name is only added to the JavaScript face if the string is not empty.
2016-01-11 17:26:37 -05:00
Mike Morris
d7c38c1016
fix Travis builds
...
NODE_VERSION as string, not number
source nvm, nvm use NODE_VERSION in all scripts
bump deps in package.json, drop faucet, add mkdirp
2015-10-16 16:25:20 -04:00
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