A few ligatures (ao uo oo) (#1612)

* a few easy ligatures

* crap upstream changed

* undoing stuff

* ughhhhh

* ughhhhh
This commit is contained in:
Logo 2023-03-19 07:16:38 +08:00 committed by GitHub
parent c6e045add8
commit 09aa1a9495
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 54 additions and 1 deletions

8
changes/21.1.1.md Normal file
View file

@ -0,0 +1,8 @@
* Add Characters
- COMBINING LATIN SMALL LETTER AO (`U+1DD5`).
- CYRILLIC CAPITAL LETTER DOUBLE O (`U+A698`).
- CYRILLIC SMALL LETTER DOUBLE O (`U+A699`).
- LATIN SMALL LETTER AO (`U+A735`).
- LATIN CAPITAL LETTER OO (`U+A74E`).
- LATIN SMALL LETTER OO (`U+A74F`).
- LATIN SMALL LETTER UO (`U+AB63`).

View file

@ -558,6 +558,7 @@ glyph-block Autobuild-Transformed : begin
list 0x36E 'v'
list 0x36F 'x'
list 0x1DD4 'ae'
list 0x1DD5 'ao'
list 0x1DD8 'cyrl/de.italic'
list 0x1DDB 'smcpG'
list 0x1DDE 'smcpL'

View file

@ -182,3 +182,33 @@ glyph-block Letter-Latin-Lower-AE-OE : begin
include : VBar.m df.middle Descender 0 df.mvs
if SLAB : begin
include : HSerif.mb df.middle Descender Jut
define [aoOPart df] : glyph-proc
local oLeft : df.middle - df.mvs / 2 * HVContrast
local { ada adb } : GetSm df df.mvs
include : OShape XH 0 (oLeft - OX) (df.rightSB - OX) df.mvs ada adb
create-glyph 'ao' 0xA735 : glyph-proc
local df : DivFrame para.diversityM 3
set-width df.width
include : df.markSet.e
include : aeAPart df
include : aoOPart df
create-glyph 'oo' 0xA74F : glyph-proc
local df : DivFrame para.diversityM 3
set-width df.width
include : df.markSet.e
include : oeOPart df
include : aoOPart df
alias 'cyrl/oo' 0xA699 'oo'
create-glyph "uo/o" : glyph-proc
local df : DivFrame para.diversityM 3
set-width 0
set-mark-anchor 'cvDecompose' 0 0
include : aoOPart df
derive-composites 'uo' 0xAB63 'ue/u' 'uo/o'

View file

@ -210,3 +210,17 @@ glyph-block Letter-Latin-Upper-AE-OE : begin
select-variant 'OE' 0x152 (follow -- 'AE/EHalf')
select-variant 'smcpOE' 0x276 (follow -- 'AE/EHalf')
create-glyph 'OO' 0xA74E : glyph-proc
local df : DivFrame para.diversityM 3
set-width df.width
include : df.markSet.capital
local abarRight : df.middle + df.mvs / 2 * HVContrast
local ada : ArchDepthAOf [Math.max (df.mvs * 1.125) (SmallArchDepth * 0.6 * df.div)] (0.5 * Width * df.div)
local adb : ArchDepthBOf [Math.max (df.mvs * 1.125) (SmallArchDepth * 0.6 * df.div)] (0.5 * Width * df.div)
include : OShape CAP 0 (df.leftSB + OX) (abarRight + OX) df.mvs ada adb
include : FlipAround (df.width / 2) (CAP / 2)
include : OShape CAP 0 (df.leftSB + OX) (abarRight + OX) df.mvs ada adb
alias 'cyrl/OO' 0xA698 'OO'

View file

@ -8,7 +8,7 @@ export async function collectBlockData() {
[[0x10780, 0x107bf], "Latin Extended-F"],
[[0x1df00, 0x1dfff], "Latin Extended-G"],
[[0x1e030, 0x1e08f], "Cyrillic Extended-D"],
[[0x1fa70, 0x1faff], "Symbols and Pictographs Extended-A "],
[[0x1fa70, 0x1faff], "Symbols and Pictographs Extended-A"],
[[0x1fb00, 0x1fbff], "Symbols for Legacy Computing"]
];