Skip to content

Commit

Permalink
* Add toothed and motion-serifed U (#811).
Browse files Browse the repository at this point in the history
 * Add motion-serifed toothless `u` (#813).
  • Loading branch information
be5invis committed Jan 23, 2021
1 parent a144647 commit 1b3157b
Show file tree
Hide file tree
Showing 13 changed files with 326 additions and 230 deletions.
2 changes: 2 additions & 0 deletions changes/5.0.0-beta.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* Add open-contour variants of `P` and `R` (#810).
* Add symmetric-legged variants of `K` and `k` (#807).
* Add standing variants of `R` (#810).
* Add toothed and motion-serifed `U` (#811).
* Add motion-serifed toothless `u` (#813).
* Fix broken geometry of `K` and `%` under ultra-wide (#800).
* Add straight-bar AE (`Æ`), follows variant selector for `A` (#800).
* Refine the shape of Slab `S` and `s` to add serifs at both terminals (#800).
Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/greek/lower-mu.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ glyph-module
glyph-block Letter-Greek-Lower-Mu : begin
glyph-block-import CommonShapes
glyph-block-import Common-Derivatives
glyph-block-import Letter-Latin-Lower-U
glyph-block-import Letter-Latin-U

with-related-glyphs 'grek/mu' 0x3BC 'u' : lambda [src sel] : glyph-proc
include : MarkSet.p
Expand Down
3 changes: 1 addition & 2 deletions font-src/glyphs/letter/latin.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export : define [apply] : begin
run-glyph-module './latin/s.js'
run-glyph-module './latin/upper-t.js'
run-glyph-module './latin/lower-t.js'
run-glyph-module './latin/upper-u.js'
run-glyph-module './latin/lower-u.js'
run-glyph-module './latin/u.js'
run-glyph-module './latin/v.js'
run-glyph-module './latin/w.js'
run-glyph-module './latin/x.js'
Expand Down
14 changes: 6 additions & 8 deletions font-src/glyphs/letter/latin/lower-f.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,12 @@ glyph-block Letter-Latin-Lower-F : begin
include : NarrowFShape dfNarrowF [mix 1 dfNarrowF.div 2] XH 2

create-glyph 'f.flatHookDiagonalTailed' : glyph-proc
set-width dfNarrowF.width
include : dfNarrowF.markSet.if
include : NarrowFShape dfNarrowF [mix 1 dfNarrowF.div 2] fbar 3
include : MarkSet.if
include : NarrowFShape [DivFrame 1] 1 fbar 3

create-glyph 'f.flatHookDiagonalTailedCrossbarAtXHeight' : glyph-proc
set-width dfNarrowF.width
include : dfNarrowF.markSet.if
include : NarrowFShape dfNarrowF [mix 1 dfNarrowF.div 2] XH 3
include : MarkSet.if
include : NarrowFShape [DivFrame 1] 1 XH 3

select-variant 'f' 'f'
alias 'lenisf' 0xAB35 'f.serifless'
Expand All @@ -320,8 +318,8 @@ glyph-block Letter-Latin-Lower-F : begin
turned 'turnf.flatHookCrossbarAtXHeight' nothing 'f.flatHookCrossbarAtXHeight' dfNarrowF.middle (XH / 2) [dfNarrowF.markSet.p]
turned 'turnf.flatHookSerifedCrossbarAtXHeight' nothing 'f.flatHookSerifedCrossbarAtXHeight' dfNarrowF.middle (XH / 2) [dfNarrowF.markSet.p]
turned 'turnf.flatHookTailedCrossbarAtXHeight' nothing 'f.flatHookTailedCrossbarAtXHeight' dfNarrowF.middle [mix Descender CAP 0.5] [dfNarrowF.markSet.if]
turned 'turnf.flatHookDiagonalTailedCrossbarAtXHeight' nothing 'f.flatHookDiagonalTailedCrossbarAtXHeight' dfNarrowF.middle [mix Descender CAP 0.5] [dfNarrowF.markSet.if]
turned 'turnf.flatHookExtendedCrossbarAtXHeight' nothing 'f.flatHookExtendedCrossbarAtXHeight' dfNarrowF.middle [mix Descender CAP 0.5] [dfNarrowF.markSet.if]
turned 'turnf.flatHookDiagonalTailedCrossbarAtXHeight' nothing 'f.flatHookDiagonalTailedCrossbarAtXHeight' Middle [mix Descender CAP 0.5] [MarkSet.if]
turned 'turnf.flatHookExtendedCrossbarAtXHeight' nothing 'f.flatHookExtendedCrossbarAtXHeight' Middle [mix Descender CAP 0.5] [MarkSet.if]
select-variant 'turnf' 0x25F (follow -- 'f')

glyph-block-import Letter-Blackboard : BBS BBD
Expand Down
12 changes: 7 additions & 5 deletions font-src/glyphs/letter/latin/lower-j.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ glyph-block Letter-Latin-Lower-J : begin
Dotless.set currentGlyph 'mathbb/dotlessj'

create-glyph 'dotlessj.straightLine' : glyph-proc
include : MarkSet.p
include : VBar Middle Descender XH
local df : DivFrame para.diversityII
set-width df.width
include : df.markSet.p
include : VBar df.middle Descender XH

create-glyph 'dotlessj.serifed' : glyph-proc
include : MarkSet.p
Expand All @@ -85,7 +87,7 @@ glyph-block Letter-Latin-Lower-J : begin
set-base-anchor 'overlay' barCenter (XH / 2)

create-glyph 'dotlessj.flatHookSerifless' : glyph-proc
local df : DivFrame para.diversityII
local df : DivFrame para.diversityI
set-width df.width
include : df.markSet.p
include : FlatHookDotlessJShape df
Expand Down Expand Up @@ -115,7 +117,7 @@ glyph-block Letter-Latin-Lower-J : begin
set-base-anchor 'overlay' barCenter (XH / 2)

create-glyph 'dotlessj.diagonalTailedSerifless' : glyph-proc
local df : DivFrame para.diversityII
local df : DivFrame para.diversityI
set-width df.width
include : df.markSet.p
include : DiagTailDotlessJShape df
Expand All @@ -125,7 +127,7 @@ glyph-block Letter-Latin-Lower-J : begin
serif -- false

create-glyph 'dotlessj.diagonalTailedSerifed' : glyph-proc
local df : DivFrame para.diversityII
local df : DivFrame para.diversityI
set-width df.width
include : df.markSet.p
include : DiagTailDotlessJShape df
Expand Down
4 changes: 2 additions & 2 deletions font-src/glyphs/letter/latin/lower-n.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ glyph-block Letter-Latin-Lower-N : begin
glyph-block-import CommonShapes
glyph-block-import Common-Derivatives
glyph-block-import Marks : markHalfStroke
glyph-block-import Letter-Shared-Shapes : RightwardTailedBar CurlyTail nShoulder nShoulderKnots nShoulderMask
glyph-block-import Letter-Shared-Shapes : DToothlessRise DMBlend
glyph-block-import Letter-Shared-Shapes : CurlyTail nShoulder nShoulderKnots nShoulderMask
glyph-block-import Letter-Shared-Shapes : RightwardTailedBar DToothlessRise DMBlend

define [NTopLeftSerif] : tagged 'serifLT' : LeftwardTopSerif SB XH SideJut
define [NBottomLeftSerif] : if (!para.isItalic)
Expand Down
136 changes: 0 additions & 136 deletions font-src/glyphs/letter/latin/lower-u.ptl

This file was deleted.

0 comments on commit 1b3157b

Please sign in to comment.