bugFree UCS Outline Fonts - Bugs: bug #50959, Too much space after Sinhala...

 
 

bug #50959: Too much space after Sinhala characters

Submitted by:  David Corbett <dscorbett>
Submitted on:  Fri 05 May 2017 08:29:37 PM UTC  
 
Category: individual character(s)Severity: 3 - Normal
Item Group: letter positioning poorStatus: Fix posted
Privacy: PublicAssigned to: Steve White <Stevan_White>
Open/Closed: OpenRelease: development

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 19 Sep 2017 08:22:01 PM UTC, comment #2:

Worked like a dream. Also a dream: that I spent a couple of evenings trying solutions like this one, before I did the very complicated GPOS thing that you saw.
Thanks a lot, David!

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Wed 17 May 2017 01:05:24 PM UTC, comment #1:

This is brilliant if it works. I will certainly try it.

If you're right, it is very strange to me: I had tried similar things, but I had convinced myself at the time that OT substitution never applies to the space character -- because, I figured, the text is split on that character during processing.

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Fri 05 May 2017 08:29:37 PM UTC, original submission:

In FreeSerif, the lookup "'dist' wide space in Sinhala" adds space after Sinhala characters except before certain other characters used in Sinhala. The log message for revision 2727 explains that this was intended to increase the space between words. However, it is a brittle solution, since there could always be more punctuation or symbols used with Sinhala that shouldn’t have spaces before them.

I got it to work a different way. I deleted "positioning for space in Sinhala" and "'dist' wide space in Sinhala". I created a new 'locl' lookup for the Sinhala script, to which I added a single substitution from space to emspace. It looks fine with HarfBuzz; the em space is too wide but it’s fine for a proof of concept.

David Corbett <dscorbett>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by Stevan_White (Posted a comment)
  • -unavailable- added by dscorbett (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 19 Sep 2017 08:22:01 PM UTCStevan_WhiteStatusNeed info=>Fix posted
    Wed 17 May 2017 01:05:24 PM UTCStevan_WhiteStatusNone=>Need info
      Assigned toNone=>Stevan_White

    Back to the top


    Powered by Savane 3.1-cleanup1