[HarfBuzz] Fwd: 'rakar' for cluster സ്പ്ര is not reordered when there is full base conjunct

Behdad Esfahbod behdad at behdad.org
Wed Mar 6 00:20:26 PST 2013


[The original email from Cibu didn't make it to the list because of a large
attachment.  I approved it tonight, but still don't see it.]

This seems to be a font issue with Rachana.  I get the exact same rendering
with Uniscribe and HarfBuzz (master, not 0.9.13).  That said, I'll debug it
tomorrow to see why the reordering is not happening.

behdad

On 13-03-04 02:18 PM, Rajeesh K Nambiar wrote:
> 
> On Mon, Mar 4, 2013 at 10:43 PM, Cibu Johny (സിബു) <cibu at google.com
> <mailto:cibu at google.com>> wrote:
> 
> 
>     This happens in hb 0.9.13
>     and h
>     appens in Uniscribe as well.
> 
> 
> 
> This (in general 'Ra') is one failure case we have with 'old-spec' (mlym). The
> issue is also part of language reformation - the oldlipi had glyphs for all
> consonants+Virama+Ra rendering 'Ra' as "Post-Base", but the reformed lipi cut
> the Virama+Ra part into "Pre-Base" to be rendered in front of the consonant.
> 
> In this specific example "സ്പ്ര" (Sa+Virama+Pa+Virama+Ra) ideally, the following
> in the sequence should happen (for mlym, at least) to define rendering:
> 
> 1. If there is a glyph defined for "സ്പ്ര" (Sa+Virama+Pa+Virama+Ra) in the font,
> use that.
> 2. If there is a glyph defined for "സ്പ" (Sa+Virama+Pa), use that glyph and
> render the "്ര" (Virama+Ra sign) as pre-base to this glyph. Here 'Ra'kar is
> render pre-base to cluster of consonants (Sa+Virama+Pa).
> 3. If there is a glyph defined for "പ്ര", then render it as "സ്‌‌പ്ര" (Sa+Virama+
> <Glyph for Pa+Virama+Ra).
> 4. Default case to be "സ്്രപ" (Sa+Virama+"്ര" (Virama+Ra sign)+Pa). Here 'Ra'kar
> is joined with last consonant Pa.
> 
> 
> Santhosh, please correct/add if I missed something.
> 
>  
> 
>     Font is Rachana from
>     ttf-indic-fonts-core
>     (/usr/share/fonts/truetype/ttf-indic-fonts-core/Rachana_04.ttf) in a Debian
>     /Ubuntu
>     dist.
> 
> 
> Latest version of Rachana is here:
> http://download.savannah.gnu.org/releases/smc/fonts/malayalam-fonts-5.0.1/Rachana/
>  
> 
>     _______________________________________________
>     HarfBuzz mailing list
>     HarfBuzz at lists.freedesktop.org <mailto:HarfBuzz at lists.freedesktop.org>
>     http://lists.freedesktop.org/mailman/listinfo/harfbuzz
> 
> 
> 
> 
> -- 
> Cheers,
> Rajeesh
> http://rajeeshknambiar.wordpress.com
> 
> 
> 
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
> 

-- 
behdad
http://behdad.org/



More information about the HarfBuzz mailing list