[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fribidi
- To: "Chahine M. HAMILA" <mch at chaham dot com>
- Subject: Re: fribidi
- From: Behdad Esfahbod <behdad at bamdad dot org>
- Date: Thu, 14 Aug 2003 11:45:17 +0430 (IRST)
- Cc: Development Discussions <developer at arabeyes dot org>
Dear Chahine,
Thanks for the offer, but we already have such an engine. BTW,
we are going to focus on Unicode. iconv is always your friend.
On Fri, 8 Aug 2003, Chahine M. HAMILA wrote:
> Salaam,
> This might be of interest to Roozbeh and Behdad (apologies if I massacred the spelling of any of your names)...
> I saw in the IRC log of the Arabeyes party (sorry not to have shown up I was very sick that day) that you were to integrate a glyph shaping engine in fribidi. Why not reuse Akka's? It's a pretty good engine and is adaptable to many encodings (plus it would move it from Akka to the fribidi layer there).
> The architecture of the glyph rendering engine in Akka is as follows:
> 1) you initialize it by loading a glyph map, basically a file containing 5-tuples (index, lone, beginning, middle, end), where index is the characters' index in the used encoding (e.g. ISO-8859-6, Unicode, anything) and the 4 other numbers are the letter's glyph position in the font used according to the letter's position in the word.
> 2) it takes a raw character string (i.e. with the letters encoded in the standard encoding) and maps it to the glyph using a simple one pass algorithm.
> It is very flexible and efficient, so if you ever want help in doing it, I am at your disposal.
> Regards,
> Chahine
--
Behdad Esfahbod 23 Mordad 1382, 2003 Aug 14
http://behdad.org/ [Finger for Geek Code]
If you do a job too well, you'll get stuck with it.