From af0055a98cc18e1d0f63b16145fde1e91cf13d8d Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Sat, 2 Feb 2019 16:29:03 -0800 Subject: [PATCH] improve r -> r.1 liga --- src/Inter.glyphs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Inter.glyphs b/src/Inter.glyphs index f1ee025ae..9a92f9853 100644 --- a/src/Inter.glyphs +++ b/src/Inter.glyphs @@ -2574,7 +2574,7 @@ name = cpsp; notes = "The first two numbers (16 and 0) are the x and y amounts by which a glyph is moved. The second pair of numbers (32 and 0) is the advance, meaning that the cursor will be placed 32 units further in this case. Effectively, this adds 16 units on each side (or 32 between all uppercase letters)"; }, { -code = "@f = [ # horizontal bar extending left\012 f fdotaccent\012 t tpalatalhook trthook tcurl tccurl tturn tbar tcommaaccent tcaron uni021B\012 tdotaccent tdotbelow tlinebelow tcircumflexbelow tdieresis\012 z zbar zhook uni0240 zrthook zacute zdotaccent zcaron zcircumflex zdotbelow\012 zlinebelow zcurl\012 pi tau\012 uni04FB kabashkircyrillic tecyrillic hardsigncyrillic tetsecyrillic\012];\012@n = [ # x-height vertical bar on left side\012 i idotless itildebelow uni1E2D.ccmp igrave iacute uni012F.ccmp iogonek\012 idotbelow uni1ECB.ccmp jdotless icyrillic ij\012 j jcrosstail.ccmp jcrosstail yotgreek jecyrillic\012 m mhook mturn mturndescend macute mdotaccent mdotbelow\012 n ntilde nrthook eng ncurl nlfthook nlegrightlong nacute ncommaaccent\012 ncaron uni01F9 ndotaccent ndotbelow nlinebelow ncircumflexbelow nj\012 r rrthook uni024D rdescend racute rcommaaccent rcaron rdblgrave\012 rinvertedbreve rdotaccent rdotbelow rdotbelowmacron rlinebelow r.1\012 rrthook.1 uni024D.1 rdescend.1 racute.1 rcommaaccent.1 rcaron.1 rdblgrave.1\012 rinvertedbreve.1 rdotaccent.1 rdotbelow.1 rdotbelowmacron.1 rlinebelow.1\012 u udieresis utilde uhorn micro ubar ugrave uacute ucircumflex umacron ubreve\012 uring uhungarumlaut uogonek ucaron udieresismacron udieresisacute\012 udieresiscaron udieresisgrave udblgrave uinvertedbreve udieresisbelow\012 utildebelow ucircumflexbelow utildeacute umacrondieresis udotbelow\012 uhookabove uhornacute uhorngrave uhornhookabove uhorntilde uhorndotbelow\012 eta etatonos uni1F20 uni1F21 uni1F22 uni1F23 uni1F24 uni1F25 uni1F26\012 uni1F27 uni1F74 uni1F90 uni1F91 uni1F92 uni1F93 uni1F94 uni1F95 uni1F96\012 uni1F97 uni1FC2 uni1FC3 uni1FC4 uni1FC6 uni1FC7\012 iota iotadieresistonos iotatonos iotadieresis uni1F30 uni1F31 uni1F32\012 uni1F33 uni1F34 uni1F35 uni1F36 uni1F37 uni1F76 uni1FD0 uni1FD1 uni1FD2\012 uni1FD6 uni1FD7\012 upsilon upsilondieresistonos upsilondieresis upsilontonos uni1F50 uni1F51\012 uni1F52 uni1F53 uni1F54 uni1F55 uni1F56 uni1F57 uni1F7A uni1FE0 uni1FE1\012 uni1FE2 uni1FE6 uni1FE7\012 psi\012 vecyrillic gecyrillic gheupturncyrillic iicyrillic uni048B kacyrillic\012 kahookcyrillic kadescendercyrillic kaverticalstrokecyrillic emcyrillic\012 uni04CE encyrillic endescendercyrillic enghecyrillic enhookcyrillic\012 uni04CA pecyrillic tsecyrillic dzhecyrillic shacyrillic shchacyrillic\012 softsigncyrillic yericyrillic njecyrillic iucyrillic ghemiddlehookcyrillic\012 pemiddlehookcyrillic\012];\012@v = [ # diagonal bar extending top left\012 v vtilde vdotbelow\012 w wdieresis wturn wcircumflex wgrave wacute wdotaccent wdotbelow wring\012 x xdotaccent xdieresis khacyrillic\012 y ydieresis yhook uni024F yacute ycircumflex uni0233 ydotaccent yring\012 ygrave ydotbelow yhookabove ytilde ucyrillic ushortcyrillic umacroncyrillic\012 udieresiscyrillic uhungarumlautcyrillic\012 gamma1\012 zhecyrillic zhedescendercyrillic uni04FD hadescendercyrillic\012 cheabkhasiancyrillic izhitsacyrillic\012\012];\012\012@one = [ one one.ss01 one.tf one.tf.ss01 ];\012@top_quote = [ quoteleft quoteright quotesingle quotedbl quotedblleft quotedblright ];\012\012@sups = [ a.sups b.sups c.sups d.sups e.sups f.sups g.sups h.sups i.sups j.sups k.sups l.sups m.sups n.sups o.sups p.sups q.sups r.sups s.sups t.sups u.sups v.sups w.sups x.sups y.sups z.sups zero.sups one.sups two.sups three.sups four.sups five.sups six.sups seven.sups eight.sups nine.sups parenleft.sups parenright.sups plus.sups minus.sups equal.sups zero.numr one.numr two.numr three.numr four.numr five.numr six.numr seven.numr eight.numr nine.numr plus.numr minus.numr equal.numr parenleft.numr parenright.numr zero.frac one.frac two.frac three.frac four.frac five.frac six.frac seven.frac eight.frac nine.frac ];\012\012@frac = [ onehalf onethird onequarter threequarters fivesixths onefraction seveneighths oneeighth fiveeighths threeeighths uni214D cadauna careof accountof addresssubject ];\012\012# Replace \"r\" with \"r.1\" when it preceeds glyphs with things\012# extending leftwards to the tail of the r.\012# This breaks the glyphs up better, increasing legibility.\012sub r' [ @f @n @v @one @top_quote @sups @frac kturn ] by r.1;\012"; +code = "@r_A = [\012 r\012 rrthook\012 uni024D\012 rdescend\012 racute\012 rcommaaccent\012 rcaron\012 rdblgrave\012 rinvertedbreve\012 rdotaccent\012 rdotbelow\012 rdotbelowmacron\012 rlinebelow\012];\012@r_B = [\012 r.1\012 rrthook.1\012 uni024D.1\012 rdescend.1\012 racute.1\012 rcommaaccent.1\012 rcaron.1\012 rdblgrave.1\012 rinvertedbreve.1\012 rdotaccent.1\012 rdotbelow.1\012 rdotbelowmacron.1\012 rlinebelow.1\012];\012@f = [ # horizontal bar extending left\012 f fdotaccent\012 t tpalatalhook trthook tcurl tccurl tturn tbar tcommaaccent tcaron uni021B\012 tdotaccent tdotbelow tlinebelow tcircumflexbelow tdieresis\012 z zbar zhook uni0240 zrthook zacute zdotaccent zcaron zcircumflex zdotbelow\012 zlinebelow zcurl\012 pi tau\012 uni04FB kabashkircyrillic tecyrillic hardsigncyrillic tetsecyrillic\012];\012@n = [ # x-height vertical bar on left side\012 i idotless itildebelow uni1E2D.ccmp igrave iacute uni012F.ccmp iogonek\012 idotbelow uni1ECB.ccmp jdotless icyrillic ij\012 j jcrosstail.ccmp jcrosstail yotgreek jecyrillic\012 m mhook mturn mturndescend macute mdotaccent mdotbelow\012 n ntilde nrthook eng ncurl nlfthook nlegrightlong nacute ncommaaccent\012 ncaron uni01F9 ndotaccent ndotbelow nlinebelow ncircumflexbelow nj\012 r rrthook uni024D rdescend racute rcommaaccent rcaron rdblgrave\012 rinvertedbreve rdotaccent rdotbelow rdotbelowmacron rlinebelow r.1\012 rrthook.1 uni024D.1 rdescend.1 racute.1 rcommaaccent.1 rcaron.1 rdblgrave.1\012 rinvertedbreve.1 rdotaccent.1 rdotbelow.1 rdotbelowmacron.1 rlinebelow.1\012 u udieresis utilde uhorn micro ubar ugrave uacute ucircumflex umacron ubreve\012 uring uhungarumlaut uogonek ucaron udieresismacron udieresisacute\012 udieresiscaron udieresisgrave udblgrave uinvertedbreve udieresisbelow\012 utildebelow ucircumflexbelow utildeacute umacrondieresis udotbelow\012 uhookabove uhornacute uhorngrave uhornhookabove uhorntilde uhorndotbelow\012 eta etatonos uni1F20 uni1F21 uni1F22 uni1F23 uni1F24 uni1F25 uni1F26\012 uni1F27 uni1F74 uni1F90 uni1F91 uni1F92 uni1F93 uni1F94 uni1F95 uni1F96\012 uni1F97 uni1FC2 uni1FC3 uni1FC4 uni1FC6 uni1FC7\012 iota iotadieresistonos iotatonos iotadieresis uni1F30 uni1F31 uni1F32\012 uni1F33 uni1F34 uni1F35 uni1F36 uni1F37 uni1F76 uni1FD0 uni1FD1 uni1FD2\012 uni1FD6 uni1FD7\012 upsilon upsilondieresistonos upsilondieresis upsilontonos uni1F50 uni1F51\012 uni1F52 uni1F53 uni1F54 uni1F55 uni1F56 uni1F57 uni1F7A uni1FE0 uni1FE1\012 uni1FE2 uni1FE6 uni1FE7\012 psi\012 vecyrillic gecyrillic gheupturncyrillic iicyrillic uni048B kacyrillic\012 kahookcyrillic kadescendercyrillic kaverticalstrokecyrillic emcyrillic\012 uni04CE encyrillic endescendercyrillic enghecyrillic enhookcyrillic\012 uni04CA pecyrillic tsecyrillic dzhecyrillic shacyrillic shchacyrillic\012 softsigncyrillic yericyrillic njecyrillic iucyrillic ghemiddlehookcyrillic\012 pemiddlehookcyrillic\012];\012@v = [ # diagonal bar extending top left\012 v vtilde vdotbelow\012 w wdieresis wturn wcircumflex wgrave wacute wdotaccent wdotbelow wring\012 x xdotaccent xdieresis khacyrillic\012 y ydieresis yhook uni024F yacute ycircumflex uni0233 ydotaccent yring\012 ygrave ydotbelow yhookabove ytilde ucyrillic ushortcyrillic umacroncyrillic\012 udieresiscyrillic uhungarumlautcyrillic\012 gamma1\012 zhecyrillic zhedescendercyrillic uni04FD hadescendercyrillic\012 cheabkhasiancyrillic izhitsacyrillic\012];\012\012@one = [ one one.ss01 one.tf one.tf.ss01 ];\012@top_quote = [ quoteleft quoteright quotesingle quotedbl quotedblleft quotedblright ];\012\012@sups = [ a.sups b.sups c.sups d.sups e.sups f.sups g.sups h.sups i.sups j.sups k.sups l.sups m.sups n.sups o.sups p.sups q.sups r.sups s.sups t.sups u.sups v.sups w.sups x.sups y.sups z.sups zero.sups one.sups two.sups three.sups four.sups five.sups six.sups seven.sups eight.sups nine.sups parenleft.sups parenright.sups plus.sups minus.sups equal.sups zero.numr one.numr two.numr three.numr four.numr five.numr six.numr seven.numr eight.numr nine.numr plus.numr minus.numr equal.numr parenleft.numr parenright.numr zero.frac one.frac two.frac three.frac four.frac five.frac six.frac seven.frac eight.frac nine.frac ];\012\012@frac = [ onehalf onethird onequarter threequarters fivesixths onefraction seveneighths oneeighth fiveeighths threeeighths uni214D cadauna careof accountof addresssubject ];\012\012# Replace \"r\" with \"r.1\" when it preceeds glyphs with things\012# extending leftwards to the tail of the r.\012# This breaks the glyphs up better, increasing legibility.\012sub @r_A' [ @f @n @v @one @top_quote @sups @frac kturn ] by @r_B;\012"; name = liga; }, {