235 Commits

Author SHA1 Message Date
Mike Morris
66bbffaefe move node_mapnik to vendor dir 2014-08-05 16:34:04 -04:00
Mike Morris
ced17b8985 move mapnik to vendor dir 2014-08-05 16:26:53 -04:00
Mike Morris
416b550a60 move agg into vendor directory 2014-08-05 16:21:45 -04:00
Mike Morris
cde8372086 add license to fontnik/glyphs.cpp, remove guarded_map 2014-08-05 15:46:48 -04:00
Mike Morris
e042d88233 remove edtaa4func and distmap 2014-08-05 15:35:57 -04: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
bf3bbfbdea work around inverted y axis in freetype, set glyph advance before calculating SDF 2014-08-04 19:57:00 -04:00
Mike Morris
277af5c1f9 pass cutoff as decimal instead of fraction 2014-08-04 18:23:01 -04:00
Mike Morris
dd31be7a6a consistify and clean up style a little 2014-08-04 14:21:37 -04:00
Konstantin Käfer
4bd51e0acb make it fast, and some c++-isms 2014-08-04 12:12:09 +02:00
Mike Morris
390b74bc2b pass by reference 2014-08-01 15:54:03 -04:00
Mike Morris
9ee274f090 add polyContainsPoint, store Point vectors in Rings instead of FT_Vector vectors 2014-08-01 15:35:25 -04:00
Mike Morris
3801000d74 calculate distance to nearest line segment, SLOW 2014-07-31 19:53:05 -04:00
Mike Morris
c9e33627ed insert line segments into rtree as boxes 2014-07-31 17:23:29 -04:00
Mike Morris
6aa1651089 indexable is invalid 2014-07-31 15:13:36 -04:00
Mike Morris
241a055cf1 compile with agg 2014-07-30 19:25:15 -04:00
Mike Morris
d42434a734 Revert "consolidate vendored libs into vendor directory"
This reverts commit 85457d258f05a956634f66ee5e264a5c35069bc9.
2014-07-30 19:20:05 -04:00
Mike Morris
85457d258f consolidate vendored libs into vendor directory 2014-07-30 18:52:21 -04:00
Mike Morris
102fb2f0a9 remove conditional, dont pop vector 2014-07-30 18:24:12 -04:00
Mike Morris
b8786d5863 pass by reference to close_ring 2014-07-30 18:20:25 -04:00
Mike Morris
f2d786b857 switch from std::pair to FT_Vector 2014-07-30 18:11:42 -04:00
Mike Morris
6ad2b9f741 dont access elements of empty vectors 2014-07-30 17:12:01 -04:00
Mike Morris
e2a301ad48 typecast void pointers 2014-07-30 16:42:11 -04:00
Mike Morris
8db033a560 clean up some build errors 2014-07-30 16:05:23 -04:00
Mike Morris
f2311b450d add close_ring func 2014-07-30 13:55:26 -04:00
Mike Morris
bf684e92e7 start porting bezier curve to line segment logic 2014-07-30 13:33:10 -04:00
Mike Morris
23ed1a9c82 some FT_Outline_Decompose structure 2014-07-29 18:58:00 -04:00
Tom MacWright
8eb4ad388d Unnecessary vector includes 2014-07-10 12:36:50 -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
Tom MacWright
9556bee510 Copy some styles from
https://github.com/rvagg/nan/blob/master/test/cpp/settergetter.cpp
2014-06-10 23:04:20 -04:00
Tom MacWright
cd71d69149 continue nanification 2014-06-10 22:49:49 -04:00
Tom MacWright
a39d6b9779 Use NAN_METHOD for New 2014-06-10 17:41:26 -04:00
Tom MacWright
0b3ca836fa Test 0.8, use buffer abstraction 2014-06-10 14:41:51 -04:00
Tom MacWright
6b6a2e7a4f More NaN 2014-06-10 12:15:47 -04:00
Tom MacWright
4b848d2c39 Merge branch 'master' of github.com:mapbox/fontserver 2014-06-09 17:48:57 -04:00
Tom MacWright
10eadf5c71 First pass nanification. Refs #44 2014-06-09 17:48:50 -04:00
Mike Morris
b5d902dcac rename to fontnik, ref #35 2014-06-09 17:42:41 -04:00
Mike Morris
a786b1a41f extract node bindings from c++ library 2014-06-05 16:38:28 -04:00
Mike Morris
e928b7da3e add mapnik README.fontserver 2014-06-05 13:47:57 -04:00
Mike Morris
167b402cb5 update edtaa4func license, add freetype-gl license to distmap header 2014-06-04 18:05:55 -04:00
Mike Morris
1253b74d64 move mapnik source into subdir 2014-06-04 16:54:01 -04:00
Mike Morris
03ec9814e0 add distmap licence and rearrange directories 2014-06-04 16:49:35 -04:00
Mike Morris
7fa979de9e revert ampnik/font_set, move fontstack trimming to glyphs.cpp 2014-06-04 15:53:37 -04:00
Mike Morris
47ed925671 remove fontserver/text_format 2014-06-04 15:29:17 -04:00
Mike Morris
f3bec5d30a restore mapnik/font_set 2014-06-04 15:22:47 -04:00
Mike Morris
82ef766376 revert fs.cpp 2014-06-04 15:04:08 -04:00
Mike Morris
1e40e17fbc revert glyph_info.hpp, scrap bbox for height 2014-06-04 14:47:43 -04:00
Mike Morris
d8184587c8 revert face and face_set classes to font_face and font_face_set 2014-06-04 14:34:43 -04:00
Mike Morris
5391a21e62 restore face.hpp and face.cpp to mapnik-ish, merge face_set back into face 2014-06-04 14:18:55 -04:00
Mike Morris
60cfdb8142 add mapnik/debug and use MAPNIK_LOG_ERROR 2014-06-03 19:29:42 -04:00