Change shape of Peseta sign to P with crossbar (#451).

This commit is contained in:
be5invis 2020-06-20 22:56:50 -07:00
parent 45da396f33
commit 2aee8924f1
3 changed files with 10 additions and 1 deletions

1
changes/3.3.0.md Normal file
View file

@ -0,0 +1 @@
* Change shape of Peseta sign to `P` with crossbar (#451).

View file

@ -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' }

View file

@ -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