259 Commits

Author SHA1 Message Date
Young Hahn
c150b33f7d Merge branch 'master' into glyphrange 2014-05-15 15:58:13 -04:00
Mike Morris
4cc24439cb font_engine : use FT_New_Library/FT_Done_Library with custom memor
management, ref https://github.com/mapnik/mapnik/pull/2241
2014-05-13 17:09:33 -04:00
Mike Morris
8c8033dda3 add ascender and descender to glyph_info, fixes #27 2014-05-13 15:36:13 -04:00
Mike Morris
7dbe013543 cast correct argument to v8::Function callback 2014-05-09 17:54:39 -04:00
Mike Morris
f403d9b12c expose range function in index.js, accept Tile constructor with no args 2014-05-09 15:57:30 -04:00
Mike Morris
a1e9ec2614 expose range to node module 2014-05-09 15:31:23 -04:00
Mike Morris
1e44f51704 set start and end in AsyncRange from RangeBaton 2014-05-09 15:25:59 -04:00
Mike Morris
7f6cb047ba add Tile::Range node binding 2014-05-09 15:23:51 -04:00
Mike Morris
5c4dbf6c57 add RangeBaton 2014-05-08 17:48:47 -04:00
Mike Morris
b8ead85f63 comment break 2014-05-08 17:23:04 -04:00
Mike Morris
f159e89f88 abstract InsertGlyphs 2014-05-08 17:21:52 -04:00
Mike Morris
030390a7b8 set character sizes 2014-05-08 17:14:06 -04:00
Mike Morris
6b65644f3b remove set header from tile.cpp 2014-05-08 17:05:07 -04:00
Mike Morris
22b8310279 move glyphrange into AsyncRange function 2014-05-08 17:02:01 -04:00
Mike Morris
4e4ecc41c5 add glyph_dimensions 2014-05-08 16:52:17 -04:00
Mike Morris
d0358d0ce8 trim more code 2014-05-08 14:49:15 -04:00
Mike Morris
db021cd907 initial sketch of glyph range 2014-05-08 14:36:39 -04:00
Mike Morris
d7fa623bdd Merge branch 'harfbuzz' into harfbuzz-glyphrange 2014-05-08 12:12:59 -04:00
Mike Morris
f754463ca3 Merge branch 'harfbuzz-static' into harfbuzz 2014-05-08 12:01:46 -04:00
Mike Morris
6bb9c9551b Merge branch 'harfbuzz' into harfbuzz-glyphrange 2014-05-07 19:44:46 -04:00
Mike Morris
8029a355f1 fix operator> overload and include std::set header 2014-05-07 19:44:29 -04:00
Mike Morris
b21f7bb5d0 overload less than operator 2014-05-07 19:05:41 -04:00
Mike Morris
62670153f6 switch back to std::set in tile_face 2014-05-07 18:39:42 -04:00
Mike Morris
a46a018e66 Merge branch 'harfbuzz' into harfbuzz-glyphrange 2014-05-07 18:19:25 -04:00
Mike Morris
0cd47f5619 set advance in harfbuzz_shaper instead of width 2014-05-07 18:18:48 -04:00
Mike Morris
2ef9afed19 add glyphs to tile_face 2014-05-07 18:06:12 -04:00
Mike Morris
9ba0b0748f Merge branch 'harfbuzz' into harfbuzz-glyphrange 2014-05-07 17:31:01 -04:00
Mike Morris
2f723996da add tile_face class 2014-05-07 17:30:42 -04:00
Mike Morris
f52787f63e glyph-only tiles 2014-05-07 12:47:33 -04:00
Dane Springmeyer
0e1c78f7ad fix -W shadow problems 2014-05-06 18:36:25 -07:00
Dane Springmeyer
a4748af3b1 reduce boost usage 2014-05-06 16:43:18 -07:00
Dane Springmeyer
23f73883dc add missing includes 2014-05-06 16:27:09 -07:00
Young Hahn
8b87858729 Add #include <memory> 2014-05-06 19:23:54 -04:00
Mike Morris
9b767bd3ac clean up guarded_map 2014-05-05 15:25:14 -04:00
Mike Morris
5cfb270c1b implement guarded_map shared glyph cache 2014-05-05 15:09:17 -04:00
Mike Morris
60889f501e segfault on concurrent access to shared glyph cache 2014-04-30 16:28:29 -04:00
Mike Morris
45a691b82a clean up glyph cache names 2014-04-30 15:30:19 -04:00
Mike Morris
cee774ca69 create shared glyph caches and add to glyph cache map 2014-04-30 15:17:14 -04:00
Mike Morris
d4afa9cd84 initial framework for shared glyphs_cache 2014-04-30 14:39:33 -04:00
Mike Morris
ef300615a5 pass face_set directly to harfbuzz_shaper 2014-04-29 17:48:39 -04:00
Mike Morris
a2f8bd54c1 create format outside of string loop 2014-04-28 15:14:40 -04:00
Mike Morris
a88df4a7f9 remove shared_ptr to shared_ptr 2014-04-28 14:10:56 -04:00
Mike Morris
8da0afe793 switch to unordered_map for glyphs_ cache 2014-04-25 16:32:21 -04:00
Mike Morris
da78a6b320 set advance from glyph slot 2014-04-24 15:03:26 -04:00
Mike Morris
67835cffa3 explicitly call FT_Get_Glyph and FT_Glyph_To_Bitmap 2014-04-24 14:18:28 -04:00
Mike Morris
67cdab0b8e initialize glyph_info properly 2014-04-23 18:45:36 -04:00
Mike Morris
7a8fbf61e0 remove unnecessary transform 2014-04-23 16:40:47 -04:00
Mike Morris
d25d78b959 tweaks 2014-04-18 16:23:44 -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