Artem Pavlenko
e61128056f
clang-format -
...
+QualifierAlignment: Right
+Standard: c++20
2025-07-14 14:49:23 +01:00
Artem Pavlenko
e5b221f38d
fix clang-format -
...
+BreakConstructorInitializers: BeforeColon
+PackConstructorInitializers: Never
2025-07-14 14:42:10 +01:00
Artem Pavlenko
f92b459b73
Update copyright year to 2025 [skip ci]
2025-06-24 16:23:12 +01:00
Artem Pavlenko
90b4eff3b4
TextSymbolizer - make 'lang' parameter an expression (ref https://github.com/mapnik/mapnik/pull/4493 )
2025-05-16 10:17:50 +01:00
Artem Pavlenko
54f12f7343
AGG text - add missing halo renderer when
...
`rasterizer_ == halo_rasterizer_enum::HALO_RASTERIZER_FULL` and
`bit->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA`
2025-02-26 09:43:32 +00:00
Artem Pavlenko
5a10f12fe6
pre-commit run --show-diff-on-failure --color=always --all-files
2025-02-12 14:14:28 +00:00
Artem Pavlenko
0c813a4f0d
from_xml - use node.get_opt_attr<std::string> + serialise lang property in to_xml
2025-02-12 14:11:24 +00:00
Artem Pavlenko
32fe78e952
No "empty" string check required
2025-02-12 14:10:33 +00:00
Nick Doiron
d6ff036105
restore optional status to string here
2025-02-11 17:08:17 -06:00
Nick Doiron
9b0184677a
revive lang tag for textsymbolizer based on #3655 / bdon
2025-02-09 02:26:11 -06:00
Artem Pavlenko
fc029ae5a5
Update Coopyright year
2024-07-22 10:20:47 +01:00
Mathis Logemann
7ef431ece2
use std::optional instead of boost::optional
2024-05-18 10:22:29 +02:00
Artem Pavlenko
b7fdeeeb02
Move rotation struct definition into pixel_position.hpp
2023-03-15 10:29:30 +00:00
Mathis Logemann
dd38dd18f9
rework enumeration<...>
2022-12-10 16:55:24 +01:00
Artem Pavlenko
a65d65a5ab
Update .clang-format to BraceWrapping: BeforeCatch : true
...
run `pre-commit`
2022-11-10 15:57:38 +00:00
Mathis Logemann
e7c3d04309
format dir include and src
...
format all files
Revert "format all files"
This reverts commit 95d5812e49e7f916b68e786596f5a8eb5bcac414.
Revert "format some files"
This reverts commit ed3c8762d4d828b2b28e7b18809fc33f4f8ccaf5.
format all files
fix formatting in dir include
fix formatting of debug macro
2022-01-27 00:12:08 +01:00
Mathis Logemann
4f95463c75
remove make_unique
2022-01-19 12:42:52 +01:00
Artem Pavlenko
6cc353f8a2
Use 'proj_backward_strategy' and avoid creating an extra proj_transform
2021-01-22 15:22:18 +00:00
Artem Pavlenko
bd961c4da2
update copyright year [skip ci]
2021-01-05 14:39:07 +00:00
Mathis Logemann
64054fade4
compiler independent warning ignore
...
Signed-off-by: Mathis Logemann <mathisloge@gmail.com>
2020-11-19 17:25:10 +01:00
Artem Pavlenko
9dac8dcc34
Only push new elements to parenStack when needed (via @lightmare) (ref #4096 )
2019-11-18 08:45:03 +00:00
Artem Pavlenko
7003255c0e
avoid negative indicies access to parenStack - thanks @talaj! (ref #4096 )
2019-11-05 09:50:51 +00:00
Artem Pavlenko
33fac6d47d
use std::vector to avoid limiting number of paired characters.
2019-11-04 13:59:23 +00:00
Artem Pavlenko
8aae32ec4c
better syntax
2019-11-01 17:09:12 +00:00
Artem Pavlenko
1edd3b7a93
use & mask for array bounds clipping (provided array size is 2^n)
2019-11-01 16:16:57 +00:00
Artem Pavlenko
dec6bc0950
avoid potential out-of-bounds array access (undefined behaviour) + add c++ C-array size implementation
2019-11-01 13:06:21 +00:00
Mickey Rose
f84191204e
eradicate M_PI
2018-07-16 14:18:49 +02:00
Mickey Rose
a0a2c78950
util/math: clamp, degrees, radians
...
Use common functions for degrees <-> radians conversions, except when
dealing with agg, where it makes sense to use available deg2rad/rad2deg
functions instead of including another header.
2018-07-13 12:34:25 +02:00
Raul Marin
1ddfe6c315
Qualify ICU types explicitly
...
ICU 61 has dropped the global `using namespace icu;`
http://site.icu-project.org/download/61#TOC-Migration-Issues
2018-04-03 13:18:43 +02:00
Artem Pavlenko
934124d30c
follow up on 5b8b75e6809320b9f0f61290896d1027115d06f4
2018-03-01 12:11:03 +01:00
Jiri Drbalek
f10e051e17
Add grid placement for text and shield symbolizer
2018-02-06 15:19:05 +00:00
Jiri Drbalek
99038229f7
Polylabel: cover the case of empty polygon or exterior ring
2018-01-17 13:39:15 +00:00
Jiri Drbalek
a97eace434
Interior: cover the case of empty polygon or exterior ring
2018-01-17 12:58:42 +00:00
Jiri Drbalek
f52a0fa4f6
new interior algorithm
2017-12-13 21:48:13 +00:00
Jiri Drbalek
ea7ba2c099
add polylabel placement method
2017-12-13 21:48:13 +00:00
Jiri Drbalek
e243e16fd9
find text interior placement after reprojection
2017-12-13 21:48:13 +00:00
Artem Pavlenko
4aaba786fa
fix warning: comparison of integers of different signs
2017-11-13 09:48:31 +01:00
talaj
8347778abb
fix memory leak ( #3775 )
2017-10-06 09:27:58 +02:00
talaj
d14203561d
color font support improvements ( #3758 )
...
👍
2017-09-13 10:14:46 +01:00
talaj
d0ecd51b63
Set premultiplied flag to the color font glyph bitmap ( #3716 )
...
* color font bitmap is premultiplied
* update visual tests
2017-07-03 17:15:07 +02:00
artemp
333ef9fde1
update copyright year
2017-05-05 13:02:01 +02:00
artemp
c1053181f5
Merge branch 'text-extend' of https://github.com/mapycz/mapnik into mapycz-text-extend
2017-03-14 11:53:52 +00:00
artemp
87c619cdc2
don't forget FT_LOAD_NO_HINTING
2017-02-28 15:13:40 +01:00
artemp
1b67779290
implement color bitmap extraction/scaling/compositing into target pixmap
2017-02-28 15:04:49 +01:00
artemp
639dcae83f
c++ style
2017-02-28 15:03:26 +01:00
artemp
a6519c3f6b
use FT_Load_Sfnt_Table to identify color fonts + load color glyphs with FT_LOAD_COLOR
2017-02-28 15:00:03 +01:00
artemp
df51f6087c
minor c++ style
2017-01-31 17:42:24 +01:00
artemp
28c51df986
more fix GCC shadows a member warning [-Wshadow]
2017-01-13 09:38:54 +01:00
artemp
0a7e8bb429
fix GCC shadows a member warning [-Wshadow]
2017-01-12 17:48:56 +01:00
Jiri Drbalek
4eae86b7bc
text simple placement: add center 'C' placement
2017-01-08 09:05:44 +00:00