-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Combining comma above right" at wrong position #33
Comments
@vk-github18 I can see there is an issue with U+0315 but I don't think it is a spacing issue, I believe it is a positioning issue; U+031 should set on the top of precedent character not between characters . This behaviour noticed on Serif fonts as well. @marekjez86 for opinion. |
@nizarsq and @marekjez86 I agree, as nonspacing mark U+0315 should not consume extra horizontal space, and be positioned right above the base letter. See also the Unicode standard: http://www.unicode.org/versions/Unicode13.0.0/ch03.pdf#G30602
|
I would like to add some background info. ###[DIN 91379:2022-08: Characters and defined character sequences in Unicode for the electronic processing of names and data exchange in Europe, with CD-ROM Letters and sequences defined in DIN 91379:List of characters and sequences of DIN 91379 DIN SPEC 91379: Characters in Unicode for the electronic processing of names and dataexchange in Europe; with digital attachmentString.Latin+ 1.2 (zip, free download, in German) |
Defect Report
Title
"Combining comma above right" character at wrong position"
Font
NotoMono-Regular.ttf (correct)
NotoMono-Bold.ttf
NotoSans-BoldItalic.ttf
NotoSans-Bold.ttf
NotoSans-Italic.ttf
NotoSans-Regular.ttf
Where the font came from, and when
Site: https://github.com/googlefonts/noto-fonts/tree/master/hinted/ttf
Date: 2020-10-05
Font Version
NotoMono-Regular.ttf (correct) 2.004; ttfautohint (v1.8.2)
NotoMono-Bold.ttf 2.004; ttfautohint (v1.8.2)
NotoSans-BoldItalic.ttf 2.003; ttfautohint (v1.8.2)
NotoSans-Bold.ttf 2.003; ttfautohint (v1.8.2)
NotoSans-Italic.ttf 2.003; ttfautohint (v1.8.2)
NotoSans-Regular.ttf 2.003; ttfautohint (v1.8.2)
OS name and version
Ubuntu 20.04.1 LTS
Application name and version
hb-view (HarfBuzz) 2.6.8
Available shapers: graphite2,ot,fallback
Issue
There is not enough space after COMBINING COMMA ABOVE RIGHT
so it is overlapping with the next letter
FONTS="NotoSans-BoldItalic.ttf NotoSans-Bold.ttf NotoSans-Italic.ttf
NotoSans-Regular.ttf NotoMono-Bold.ttf NotoSansMono-Bold.ttf NotoMono-Regular.ttf NotoSansMono-Regular.ttf"
for f in $FONTS
do printf "$f\n">x
cat combining_comma_above_right.txt >> x
hb-view -o combining_comma_above_right_${f%.*}.png $f <x
rm x
done
Observed results
![combining_comma_above_right_NotoSans-Regular](https://user-images.githubusercontent.com/39316085/95089713-bc0b3400-0724-11eb-9c9d-34852cd78182.png)
![combining_comma_above_right_NotoSans-Italic](https://user-images.githubusercontent.com/39316085/95089716-bd3c6100-0724-11eb-9d45-76458747be93.png)
![combining_comma_above_right_NotoSans-BoldItalic](https://user-images.githubusercontent.com/39316085/95089717-bdd4f780-0724-11eb-935e-629d7e54ab37.png)
![combining_comma_above_right_NotoSans-Bold](https://user-images.githubusercontent.com/39316085/95089721-be6d8e00-0724-11eb-8160-2f3693c2fc88.png)
![combining_comma_above_right_NotoMono-Bold](https://user-images.githubusercontent.com/39316085/95089724-bf062480-0724-11eb-9c6d-fda1ce950d58.png)
COMBINING COMMA ABOVE RIGHT overlaps with next letter
Expected results
COMBINING COMMA ABOVE RIGHT does not overlap with next letter
![combining_comma_above_right_NotoMono-Regular](https://user-images.githubusercontent.com/39316085/95089664-af86db80-0724-11eb-8ec2-9286fc4de354.png)
See
https://github.com/googlefonts/noto-fonts/issues/1478
where the problem was solved for letters small k and t
The tested sequences are used in the following specification:
DIN SPEC 91379: Characters in Unicode for the electronic processing of names and dataexchange in Europe; with digital attachment
https://www.xoev.de/downloads-2316#StringLatin
https://www.din.de/de/wdc-beuth:din21:301228458
Character data
C̕k 0043 0315 LATIN CAPITAL LETTER C WITH COMBINING COMMA ABOVE RIGHT
K̕k 004B 0315 LATIN CAPITAL LETTER K WITH COMBINING COMMA ABOVE RIGHT
P̕k 0050 0315 LATIN CAPITAL LETTER P WITH COMBINING COMMA ABOVE RIGHT
c̕k 0063 0315 LATIN SMALL LETTER C WITH COMBINING COMMA ABOVE RIGHT
p̕k 0070 0315 LATIN SMALL LETTER P WITH COMBINING COMMA ABOVE RIGHT
Č̕k 010C 0315 LATIN CAPITAL LETTER C WITH CARON WITH COMBINING COMMA ABOVE RIGHT
č̕k 010D 0315 LATIN SMALL LETTER C WITH CARON WITH COMBINING COMMA ABOVE RIGHT
combining_comma_above_right.txt
The text was updated successfully, but these errors were encountered: