[haiku-development] Re: GSoC 2021 Introduction

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 30 Mar 2021 18:36:33 +0000

30 mars 2021 20:20 "Andrew Lindesay" <apl@xxxxxxxxxxxxxx> a écrit:

think I can do it in 6 weeks. Currently, I'm more interested in
implementing complex text rendering using Harfbuzz and the UFS2

Hello Khaled; The work to implement a text layout engine would be welcome. 
There is a start in
HaikuDepot under;

.../apps/haikudepot/textview

This may need some re-consideration in terms of structure and mechanics. It 
may be good to survey a
few other text engines to understand their structure and reflect on how that 
would work as a
Haiku-like API.

That is a different thing (I think). The project idea about "complex text" 
using harfbuzz
is more about the app_server font rendering, making it able to handle text in 
scripts
that require "complex" processing for display (such as folding consonants and 
vowels into
a single glyph, or mixing left-to-right and right-to-left text).

The hard work on this is mostly done by the Harfbuzz library, which works 
together with
Freetype to do the rendering properly. So it is mostly integration work. 
However it will
also lead to questions for integration with the existing API: behavior of text 
selection
may need to be reworked, for example.

-- 
Adrien.


Other related posts: