diff --git a/changes/3.3.0.md b/changes/3.3.0.md new file mode 100644 index 000000000..eb2887670 --- /dev/null +++ b/changes/3.3.0.md @@ -0,0 +1 @@ + * Change shape of Peseta sign to `P` with crossbar (#451). \ No newline at end of file diff --git a/glyphs/autobuild-composite.ptl b/glyphs/autobuild-composite.ptl index b84297408..0f73499f2 100644 --- a/glyphs/autobuild-composite.ptl +++ b/glyphs/autobuild-composite.ptl @@ -858,7 +858,6 @@ glyph-block Autobuild-Ligatures : begin list 0x1F3 { 'd' 'z' } list 0x478 { 'O' 'y' } list 0x479 { 'o' 'y' } - list 0x20A7 { 'P' 's' } list 0x20A8 { 'R' 's' } list 0x20AF { 'D' 'rho' } list 0x203c { 'exclam' 'exclam' } diff --git a/glyphs/letter-latin.ptl b/glyphs/letter-latin.ptl index 89aafffe8..2e705c30a 100644 --- a/glyphs/letter-latin.ptl +++ b/glyphs/letter-latin.ptl @@ -2541,6 +2541,15 @@ glyph-block Letter-Latin-Upper-P : begin save 'Phookleft' 0x1A4 + create-glyph 'symbol/currency/pesetaSign' 0x20A7 : glyph-construction + set-width Width + include MarkSet.capital + include : PShape CAP (mul -- 2) (overshoot -- 0) + if SLAB : include : RightwardBottomSerif (SB * 2 + HalfStroke * HVContrast) 0 MidJutSide + include : Translate (-SB * 0.5) 0 + define sw : adviceBlackness2 2 4 CAP + include : HBar [mix 0 SB 0.5] [mix Width RightSB 0.5] [mix CAP [PBarPosY CAP Stroke PShape.BarPos] 0.5] sw + create-glyph 'symbol/currency/rubleSign' 0x20BD : glyph-construction include [refer-glyph 'P'] AS_BASE ALSO_METRICS define bar1pos : [PBarPosY CAP Stroke PShape.BarPos] + HalfStroke