Closed GoogleCodeExporter closed 8 years ago
FYI: harfbuzz uses cmap format 14 first before falling back to GSUB.
Original comment by jungs...@google.com
on 3 Jun 2015 at 5:54
Another FYI: Unicode 5.0 (perhaps earlier) has the variants defined for math
operators in the bug :
http://www.unicode.org/Public/5.0.0/ucd/StandardizedVariants.html
Original comment by jungs...@google.com
on 3 Jun 2015 at 6:00
Thinking ahead to the implementation, I would like to clarify some details. In
a run of text, the occurrence of a variation selector after a candidate
character is a direct request to choose a specific form of the character if
that form is included in the font. If this glyph-selection is not present in
the cmap, then it should be included in the substitution table. Behdad's
comment above (... before falling back to GSUB) might imply that the OpenType
interpreter needs to search the GSUB for an appropriate rule to carry out. I
would think that selecting a variant form should either be implemented through
the cmap or through substitution, but not both. The simplest way to implement
such a selection in substitution is a mandatory ligature (U+ABCD + VSn ->
U+ABCD.alt_n). Comments please.
Original comment by kamal.ma...@gtempaccount.com
on 8 Jun 2015 at 6:11
cc @roozbehp @kmansourMT @behdad
Yes, for everything other than the Mongolian variation selectors, cmap 14 is required.
PhagsPa also uses GSUB to implement variants.
This is fixed with NotoSansSymbols v1.07.
On my system pango-view doesn't do the substitution, but hb-view works fine-- I'm not set up properly. So I used hb-view on some characters and looked at the variation selector cmap.
Original issue reported on code.google.com by
roozbeh@google.com
on 2 Apr 2015 at 12:16