diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-12-30 03:44:19 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-12-30 03:44:19 +0300 |
commit | b82b74e5447fc875796497d70b82c251f09a08d1 (patch) | |
tree | 3e6ebd50ed19e5c120bc13da5e20a6dd6b0717e6 /misc | |
parent | 7232fc76594b0be801a6d7a3e9018175a28c6a41 (diff) | |
download | inter-b82b74e5447fc875796497d70b82c251f09a08d1.tar.xz |
more progress on light weight. currencies etc
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gen-dnom.txt | 50 | ||||
-rw-r--r-- | misc/gen-sups-glyph-mapping.txt | 41 | ||||
-rw-r--r-- | misc/gen-sups-rmx-scaler-values.txt | 187 |
3 files changed, 278 insertions, 0 deletions
diff --git a/misc/gen-dnom.txt b/misc/gen-dnom.txt new file mode 100644 index 000000000..de65b3d5c --- /dev/null +++ b/misc/gen-dnom.txt @@ -0,0 +1,50 @@ + +Step 1: Select the following glyphs (component masters): + + zero.dnomf – nine.dnomf + +Open RMX Scaler and generate from source with the following values: + + +{ + "width" : [ 60, 60, 60, 60, 60, 60 ], + "weight" : [ + 0, 0, + -60, -60, + -370, -370 + ], + "height" : [ 53.15, 53.15, 53.15, 53.15, 53.15, 53.15 ] +} + + +----------------------------------------------------------------------------- + +Step 2: Select the following glyphs (component masters): + + plus.numr minus.numr equal.numr parenleft.numr parenright.numr + +Open RMX Scaler and generate from source with the following values: + + +{ + "width" : [ 60, 60, 60, 60, 60, 60 ], + "weight" : [ + 0, 0, + -60, -60, + -370, -370 + ], + "height" : [ 53.15, 53.15, 53.15, 53.15, 53.15, 53.15 ], + "verticalShift" : [ 1128, 1128, 1128, 1128, 1128, 1128 ] +} + + +----------------------------------------------------------------------------- + +Step 3: Adjust X offset for slanted glyphs + +For each slanted master: + +1. Select all .subs glyphs +2. Open Filter > Transformations +3. Set Translate X = 150 (and all other values to neutral) +4. Apply diff --git a/misc/gen-sups-glyph-mapping.txt b/misc/gen-sups-glyph-mapping.txt new file mode 100644 index 000000000..b8f6618a6 --- /dev/null +++ b/misc/gen-sups-glyph-mapping.txt @@ -0,0 +1,41 @@ +a=a.sups +b=b.sups +c=c.sups +d=d.sups +e=e.sups +f=f.sups +g=g.sups +h=h.sups +i=i.sups +j=j.sups +k=k.sups +l=l.sups +m=m.sups +n=n.sups +o=o.sups +p=p.sups +q=q.sups +r=r.sups +s=s.sups +t=t.sups +u=u.sups +v=v.sups +w=w.sups +x=x.sups +y=y.sups +z=z.sups +zero=zero.sups +one=one.sups +two=two.sups +three=three.sups +four=four.sups +five=five.sups +six=six.sups +seven=seven.sups +eight=eight.sups +nine=nine.sups +parenleft=parenleft.sups +parenright=parenright.sups +plus=plus.sups +minus=minus.sups +equal=equal.sups diff --git a/misc/gen-sups-rmx-scaler-values.txt b/misc/gen-sups-rmx-scaler-values.txt new file mode 100644 index 000000000..227bbefaa --- /dev/null +++ b/misc/gen-sups-rmx-scaler-values.txt @@ -0,0 +1,187 @@ +How to generate superscript and subscript glyphs + +There are 3 steps + +============================================================================= +Step 1: Add Glyphs +----------------------------------------------------------------------------- + +If these glyphs already exist, you can skip this step. + +a=a.sups +b=b.sups +c=c.sups +d=d.sups +e=e.sups +f=f.sups +g=g.sups +h=h.sups +i=i.sups +j=j.sups +k=k.sups +l=l.sups +m=m.sups +n=n.sups +o=o.sups +p=p.sups +q=q.sups +r=r.sups +s=s.sups +t=t.sups +u=u.sups +v=v.sups +w=w.sups +x=x.sups +y=y.sups +z=z.sups +zero=zero.sups +one=one.sups +two=two.sups +three=three.sups +four=four.sups +five=five.sups +six=six.sups +seven=seven.sups +eight=eight.sups +nine=nine.sups +parenleft=parenleft.sups +parenright=parenright.sups +plus=plus.sups +minus=minus.sups +equal=equal.sups + +============================================================================= +Step 2: Generate & transform with RMX Scaler +----------------------------------------------------------------------------- + +Make sure "Scale Sidebearings" is enabled in RMX Scaler. +Note that a-z(), 0-9 and +-= are scaled separately. + +Start in the "Font" view in Glyphs (the tab with an overview of all glyphs) +and multiselect each set (e.g. "a-z()") then invoke the RMX Scaler. + +----------------------------------------------------------------------------- +a-z, "(" and ")" + +{ + "width" : [ + 66.6, + 66.6, + 66.6, + 66.6, + 66.6, + 66.6 + ], + "weight" : [ + 0, + 0, + -50, + -50, + -300, + -300 + ], + "height" : [ + 66.6, + 66.6, + 66.6, + 66.6, + 66.6, + 66.6 + ], + "verticalShift" : [ + 1024, + 1024, + 1024, + 1024, + 1024, + 1024 + ] +} + +----------------------------------------------------------------------------- +0-9 + +{ + "width" : [ + 66.6, + 66.6, + 66.6, + 66.6, + 66.6, + 66.6 + ], + "weight" : [ + 0, + 0, + -50, + -50, + -300, + -300 + ], + "height" : [ + 60, + 60, + 60, + 60, + 60, + 60 + ], + "verticalShift" : [ + 1024, + 1024, + 1024, + 1024, + 1024, + 1024 + ] +} + +----------------------------------------------------------------------------- +"+", "-" and "=" + +{ + "width" : [ + 66.6, + 66.6, + 66.6, + 66.6, + 66.6, + 66.6 + ], + "weight" : [ + 0, + 0, + -50, + -50, + -300, + -300 + ], + "height" : [ + 63, + 63, + 63, + 63, + 63, + 63 + ], + "verticalShift" : [ + 1024, + 1024, + 1024, + 1024, + 1024, + 1024 + ] +} + + +============================================================================= +Step 3: Adjust X offset for slanted glyphs +----------------------------------------------------------------------------- + +For each slanted master: + +1. Select all .subs glyphs +2. Open Filter > Transformations +3. Set Translate X = 126 (and all other values to neutral) +4. Apply |