Mapnik 4.0.4 Release Dec 04, 2024 | Artem Pavlenko
Mapnik 4.0.3 Release Oct 30, 2024 | Artem Pavlenko
Mapnik 4.0.2 Release Aug 21, 2024 | Artem Pavlenko
Mapnik 4.0.1 Release Jul 30, 2024 | Artem Pavlenko
Mapnik 4.0.0 Release Jun 16, 2024 | Artem Pavlenko
Mapnik 3.1.0 Release Jan 08, 2021 | Artem Pavlenko
Mapnik 3.0.24 Release Jan 05, 2021 | Artem Pavlenko
Mapnik 3.0.23 Release Jan 18, 2020 | Artem Pavlenko
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

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 © 2024 Artem Pavlenko | Downloads | License | Media | Developer