Skip to content

Commit

Permalink
Fix italic GPOS
Browse files Browse the repository at this point in the history
  • Loading branch information
sungsit committed Dec 1, 2015
1 parent d4bd94b commit 33a81fe
Show file tree
Hide file tree
Showing 18 changed files with 14 additions and 14 deletions.
Binary file modified fonts/otf/Vain-Italic.otf
Binary file not shown.
Binary file modified fonts/otf/Vain-Mon-Italic.otf
Binary file not shown.
Binary file modified fonts/otf/Vain-Mon.otf
Binary file not shown.
Binary file modified fonts/otf/Vain.otf
Binary file not shown.
Binary file modified fonts/ttf/Vain-Italic.ttf
Binary file not shown.
Binary file modified fonts/ttf/Vain-Mon-Italic.ttf
Binary file not shown.
Binary file modified fonts/ttf/Vain-Mon.ttf
Binary file not shown.
Binary file modified fonts/ttf/Vain.ttf
Binary file not shown.
Binary file modified fonts/woff/Vain-Italic.woff
Binary file not shown.
Binary file modified fonts/woff/Vain-Mon-Italic.woff
Binary file not shown.
Binary file modified fonts/woff/Vain-Mon.woff
Binary file not shown.
Binary file modified fonts/woff/Vain.woff
Binary file not shown.
Binary file modified fonts/woff2/Vain-Italic.woff2
Binary file not shown.
Binary file modified fonts/woff2/Vain-Mon-Italic.woff2
Binary file not shown.
Binary file modified fonts/woff2/Vain-Mon.woff2
Binary file not shown.
Binary file modified fonts/woff2/Vain.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
sources = ['sources/vain-roman.sfd','sources/vain-italic.sfd']
layers = ['Normal', 'Mon']
copyright = 'Copyright 2015, Sungsit Sawaiwan (https://fontuni.com | uni@fontuni.com). This Font Software is licensed under the SIL Open Font License, Version 1.1 (http://scripts.sil.org/OFL).'
features = ['vain-roman', 'vain-roman']
features = ['vain-roman', 'vain-italic']
feature_dir = 'sources/'

build_dir = 'fonts/'
Expand Down
26 changes: 13 additions & 13 deletions sources/features/italic.gpos.fea
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ languagesystem lao dflt;

lookup blw.mark {
lookupflag 0;
markClass [ \comb.blw ] <anchor -60 0> @blw.mark;
pos base [ \cap \cap.abv \cap.abv.abv \small \small.abv \small.abv.abv ] <anchor 600 0> mark @blw.mark;
pos base [ \cap.blw \cap.blw.abv \cap.desc \small.blw \small.blw.abv \small.desc \small.desc.abv ] <anchor 562 -240> mark @blw.mark;
markClass [\comb.blw ] <anchor -60 0> @blw.mark;
pos base [\cap \cap.abv \cap.abv.abv \small \small.abv \small.abv.abv ] <anchor 600 0> mark @blw.mark;
pos base [\cap.blw \cap.blw.abv \cap.desc \small.blw \small.blw.abv \small.desc \small.desc.abv ] <anchor 562 -240> mark @blw.mark;
} blw.mark;

lookup abv.mark {
lookupflag 0;
markClass [ \comb.abv \comb.abv.abv ] <anchor -60 0> @abv.mark;
pos base [ \cap.abv.abv ] <anchor 714 720> mark @abv.mark;
pos base [ \cap.abv \cap.blw.abv \small.abv.abv ] <anchor 676 480> mark @abv.mark;
pos base [ \cap \cap.desc \cap.blw \small.asc \small.abv \small.blw.abv \small.desc.abv ] <anchor 638 240> mark @abv.mark;
pos base [ \small \small.blw \small.desc ] <anchor 600 0> mark @abv.mark;
markClass [\comb.abv \comb.abv.abv ] <anchor -60 0> @abv.mark;
pos base [\cap \cap.blw \cap.desc \small.blw.abv \small.abv \small.desc.abv \small.asc ] <anchor 638 240> mark @abv.mark;
pos base [\cap.blw.abv \cap.abv \small.abv.abv ] <anchor 676 480> mark @abv.mark;
pos base [\cap.abv.abv ] <anchor 714 720> mark @abv.mark;
pos base [\small \small.blw \small.desc ] <anchor 600 0> mark @abv.mark;
} abv.mark;

feature mark {
Expand All @@ -26,15 +26,15 @@ feature mark {

lookup blw.mkmk {
lookupflag 0;
markClass [ \comb.blw ] <anchor -60 0> @blw.mkmk;
pos mark [ \comb.blw ] <anchor -98 -240> mark @blw.mkmk;
markClass [\comb.blw ] <anchor -60 0> @blw.mkmk;
pos mark [\comb.blw ] <anchor -98 -240> mark @blw.mkmk;
} blw.mkmk;

lookup abv.mkmk {
lookupflag 0;
markClass [ \comb.abv \comb.abv.abv ] <anchor -60 0> @abv.mkmk;
pos mark [ \comb.abv ] <anchor -22 240> mark @abv.mkmk;
pos mark [ \comb.abv.abv ] <anchor 16 480> mark @abv.mkmk;
markClass [\comb.abv \comb.abv.abv ] <anchor -60 0> @abv.mkmk;
pos mark [\comb.abv ] <anchor -22 240> mark @abv.mkmk;
pos mark [\comb.abv.abv ] <anchor 16 480> mark @abv.mkmk;
} abv.mkmk;

feature mkmk {
Expand Down

0 comments on commit 33a81fe

Please sign in to comment.