GSoC/GCI Archive
Google Code-in 2014 Haiku

Add output support to the RTF translator with styling

completed by: Markus Himmel (TwoFx)

mentors: Adrien Destugues - PulkoMandy, Gerasim Troeglazov

Translators are used in Haiku to convert files between different formats.

RTF ("rich text format") is a format for text with styling information. The format is rather simple and uses some escaping commands to include the formatting information.

While Haiku has a way to read RTF files and convert them to the internal "styled text" format, the translator currently doesn't support the reverse translation (from styled text to RTF).

Starting from the patch done by a GCI2013 student (https://dev.haiku-os.org/ticket/8873), complete the work so the style from styled text is handled by the translator (colors, fonts, font sizes, bold, underline).

You may either write your own code to generate RTF, or use an existing free software library (MIT license preferred if possible).