Mapnik 3.0.22 Release Jan 22, 2019 | Artem Pavlenko
Mapnik 3.0.21 Release Oct 08, 2018 | Artem Pavlenko
Mapnik 3.0.20 Release Apr 12, 2018 | Artem Pavlenko
Mapnik 3.0.19 Release Mar 06, 2018 | Artem Pavlenko
Mapnik 3.0.18 Release Jan 26, 2018 | Artem Pavlenko
Mapnik 3.0.16 Release Nov 16, 2017 | Artem Pavlenko
Mapnik 3.0.12 Release Sep 08, 2016 | Artem Pavlenko
Mapnik 3.0.10 Release Feb 29, 2016 | Artem Pavlenko
Node Mapnik 3.5.0 Release Feb 29, 2016 | Sam Matthews
Mapnik 3.0.9 Release Nov 26, 2015 | Artem Pavlenko
Mapnik 3.0.7 and 3.0.8 Releases Oct 26, 2015 | Artem Pavlenko
Mapnik 3.0.6 Release Oct 08, 2015 | Artem Pavlenko

latest news

Summer of Code 2012 - First steps

Jun 26, 2012

As I follow up to my last post I will give a short overview what has happened this week and what I will do next:

Current status

Itemizing text with respect to format and direction works now, but itemizing on script is still missing. This is not trivial as certain characters don’t have a fixed script value but get it from the surrounding characters. However I found an example in ICUs “extra” directory and will use this as a base for my own code (or use it unmodified if that works).

Code is available on Github.

Next steps

I will add line breaking next. This is actually a rather complex task because you need to perform the following steps:

  • Shape the text to get actual glyph widths
  • Perform line breaking
  • Determine characters from glyphs
  • Shape again

Also I will try to build some test cases for my code to verify it is working correctly.

Other problems to solve

  • Finding font file from font name in a platform independent way
  • Working with fontsets (i.e. selecting a different font if the current font doesn’t have all necessary glyphs)
Copyright © 2018 Artem Pavlenko | Downloads | License | Media