bugFree UCS Outline Fonts - Bugs: bug #52559, Mispaced diacritics on localized...


bug #52559: Mispaced diacritics on localized small capital upsilon in FreeSerif

Submitted by:  David Corbett <dscorbett>
Submitted on:  Thu 30 Nov 2017 02:44:09 PM UTC  
Category:  individual character(s) Severity:  3 - Normal
Item Group:  character substitution issue Status:  Fix posted
Privacy:  Public Assigned to:  Steve White <Stevan_White>
Open/Closed:  Open Release:  development

Add a New Comment (Rich Markup)

You are not logged in

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


Fri 25 May 2018 04:17:02 PM UTC, comment #5: 

Latest commit seems to fix the problem as stated.

To do yet: the hooked Upsilon U+03D2-4 don't transform properly to lower-case.  Can't yet see why.

Also, the Greek lookups in Serif and Sans seem to be arranged differently.

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Fri 25 May 2018 06:33:34 AM UTC, comment #4: 

Regarding hb-shape: I never knew how to use that utility, and as I said, the -u flag just gives an error.  I managed to get it working by typing:

hb-shape .fonts/f/FreeMonoBoldOblique.otf --features=c2sc --language=el

Then interactively enter unicode text.

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Fri 15 Dec 2017 08:36:22 PM UTC, comment #3: 


my hb-shape doesn't take a flag '-u'.

The problem with upsilon is this: there are three separate processes going on here.  One is the localization of the upsilon from the westernized form to the hooked form.  Then the decomposition of all the complex greek characters for small-caps form, and then the actual small-capping.  The first is triggered by 'lang', the other two by feature.  The order these happen in  determine the results, and the most complicated case of upsilon is tricky to orchestrate.

I added another lookup to handle the specific case of upsilon for greek languages in feature 'c2sc'.  So far, serif normal only.

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Fri 01 Dec 2017 11:09:44 PM UTC, comment #2: 

It looks like your renderer is ignoring that the language is set to Greek: the first line of upsilons should have hooks. The following, run on FreeSerif built from revision 3831, shows that this bug has not been fixed.

$ hb-shape FreeSerif.otf -u 1f59 --features c2sc --language el
$ hb-shape FreeSerif.otf -u 1f59 --features c2sc

David Corbett <dscorbett>
Fri 01 Dec 2017 09:13:58 PM UTC, comment #1: 


I attach how Firefox renders your example on my system.
Maybe some recent commit already fixed this?  Or am I not seeing something?

(file #42548)

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Thu 30 Nov 2017 02:44:09 PM UTC, original submission:  

In FreeSerif, when the language is Greek and 'c2sc' is enabled, the diacritics on the capital upsilons of Greek Extended are to the left of the letters. They should be directly above.

data:text/html;charset=utf-8,<div style="font: 300px FreeSerif; font-variant: all-small-caps"><span lang="el">%E1%BD%99%E1%BD%9B%E1%BD%9D%E1%BD%9F%E1%BF%AA%E1%BF%AB</span><br>%E1%BD%99%E1%BD%9B%E1%BD%9D%E1%BD%9F%E1%BF%AA%E1%BF%AB

David Corbett <dscorbett>


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

Attach Files:

Attached Files
file #42548:  upsilon-diacritics.pdf added by Stevan_White (141KiB - application/pdf)


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 (Updated the item)
  • -email is unavailable- added by dscorbett (Submitted the item)

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

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-25 Stevan_White StatusProceeding => Fix posted
    2017-12-15 Stevan_White StatusNeed info => Proceeding
    2017-12-01 Stevan_White Attached File- => Added upsilon-diacritics.pdf, #42548
        StatusNone => Need info
        Assigned toNone => Stevan_White

    Back to the top

    Powered by Savane 3.5