Artem Pavlenko
13c106746a
clang-format
2020-06-29 14:36:30 +01:00
Artem Pavlenko
cc22f8d42a
N-API faces_.reserve(num_faces)
2020-06-29 14:20:10 +01:00
Artem Pavlenko
1b76b67afd
N_API minor cleanup (WIP)
2020-06-25 14:57:50 +01:00
Artem Pavlenko
af17624576
clang-format
2020-06-24 14:22:05 +01:00
Artem Pavlenko
28fd67a5e3
N-API Composite(async) (WIP)
2020-06-24 11:32:41 +01:00
Artem Pavlenko
b3094aeb06
N-API Load/Range impl (WIP) [skip ci]
2020-06-23 13:38:29 +01:00
Dane Springmeyer
5bc8dfe7ff
make format
2020-05-25 18:25:02 -07:00
Dane Springmeyer
30d2200fc8
fix merge problem
2020-05-25 18:23:52 -07:00
Dane Springmeyer
bc0db8c8f3
more clang tidy fixes
2020-05-22 17:30:35 -07:00
Dane Springmeyer
f80b4cc1d9
clang tidy fixes
2020-05-22 17:28:57 -07:00
Dane Springmeyer
e8c48d2f0b
make format fixes
2020-05-22 16:24:33 -07:00
Dane Springmeyer
a46d749224
add node v14 support
2020-05-22 16:19:36 -07:00
Dane Springmeyer
0ca92d2701
fix addition of width, height, and left properties
2020-05-22 16:00:01 -07:00
Dane Springmeyer
133c49a755
async resource
2019-11-28 06:50:17 -08:00
Dane Springmeyer
ab2eb76ec8
make format
2019-11-27 21:27:39 -08:00
Dane Springmeyer
702a470873
port to node v12
2019-11-27 20:54:01 -08:00
Dane Springmeyer
ade6735f5c
make format
2019-08-26 11:15:34 -07:00
Dane Springmeyer
46a72026cb
Merge branch 'port-to-protozero' of github.com:mapbox/node-fontnik into glyph-composite
2019-08-26 11:01:09 -07:00
Dane Springmeyer
f2c5462ca3
make format
2019-08-26 11:00:45 -07:00
Dane Springmeyer
209129c2a9
implement glyph compositing (port from https://github.com/mapbox/glyph-pbf-composite )
2019-08-26 08:18:39 -07:00
Dane Springmeyer
3a2f13d4cf
port to protozero from @joto - refs #143
2019-08-21 09:44:15 -07:00
Dane Springmeyer
eb6e6defe9
remove unneeded ;
2018-06-27 12:28:50 -07:00
Dane Springmeyer
d6dcdc1062
ban copying + use move semantics where appropriate
2018-06-27 12:25:14 -07:00
Dane Springmeyer
61426a8ad8
formatting fixes
2018-06-27 11:11:12 -07:00
Dane Springmeyer
f9b040a786
fix conversion warnings/safety
2018-06-27 07:33:02 -07:00
gretacb
5c3e77cce9
fix wrong function call
2017-11-29 17:01:57 -06:00
gretacb
d2db592181
fix majority of warnings
2017-11-28 13:13:19 -06:00
gretacb
f862357fbc
remove uneeded node includes and use of diagnostics
2017-11-21 17:54:54 -06:00
gretacb
1a2e282725
initial port
2017-11-21 17:11:35 -06:00
Dane Springmeyer
a0603e1633
fix leaking FT objects - refs #135
2017-03-02 21:26:17 -08:00
Dane Springmeyer
9ca371efff
remove unused variables
2017-03-02 13:14:14 -08:00
Chris Loer
dfccab93cd
Rough out extraction of sdf_glyph_foundry
2017-03-02 11:06:17 -08:00
Dane Springmeyer
6b57098e31
minor optimization [skip ci]
2016-11-29 13:44:29 -08:00
Dane Springmeyer
3e2915af4b
remove unneeded checks
2016-11-28 18:04:17 -08:00
Dane Springmeyer
dc87e1e61d
prevent crashes in outline funcs
2016-11-23 19:05:38 -08:00
Dane Springmeyer
d0fe001ca1
fix tests
2016-11-23 18:42:27 -08:00
Dane Springmeyer
90ab6e8acf
simplify logic around family_name handling
2016-11-23 18:34:56 -08:00
Dane Springmeyer
d0dd001819
solve #123 , #124 , and #125
2016-11-22 16:24:51 -08:00
Dane Springmeyer
a2c47a110c
reduce copies/allocations by constructing points in place
2016-11-22 15:08:54 -08:00
Dane Springmeyer
60b62e60e9
remove unused code
2016-10-21 15:40:40 -07:00
Dane Springmeyer
f000a14097
fix segfault in FT_Outline_Decompose
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
ed9cde2cbe
nan2
...
ignore -Wunused-local-typedef in boost
fix HandleScope and ignore -Wshadow in node.h
2015-10-16 16:25:46 -04:00
Mike Morris
a8aad572dc
drop #undef B0
2015-07-09 16:09:42 -04:00
mattdesl
56136c5976
fixing bounds for short ranges
2015-05-07 15:06:37 -04:00
Dane Springmeyer
feb4a46acc
shuffle includes: unordered_map is unused, cmath is
2015-03-23 17:35:55 -07:00
Dane Springmeyer
a92a35b04b
silence boost warnings + fix header
2015-03-23 17:33:00 -07:00
Dane Springmeyer
064085f3aa
keep things simple: no need for glyphs.hpp to be in nested dir
2015-03-23 17:30:52 -07:00
Lauren Budorick
c493204b16
Fix leaks
2015-03-23 17:21:38 -07:00