Mathis Logemann
199fd8218b
this fixes a bug when including a package via pkg-config:
...
We will append the call to the config file to find the package
via find_package. However this does not work when the package was included
with pkg-config
2021-07-21 20:08:22 +02:00
Mathis Logemann
282986c503
fix config file naming scheme.
...
Only happens when using older cmake versions. But this was definitly an issue.
Target name should be the same on the file (case sensitive)
2021-07-21 20:03:42 +02:00
Mathis Logemann
e5cf5dda39
default to jpeg.
2021-07-21 18:24:40 +02:00
Mathis Logemann
c5ced60c38
fix some bugs when using ubuntu to build
2021-07-21 18:16:48 +02:00
Mathis Logemann
01159d0721
still forget proj everytime...
2021-07-07 21:11:28 +02:00
Mathis Logemann
59f9974baa
TEMP: use openjpeg
2021-07-07 21:06:59 +02:00
Mathis Logemann
3397fff8ea
add harfbuzz fallback
2021-07-06 22:46:07 +02:00
Mathis Logemann
cdb598e67b
add harfbuzz minimum version and HarfBuzz::ICU target. probably fixes osx
2021-07-06 22:19:28 +02:00
Mathis Logemann
c5f0565654
remove subsequent boost require version calls.
2021-07-06 22:07:29 +02:00
Mathis Logemann
eb1236d5dd
use proj *gr*
2021-07-06 21:32:58 +02:00
Mathis Logemann
e408bf9a22
add find harfbuzz.cmake
2021-07-06 21:32:36 +02:00
Mathis Logemann
6a19824c12
hate proj4...
2021-07-05 21:58:53 +02:00
Mathis Logemann
7a13a940df
build plugins as modules.
2021-07-05 17:13:45 +02:00
Mathis Logemann
7231d06a46
ups. this shouldn't be commited
2021-07-02 22:43:01 +02:00
Mathis Logemann
7f2511632f
add packaging
2021-07-02 22:26:36 +02:00
Mathis Logemann
d610671327
try install json and wkt again
2021-07-02 16:02:30 +02:00
Mathis Logemann
cdf41a3144
install sparsehash
2021-07-02 13:55:55 +02:00
Mathis Logemann
d17abeddb7
[cmake] add folders for visual studio
2021-06-30 10:33:20 +02:00
Mathis Logemann
a7ec89a8a1
Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support
2021-05-29 22:43:59 +02:00
Artem Pavlenko
0a8e353e83
Merge pull request #4230 from mapnik/c++20
...
C++20
2021-05-17 16:15:07 +01:00
Artem Pavlenko
0efdcafe56
make from_u8string
inline
2021-05-17 16:11:53 +01:00
Artem Pavlenko
6fa2666747
Add convertion functions from_u8string
to support c++20 + update tests
2021-05-17 16:11:44 +01:00
Artem Pavlenko
fb2e45c579
Upgrade to ICU 58.1
2021-04-28 17:05:24 +01:00
Mathis Logemann
4879efce58
Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support
2021-04-22 19:41:35 +02:00
Mathis Logemann
5a109a99fb
install dependencies only on windows and install plugins into correct dir
2021-04-22 19:41:21 +02:00
Artem Pavlenko
88a15daf93
Fix parse_svg_value
2021-04-22 11:36:10 +01:00
Artem Pavlenko
a1cb756fa0
SVG parse_svg_value: update is_percent
only if parsing successful
2021-04-19 18:02:24 +01:00
Artem Pavlenko
3031b7cf6a
SVG parse_svg_value/parse_font_size: re-initialise default val on parser failure
2021-04-19 08:55:39 +01:00
Artem Pavlenko
4ff25eb2a8
remove token
2021-04-16 17:26:44 +01:00
Artem Pavlenko
21fd41b9a9
Merge pull request #4225 from mapnik/svg-rendering-improvements
...
SVG rendering improvements
2021-04-16 09:51:25 +01:00
Artem Pavlenko
7c5f4539e1
Fix error message + update SVG parser unit test
2021-04-15 16:29:05 +01:00
Artem Pavlenko
fd204874ec
svg2png - avoid writing to an empty image
2021-04-15 15:53:04 +01:00
Artem Pavlenko
654a3c1f9f
SVG : refactor and simplify width/height+viewBox logic ( https://www.w3.org/TR/SVG11/struct.html#SVGElement ) + check font_sizes_
size before accesing last element
2021-04-15 15:38:59 +01:00
Artem Pavlenko
0feabeb7e8
SVG circle: ignore when r = 0
2021-04-13 13:48:05 +01:00
Artem Pavlenko
55370c3453
Update visual data
2021-04-13 10:26:39 +01:00
Artem Pavlenko
f293371a9d
SVG rendering improvements:
...
* process `font-size` attributes and use them to scale `em` units
* fix default `color-stop` value
* store `viewBox` and use it to calculate `%` values correctly
* add more absolute/relative values
* default `DPI`:96
* default `font-size`: 10
* process style attributes on `<svg>` element
* use viewBox `width`, `height` and `normalized_diagonal` for relevant length values
* apply scale factor to gradient transforms
2021-04-13 09:19:33 +01:00
Artem Pavlenko
9c2132f895
Fix gradient transform calc (apply scale factor)
2021-04-13 09:17:48 +01:00
Artem Pavlenko
ff8c411749
Use DPI=96 + add absolute and relative sizes + add missing value units
2021-04-12 14:16:39 +01:00
Artem Pavlenko
4f783f61ed
Init by value
2021-04-12 14:16:09 +01:00
Mathis Logemann
e1fa32f21f
install dependencies. Required for windows (and ?macos?). Needs testing on linux.
2021-04-10 14:36:22 +02:00
Mathis Logemann
1929fbc0ba
add an option to disable plugin and font copying
2021-04-09 15:53:21 +02:00
Mathis Logemann
02f78e4ce5
fixed Dll copying on windows; copy plugins and fonts into appropiate directories when building.
2021-04-09 15:50:50 +02:00
Mathis Logemann
b6d8f54779
Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support
2021-04-06 18:38:51 +02:00
Artem Pavlenko
6bab4e56fd
Move MAPNIK_DECL
to the front (ref https://github.com/mapnik/mapnik/pull/4220#issuecomment-814259514 )
2021-04-06 17:36:46 +01:00
Mathis Logemann
9049a7e58d
Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support
2021-04-06 17:27:28 +02:00
Artem Pavlenko
8c3b9758eb
Merge pull request #4220 from mapnik/proj6
...
Simplify proj_transform_cache implementation
2021-04-06 11:58:44 +01:00
Artem Pavlenko
b974a4a683
Simplify proj_transform_cache implementation (ref https://github.com/mapnik/mapnik/pull/4191#issuecomment-813377082 )
2021-04-06 10:30:12 +01:00
Mathis Logemann
5963c64960
Merge branch 'master' of https://github.com/mapnik/mapnik into cmake-support
2021-04-01 18:17:39 +02:00
Artem Pavlenko
bb18a5ba0a
Merge pull request #4219 from mathisloge/proj_transform_fix
...
fixes proj_transform_cache incomplete type
2021-04-01 17:16:48 +01:00
Mathis Logemann
bed3ffb3dc
fix typo grid renderer -> svg renderer
2021-04-01 18:01:43 +02:00