FontLab Forum
2012-05-16, 17:30:25 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: Indic request: Reph reordering  (Read 2088 times)
ArchivePoster
Guest
« on: 2008-07-06, 13:49:00 »

Posted by: SpaceyT-17
         
For Indic scripts, Uniscribe of Windows Vista does a neat job of reordering pre-base vowel signs around half-form glyphs. Some similar reordering logic should be applied for Reph.
 
Say I enter the Bengali characters < Ra Halant C1 Halant C2 Ikaar >, where C2 is not Ba, Ra or Ya (i.e. it has no below-base or post-base form). As a result, C2 is the base consonant for this syllable. Also, there is no conjunct glyph for < C1 Halant C2 > defined in the cjct feature.
 
As Vrinda has half-form glyphs for almost all consonants (including C1), the following happens:
reorder1: C1 Halant C2 (Ra Halant)rphf Ikaar
cmap:     gC1 gHalant gC2 (gRa gHalant)rphf gIkaar
rphf:     gC1 gHalant gC2 gReph gIkaar
half:     gC1.half gC2 gReph gIkaar       // gC1.half is a half-form glyph
reorder2: gIkaar gC1.half gC2 gReph       // gIkaar reorders to the left of gC1.half

rendering of Vrinda, which contains a half-form glyph of C1

 However, a font without a half-form glyph of C1 would cause the following:
reorder1: C1 Halant C2 (Ra Halant)rphf Ikaar
cmap:     gC1 gHalant gC2 (gRa gHalant)rphf gIkaar
rphf:     gC1 gHalant gC2 gReph gIkaar
half:     gC1 gHalant gC2 gReph gIkaar    // no change
reorder2: gC1 gHalant gIkaar gC2 gReph    // gIkaar reorders to the left of gC2 only
haln:     gC1.haln gIkaar gC2 gReph

Logged
ArchivePoster
Guest
« Reply #1 on: 2008-07-07, 09:26:00 »

Posted by: OldKnip
         
Hi Spacey,
To increase the confusion you could type the sequence < ra + halant + khanda ta + sa >. In this case reph will not even be formed!
Regards
Elmar

Logged
ArchivePoster
Guest
« Reply #2 on: 2008-07-08, 09:17:00 »

Posted by: SpaceyT-17
         
< Ra Halant KhandaTa Sa > works fine for me (both with Vrinda and my fonts). The Reph gets formed okay. I'm running Windows Vista SP1.

Logged
ArchivePoster
Guest
« Reply #3 on: 2008-07-11, 19:01:00 »

Posted by: SpaceyT-17
         
Any comments from Microsoft on whether this rule will be implemented in Uniscribe?

Logged
ArchivePoster
Guest
« Reply #4 on: 2008-08-06, 07:45:00 »

Posted by: SpaceyT-17
         
Is Microsoft considering implementing the requested logic to Uniscribe?
Logged
ArchivePoster
Guest
« Reply #5 on: 2008-08-07, 07:39:00 »

Posted by: Star Gazer
         
The behaviour you desire is actually how I expected Uniscribe in Vista would behave. I know I tested that with Devanagari fonts, but I don't recall trying it for Bengali. But I can't think of a reason why it wouldn't work. (Of course, that doesn't mean there isn't an issue preventing it.) I'll have to give it a try and get back.

Logged
ArchivePoster
Guest
« Reply #6 on: 2008-08-08, 02:49:00 »

Posted by: pgcon
         
I tested this on Vista and it works, as I expected: I modified the Vrinda font by removing the rule to form half TTA in the lookup for the 'half' feature. Then I tried displaying the r.tt.si sequence you gave as an example using this modied font. The result was that the Ikaar displays after r.tt and before s; and the reph displays on the tt. (See the attached file.)
 
 

Logged
ArchivePoster
Guest
« Reply #7 on: 2008-08-08, 02:59:00 »

Posted by: pgcon
         
Well, I can't figure out how to get an image up here. At any rate, my results using my modified Vrinda on Vista SP1 looked the same as the last image in the original message -- the behaviour that was requested. All it took was to make sure there was no ligature substitution
 
    gTta gHalant -> gTta.half
 
that happens when the 'half' feature is processed.
 
 
Peter

Logged
ArchivePoster
Guest
« Reply #8 on: 2008-08-08, 03:35:00 »

Posted by: 
         
This message has been deleted by the author.
Logged
ArchivePoster
Guest
« Reply #9 on: 2008-08-08, 03:36:00 »

Posted by: pgcon
         
OK, I figured it out:
 
 
 
 
 
Peter

Logged
ArchivePoster
Guest
« Reply #10 on: 2008-08-08, 15:37:00 »

Posted by: SpaceyT-17
         
Thanks for trying it out, Peter. So it appears it is because of a problem in my fonts.

Logged
ArchivePoster
Guest
« Reply #11 on: 2008-08-17, 07:21:00 »

Posted by: SpaceyT-17
         
Solved the problem. I had mistakenly set Aa-kaar, I-kaar, Ii-kaarE-kaar, Ai-kaar, and Au-mark glyphs as mark glyphs instead of simple glyphs in Glyph Editor. Now it works correctly.

Logged
Tags:
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!