gongshoudao / noto

Automatically exported from code.google.com/p/noto
0 stars 0 forks source link

Javanese marks are shown in incorrect position relative to dotted circle #162

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When discussing a writing system and its use, it's common usage to show 
characters with the Unicode general category Mark with a dotted circle that 
indicates the base character. When doing this with the characters in Noto Sans 
Javanese, a number of marks are shown in an incorrect position relative to the 
dotted circle.

What steps will reproduce the problem?
Use a browser with a good rendering engine to go to
http://lindenbergsoftware.com/google/noto/java-table.html
In this web page, all occurrences of Javanese marks are preceded with ◌ 
(U+25CC).

What is the expected output?
The marks shown on this page should be in a position similar to that of the 
reference glyph in
http://www.unicode.org/charts/PDF/UA980.pdf

What do you see instead?
The following marks are shown too far to the right: U+A980, U+A981, U+A982, 
U+A9B3, U+A9B6, U+A9B7, U+A9BC, U+A9C0. See attached screen shot.

What version of the product are you using? On what operating system?
Noto Sans Javanese Regular 1.01
Mozilla Firefox Nightly 35.0a1 (2014-09-24)
Mac OS X 10.9.5

Please provide any additional information below.
According to the Mozilla commit log, Firefox has recently been updated to 
Harfbuzz 0.9.34. Firefox is clearly not using OS X rendering, as other 
applications on OS X 10.9.5 render Noto Sans Javanese quite differently.

Original issue reported on code.google.com by googled...@lindenbergsoftware.com on 25 Sep 2014 at 5:54

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by roozbeh@google.com on 3 Oct 2014 at 6:22

GoogleCodeExporter commented 9 years ago
This sounds like might be itemization issue, or script detection issue.  CC'ing 
Jonathan.

Original comment by behdad@google.com on 8 Oct 2014 at 1:23

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/noto/issues/detail?id=163 is definitely same issue as 
this.

Original comment by behdad@google.com on 8 Oct 2014 at 1:23

GoogleCodeExporter commented 9 years ago
It seems to me that the problem is strictly in the font itself: The glyphs for 
the characters mentioned all have a left side bearing of 0, for most of them 
along with a width of 0 (U+A9C0 is the exception here). This means that by 
default they're drawn above the following character rather than above the 
preceding one. For Javanese letters as preceding characters this is corrected 
by entries in the GPOS table, but the dotted circle doesn't benefit from that, 
and neither do any non-Javanese letters.

The convention used for the below-base marks in Noto Sans Javanese, and for all 
below-base and above-base marks in Noto Sans Balinese, is to use a negative 
left-side bearing, so that by default the marks are drawn above or below the 
base character, with GPOS table entries used just to fine-tune the location for 
same-script base characters.

Original comment by googled...@lindenbergsoftware.com on 15 Oct 2014 at 12:33

GoogleCodeExporter commented 9 years ago

Original comment by roozbeh@google.com on 16 Jan 2015 at 6:10

GoogleCodeExporter commented 9 years ago
Font lacks mark positioning GPOS relative to U+25CC

Original comment by xian...@google.com on 28 Mar 2015 at 12:41

GoogleCodeExporter commented 9 years ago

Original comment by xian...@google.com on 1 Apr 2015 at 6:15