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

 
 

bug #50959: Too much space after Sinhala characters

Submitter:  David Corbett <dscorbett>
Submitted:  Fri 05 May 2017 08:29:37 PM UTC
   
 
Category:  individual character(s) Severity:  3 - Normal
Item Group:  letter positioning poor Status:  Fix posted
Privacy:  Public Assigned to:  Stevan_White
Open/Closed:  Open Release:  * development
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-19 Stevan_White StatusNeed info Fix posted
    2017-05-17 Stevan_White StatusNone Need info
        Assigned toNone Stevan_White

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code