Hermann Kraus
|
a8cf13113a
|
Update itemizer to allow operation on text ranges (for line breaking).
Fix handling of reordered text runs (refs #519).
|
2012-07-20 18:40:47 +02:00 |
|
Hermann Kraus
|
76369a77fb
|
Remove debug output.
|
2012-07-20 18:39:52 +02:00 |
|
Hermann Kraus
|
b65b21ce1d
|
Correct calculation of line width.
|
2012-07-20 02:07:25 +02:00 |
|
Hermann Kraus
|
e48b2f6598
|
Use assertations to make code cleaner.
|
2012-07-20 01:51:05 +02:00 |
|
Hermann Kraus
|
525dad7623
|
Add line breaking algorithm.
|
2012-07-19 02:30:27 +02:00 |
|
Hermann Kraus
|
27c5e50dcb
|
Use offsets for correct positioning of glyphs.
Refs #1208.
|
2012-07-17 23:29:05 +02:00 |
|
Hermann Kraus
|
e9354f5802
|
Correctly initialize buffer unicode functions. They are cleared by a buffer reset.
|
2012-07-17 23:26:00 +02:00 |
|
Hermann Kraus
|
019a44da80
|
Add new tests for Khmer text.
Reference renderings: http://licadho-cambodia.org/mapnik/khmer.html
Thanks to github user "nirvn" for providing these images.
Refs #1208.
|
2012-07-17 22:03:25 +02:00 |
|
Hermann Kraus
|
beed2d08f2
|
Implement missing functions.
This is the first version that actually renders text. And it's working correctly!
|
2012-07-11 02:21:30 +02:00 |
|
Hermann Kraus
|
9f2ec07cd8
|
Store format with each glyph to make code less complex.
|
2012-07-11 00:22:25 +02:00 |
|
Hermann Kraus
|
8bbceb1a41
|
Update renderer.
|
2012-07-10 09:30:59 +02:00 |
|
Hermann Kraus
|
a97a9d17cc
|
Adjust function calls.
|
2012-07-09 22:35:46 +02:00 |
|
Hermann Kraus
|
a8ba813423
|
Implement new prepare glyphs function.
|
2012-07-09 22:35:02 +02:00 |
|
Hermann Kraus
|
514a0da09e
|
Define new interface for glyph_positions.
|
2012-07-09 22:23:54 +02:00 |
|
Hermann Kraus
|
09a0483028
|
Make linker happy.
|
2012-07-08 17:45:19 +02:00 |
|
Hermann Kraus
|
17efe0601b
|
Make sure everything compiles again after font engine changes.
|
2012-07-08 17:19:55 +02:00 |
|
Hermann Kraus
|
eeeb058104
|
Clean up font_engine_freetype.[ch]pp.
|
2012-07-08 13:18:12 +02:00 |
|
Hermann Kraus
|
f0937451a2
|
Update symbolizer_helpers to support new placement finder.
|
2012-07-07 17:41:49 +02:00 |
|
Hermann Kraus
|
dc9106d444
|
Update docs.
|
2012-07-07 17:41:31 +02:00 |
|
Hermann Kraus
|
3d2417ddef
|
Add graph showing text_layout dependencies.
|
2012-07-06 21:41:20 +02:00 |
|
Hermann Kraus
|
ddb1fa995f
|
Start work on new placement finder.
|
2012-07-06 02:09:48 +02:00 |
|
Hermann Kraus
|
959ff260dd
|
Fix RTL bug.
|
2012-07-02 02:06:07 +02:00 |
|
Hermann Kraus
|
228263727f
|
Fix offsets.
|
2012-07-02 01:59:29 +02:00 |
|
Hermann Kraus
|
6e4915ef83
|
Use shared pointers for text_layout.
|
2012-07-02 01:06:30 +02:00 |
|
Hermann Kraus
|
aecd6820c2
|
Use char_properties_ptr everywhere.
|
2012-07-02 00:10:55 +02:00 |
|
Hermann Kraus
|
47dea8ed52
|
Use char_properties_ptr in more files.
|
2012-07-01 23:14:35 +02:00 |
|
Hermann Kraus
|
993395c510
|
Add test case with mixed text.
|
2012-07-01 23:13:54 +02:00 |
|
Hermann Kraus
|
7d241c5353
|
Use shared pointer to track char_properties.
Store positions instead of strings in text_item.
|
2012-07-01 22:35:20 +02:00 |
|
Hermann Kraus
|
e537b0e8dd
|
Remove old code.
|
2012-07-01 02:47:39 +02:00 |
|
Hermann Kraus
|
ead99b1411
|
Calculate glyph dimensions.
|
2012-06-30 21:40:41 +02:00 |
|
Hermann Kraus
|
bf66b71f3e
|
Add copyright message.
|
2012-06-30 19:50:05 +02:00 |
|
Hermann Kraus
|
91d80dc7c1
|
Use UTF16 directly to avoid reencoding and allow easy mapping of chars to glyphs.
|
2012-06-30 18:32:59 +02:00 |
|
Hermann Kraus
|
89b727d2fc
|
Correctly set script and direction.
|
2012-06-30 18:03:31 +02:00 |
|
Hermann Kraus
|
2e50936b13
|
Use mapnik's face_manager instead of loading the font on our own.
|
2012-06-30 17:09:46 +02:00 |
|
Hermann Kraus
|
63e8b6d6db
|
Some changes to make testing easier.
|
2012-06-30 10:04:18 +02:00 |
|
Hermann Kraus
|
62ccc7d313
|
Send processed text directly to text_layout.
|
2012-06-29 00:48:04 +02:00 |
|
Hermann Kraus
|
1c9babf9e2
|
Merge branch 'master' into harfbuzz
|
2012-06-28 23:01:34 +02:00 |
|
Hermann Kraus
|
7c7dd0fa80
|
Add files from https://github.com/herm/harfbuzz-test.
|
2012-06-28 23:01:23 +02:00 |
|
Hermann Kraus
|
0caebc52ae
|
Add tests for international text.
|
2012-06-28 20:49:41 +02:00 |
|
Artem Pavlenko
|
5519648989
|
+ inflate extent to match agg renderer
|
2012-06-28 11:58:54 +01:00 |
|
Artem Pavlenko
|
bfa7052e84
|
+ markers: fix stock arrow's transformations
|
2012-06-27 13:46:52 +01:00 |
|
Dane Springmeyer
|
d9880efd6e
|
avoid compiler warning on unsigned/signed comparison
|
2012-06-26 11:23:26 -07:00 |
|
Artem Pavlenko
|
eb686c6582
|
+ cairo : sync building_symbolizer output with agg
|
2012-06-26 17:15:11 +01:00 |
|
Artem Pavlenko
|
cec9b5798e
|
Revert "cleaner approach to a compile time magic alpha number for grid buffers"
(doesn't link : clang version 3.2 (trunk 158601))
This reverts commit 98753db9fd .
|
2012-06-26 16:53:07 +01:00 |
|
Artem Pavlenko
|
f8a7d06034
|
Merge remote-tracking branch 'origin/master'
|
2012-06-26 15:02:28 +01:00 |
|
Artem Pavlenko
|
5bc9f73506
|
+ markers_symbolizer: support affine geometry transformations
+ fix markers bounding box calc
+ fix spacing logic to use transformed marker width
|
2012-06-26 15:00:42 +01:00 |
|
Dane Springmeyer
|
98753db9fd
|
cleaner approach to a compile time magic alpha number for grid buffers
|
2012-06-25 17:57:52 -07:00 |
|
Dane Springmeyer
|
b71553682b
|
grid_pixel does not need a 32bit base_shift since alpha is not used
|
2012-06-25 17:31:43 -07:00 |
|
Dane Springmeyer
|
18cf6b1bdd
|
remove unneeded header
|
2012-06-25 17:28:01 -07:00 |
|
Dane Springmeyer
|
5b873beafb
|
add support for dynamically inheriting an optional settings file in python
|
2012-06-25 15:37:49 -07:00 |
|