* Add characters:

- LATIN CAPITAL LETTER P WITH STROKE (`U+2C63`);
  - LATIN CAPITAL LETTER R WITH TAIL (`U+2C64`);
  - LATIN SMALL LETTER A WITH STROKE (`U+2C65`);
  - LATIN SMALL LETTER T WITH DIAGONAL STROKE (`U+2C66`);
  - LATIN CAPITAL LETTER M WITH HOOK (`U+2C6E`);
This commit is contained in:
be5invis 2022-11-26 20:11:00 -08:00
parent fd4702a0a6
commit f5ffe70188
5 changed files with 29 additions and 1 deletions

6
changes/16.6.0.md Normal file
View file

@ -0,0 +1,6 @@
* Add characters:
- LATIN CAPITAL LETTER P WITH STROKE (`U+2C63`);
- LATIN CAPITAL LETTER R WITH TAIL (`U+2C64`);
- LATIN SMALL LETTER A WITH STROKE (`U+2C65`);
- LATIN SMALL LETTER T WITH DIAGONAL STROKE (`U+2C66`);
- LATIN CAPITAL LETTER M WITH HOOK (`U+2C6E`);

View file

@ -103,6 +103,14 @@ glyph-block Letter-Latin-Upper-M : begin
include : df.markSet.capital
include : MShape CAP df form slab slanted
create-glyph "MLTail.\(suffix)" : glyph-proc
local df : DivFrame para.diversityM 3
set-width df.width
include : df.markSet.if
include : MShape CAP df form slab slanted
eject-contour 'serifRB'
include : VerticalHook (df.rightSB - df.mvs / 2 * HVContrast) 0 (-HookX) Hook df.mvs
create-glyph "smcpM.\(suffix)" : glyph-proc
local df : DivFrame para.diversityM 3
set-width df.width
@ -117,6 +125,7 @@ glyph-block Letter-Latin-Upper-M : begin
select-variant 'M' 'M'
link-reduced-variant 'M/sansSerif' 'M' MathSansSerif
select-variant 'MLTail' 0x2C6E (follow -- 'M')
select-variant 'smcpM' 0x1D0D (follow -- 'M')
select-variant 'cyrl/em' 0x43C (shapeFrom -- 'smcpM')
alias 'grek/Mu' 0x39C 'M'

View file

@ -184,6 +184,9 @@ glyph-block Letter-Latin-Upper-P : begin
flat [mix SB RightSB 0.5] (yBowl + XH * 0.25)
curl [mix SB RightSB 0.875] (yBowl - XH * 0.25)
derive-glyphs 'PBar' 0x2C63 'P' : lambda [src gr] : glyph-proc
include [refer-glyph src] AS_BASE ALSO_METRICS
include : HBar [mix 0 SB 0.3] [mix SB RightSB 0.5] (CAP * [mix PShape.BarPos 1 0.5] - Stroke * 0.25)
define [BBPShape] : params [[mul PShape.defaultMul] [overshoot PShape.defaultOvershoot]] : glyph-proc
define sb : SB * mul

View file

@ -256,10 +256,17 @@ glyph-block Letter-Latin-Upper-R : begin
select-variant 'currency/indianRupeeSign' 0x20B9 (follow -- 'RRotunda')
derive-glyphs 'Rbar' 0x24C 'R' : lambda [src gr] : glyph-proc
derive-glyphs 'RBar' 0x24C 'R' : lambda [src gr] : glyph-proc
include [refer-glyph src] AS_BASE ALSO_METRICS
include : HBar [mix 0 SB 0.3] (SB - O) ((CAP - Stroke) * [RBarPos CAP SLAB] + Stroke * 0.25)
derive-glyphs 'RRTail' 0x2C64 'R' : lambda [src gr] : glyph-proc
include : MarkSet.if
include : ROverlayAnchor
include [refer-glyph src]
eject-contour 'serifLB'
include : new-glyph : WithTransform [ApparentTranslate (SB + Stroke * HVContrast) 0] : refer-glyph "rtailBR"
create-glyph 'mathbb/R' 0x211D : glyph-proc
define [SingleLeg] : RLegShape-Straight ((CAP - BBS) * HBarPos) 0 Middle (RightSB - O) CAP false BBS (BBD / 2)
define terminalX : RLegTerminalX LEG-SHAPE-STRAIGHT (RightSB - O) BBS

View file

@ -96,6 +96,9 @@ export : define decompositionOverrides : object
."\u1EE2" "\u01A0\u0323"
."\u1EE3" "\u01A1\u0323"
."\u2C65" "a\u0337"
."\u2C66" "t\u0338"
# Cyrillic composite characters
."\u0498" "\u0417\u0327"
."\u0499" "\u0437\u0327"