Skip to content

Commit

Permalink
Merge pull request #56 from khaledhosny/uvs
Browse files Browse the repository at this point in the history
Handle Unicode Variation Sequences using cmap to GSUB
  • Loading branch information
simoncozens authored Feb 22, 2024
2 parents e5272d5 + 3998656 commit 0571cfe
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 73 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
glyphsLib>=6.6.4
glyphsLib>=6.6.5
ufo2ft>=3.1.0
git+https://github.com/notofonts/notobuilder
drawbot-skia>=0.4.8
Expand Down
61 changes: 0 additions & 61 deletions sources/NotoSansMath.glyphspackage/fontinfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4230,67 +4230,6 @@ code = "lookup ccmp_Other_1 {
lookupflag UseMarkFilteringSet @CombiningTopAccents;
sub @ij' @CombiningTopAccents by @ijDotless;
} ccmp_Other_1;
# Unicode variant selector sets
sub Ascript-math VS1 by Ascript-math.uv001;
sub Bscript VS1 by Bscript.uv001;
sub Cscript-math VS1 by Cscript-math.uv001;
sub Dscript-math VS1 by Dscript-math.uv001;
sub emptyset VS1 by emptyset.uv001;
sub equals.circled VS1 by equals.circled.uv001;
sub smallerthanorequalto VS1 by smallerthanorequalto.uv001;
sub Escript VS1 by Escript.uv001;
sub Fscript VS1 by Fscript.uv001;
sub greaterequalorless VS1 by greaterequalorless.uv001;
sub greaterorequivalent VS1 by greaterorequivalent.uv001;
sub greaterthanbutnotequalto VS1 by greaterthanbutnotequalto.uv001;
sub Gscript-math VS1 by Gscript-math.uv001;
sub Hscript VS1 by Hscript.uv001;
sub interiorProduct VS1 by interiorProduct.uv001;
sub intersection VS1 by intersection.uv001;
sub Iscript VS1 by Iscript.uv001;
sub Jscript-math VS1 by Jscript-math.uv001;
sub Kscript-math VS1 by Kscript-math.uv001;
sub largerThanOrEqualTo VS1 by largerThanOrEqualTo.uv001;
sub lessequalorgreater VS1 by lessequalorgreater.uv001;
sub lessorequivalent VS1 by lessorequivalent.uv001;
sub lessthanbutnotequalto VS1 by lessthanbutnotequalto.uv001;
sub Lscript VS1 by Lscript.uv001;
sub Mscript VS1 by Mscript.uv001;
sub multiply.circled VS1 by multiply.circled.uv001;
sub Nscript-math VS1 by Nscript-math.uv001;
sub Oscript-math VS1 by Oscript-math.uv001;
sub plus.circled VS1 by plus.circled.uv001;
sub Pscript-math VS1 by Pscript-math.uv001;
sub Qscript-math VS1 by Qscript-math.uv001;
sub righthandInteriorProduct VS1 by righthandInteriorProduct.uv001;
sub Rscript VS1 by Rscript.uv001;
# There doesn't seem to be a UVS for setminus, and these substitutions are
# nonsensical. See #40.
#sub setminus VS1 by setminus.uv001;
#sub setminus VS1 by setminus.uv001.ssty1;
#sub setminus VS1 by setminus.uv001.ssty2;
sub similarOrGreaterThan VS1 by similarOrGreaterThan.uv001;
sub similarOrLessThan VS1 by similarOrLessThan.uv001;
sub squarecap VS1 by squarecap.uv001;
sub squarecup VS1 by squarecup.uv001;
sub Sscript-math VS1 by Sscript-math.uv001;
sub subsetnotequal VS1 by subsetnotequal.uv001;
sub subsetOfAboveNotEqualTo VS1 by subsetOfAboveNotEqualTo.uv001;
sub supersetnotequal VS1 by supersetnotequal.uv001;
sub supersetOfAboveNotEqualTo VS1 by supersetOfAboveNotEqualTo.uv001;
sub Tscript-math VS1 by Tscript-math.uv001;
sub union VS1 by union.uv001;
sub Uscript-math VS1 by Uscript-math.uv001;
sub Vscript-math VS1 by Vscript-math.uv001;
sub Wscript-math VS1 by Wscript-math.uv001;
sub Xscript-math VS1 by Xscript-math.uv001;
sub Yscript-math VS1 by Yscript-math.uv001;
sub zero VS1 by zero.uv001;
sub Zscript-math VS1 by Zscript-math.uv001;
";
tag = ccmp;
},
Expand Down
10 changes: 0 additions & 10 deletions sources/NotoSansMath.glyphspackage/glyphs/V_S_1.glyph

This file was deleted.

1 change: 0 additions & 1 deletion sources/NotoSansMath.glyphspackage/order.plist
Original file line number Diff line number Diff line change
Expand Up @@ -4262,7 +4262,6 @@ enclosingdiamondcomb,
enclosingsquarecomb,
enclosingupwardpointingtrianglecomb,
AnnuitySymbol,
VS1,
dieresiscomb,
dotaccentcomb,
gravecomb,
Expand Down

0 comments on commit 0571cfe

Please sign in to comment.