Commit graph

12407 commits

Author SHA1 Message Date
artemp
43d940fe35 add berber+arabic shaping test 2017-02-22 11:31:06 +01:00
artemp
5e709997f2 add explicit u8 (utf8) qualifier 2017-02-21 13:37:22 +01:00
artemp
10b1ed2fa9 add debug mode to generate expected result + add one more test 2017-02-21 13:17:41 +01:00
artemp
8af91146c4 add an extra test 2017-02-21 12:56:36 +01:00
artemp
677ed0ebab refactor to make it easier to run multiple tests 2017-02-21 12:43:54 +01:00
artemp
745c291b1a simplify test 2017-02-20 14:23:09 +01:00
artemp
3584970fee make shaping unit test test something (work-in-progress) 2017-02-20 12:13:00 +01:00
artemp
d9c81d46fd use else if 2017-02-20 12:12:22 +01:00
Peter Hicks
f776977982 Rename PostGIS' ST_Estimate_Extent to ST_EstimateExtent 2017-02-19 20:46:30 +00:00
artemp
86e5f9305b quarantee glyphinfos has enough capacity to hold cluster 2017-02-17 17:16:36 +01:00
artemp
fbdff42d47 use std::vector<std::vector<T>> instead of std::map<unsigned,std::vector> to simplify lookups 2017-02-17 16:52:31 +01:00
artemp
20cafae780 ensure insert has worked 2017-02-17 15:40:37 +01:00
artemp
e55918788c fix test logic 2017-02-17 15:32:03 +01:00
artemp
302e4c75dd simplify further 2017-02-17 15:28:13 +01:00
artemp
fe7d1e2f53 simplify logic 2017-02-17 15:23:00 +01:00
artemp
49c28cb6ad new font fallback implementation - it is rather inefficient but attempting to do a right thing.
(NOTE: some visual text failures need further look to see if latest implementation is correct)
2017-02-17 14:20:32 +01:00
artemp
a5f00c6fa1 Merge branch 'master' into harfbuzz-shaper 2017-02-17 14:06:44 +01:00
artemp
4b17a417dc Merge remote-tracking branch 'origin/master' 2017-02-06 12:59:24 +01:00
artemp
f85636f769 mapnik-index - log and return on invalid bounding box if validate_features is set. 2017-02-03 10:10:09 +01:00
Mickey Rose
8e34b323b5 define PNG_FAST_FILTERS if png.h doesn't have it 2017-02-02 12:19:17 +01:00
Mickey Rose
7e2aab171f include png.h outside any namespace 2017-02-02 12:19:17 +01:00
artemp
5c9e48ef0c minor c++ style 2017-01-31 18:00:26 +01:00
artemp
755d178d20 alternative exaustive face fallback implementation ref #3534 #3559 2017-01-31 17:44:25 +01:00
artemp
df51f6087c minor c++ style 2017-01-31 17:42:24 +01:00
artemp
d053bddb43 add support for PNG filters (http://www.libpng.org/pub/png/libpng-manual.txt) ref #3479 2017-01-26 15:45:08 +01:00
artemp
2ede054e93 c++ style - use pre-(de)increment operators by default 2017-01-26 14:19:28 +01:00
artemp
f13848e210 move box2.hpp and related files into geometry dir 2017-01-26 09:51:37 +01:00
artemp
69bb8f4328 update test data 2017-01-20 09:43:37 +01:00
artemp
7c6f335fa5 fix blank line test for require headers.size() == 1 + reduce stderr verbosity. 2017-01-17 17:54:09 +01:00
artemp
a108068cf6 fix remaning std::fread usage - check return value 2017-01-13 14:57:15 +01:00
artemp
a220bda05d check return value from std::fread 2017-01-13 14:38:00 +01:00
artemp
bfc7ad397a update variant 2017-01-13 09:52:16 +01:00
artemp
f76060274d Revert back again fixing a typo! (thanks @springmeyer 2f55f0962e (commitcomment-20461372))
"It doesn't work with GCC reverting back "disable [-Wunused-result] warning GCC : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509""

This reverts commit 2f55f0962e.
2017-01-13 09:42:12 +01:00
artemp
28c51df986 more fix GCC shadows a member warning [-Wshadow] 2017-01-13 09:38:54 +01:00
artemp
1b940bebcc attributes not opacity (ref 1c704447b7) 2017-01-12 18:18:39 +01:00
artemp
1c704447b7 more fix GCC shadows a member warning [-Wshadow] 2017-01-12 18:09:10 +01:00
artemp
0a7e8bb429 fix GCC shadows a member warning [-Wshadow] 2017-01-12 17:48:56 +01:00
artemp
2f55f0962e It doesn't work with GCC reverting back "disable [-Wunused-result] warning GCC : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509"
This reverts commit 3c76e8d7ef.
2017-01-12 11:39:57 +01:00
artemp
3c76e8d7ef disable [-Wunused-result] warning GCC : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 2017-01-12 11:23:46 +01:00
artemp
7db3beda01 add parentheses to supress gcc warning [-Wparentheses] 2017-01-12 10:55:33 +01:00
artemp
de2b44712a move transform related headers into transform dir to minimize clutter 2017-01-11 11:10:03 +01:00
artemp
e582ca65b5 update test to include underscore characters in global attributes 2017-01-11 10:39:02 +01:00
artemp
91f9508654 relax expression_grammar: allow _ underscore characters in global attribute names 2017-01-11 10:38:11 +01:00
artemp
11c3d97654 transform_expressions_test - add global attribute tests ( e.g @value ) ref #3569 2017-01-11 10:25:21 +01:00
artemp
f207ec2da2 cleanup 2017-01-10 17:19:28 +01:00
artemp
fa7851ea06 add transform expressions tests (https://github.com/mapnik/mapnik/pull/141\
6) (ref #3569)
2017-01-10 17:15:05 +01:00
artemp
65dcb1c935 fix transform grammar to support whitespace/comma argument separation rules (https://github.com/mapnik/mapnik/pull/1416) ref #3569 2017-01-10 17:13:45 +01:00
artemp
243963fc2b expression_test - add tests for arbitrary space in mapnik::geometry_type attributes 2017-01-10 11:57:54 +01:00
artemp
7326c0d558 expressions - simplify attribute parsing by combining feature attribute and geometry_type attribute processing. 2017-01-10 11:54:08 +01:00
Artem Pavlenko
e5a93bce52 Merge pull request #3596 from mapycz/text-simple-placement-center
Text simple placement: add center 'C' placement
2017-01-09 11:57:03 +01:00