synchronize => ligatures' bar wideess with equal sign
This commit is contained in:
parent
d1024b9c41
commit
c9ee343175
|
@ -3,6 +3,7 @@ $$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import 'unorm' as unorm
|
import 'unorm' as unorm
|
||||||
import [mix linreg clamp fallback suggestGC] from '../support/utils'
|
import [mix linreg clamp fallback suggestGC] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
define customDecompositions : object
|
define customDecompositions : object
|
||||||
# Latvians use comma instead of cedillas in several letters.
|
# Latvians use comma instead of cedillas in several letters.
|
||||||
|
|
|
@ -4,6 +4,7 @@ import '../support/transform' as : Transform && [object [transformPoint tp] [unt
|
||||||
import '../support/fairify' as fairify
|
import '../support/fairify' as fairify
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry
|
glyph-module-entry
|
||||||
|
|
|
@ -6,6 +6,7 @@ $$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import '../support/transform' as : Transform && [object [transformPoint tp] [untransform utp] inverse]
|
import '../support/transform' as : Transform && [object [transformPoint tp] [untransform utp] inverse]
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks
|
glyph-module-entry commonShapes overmarks
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks letterBasic
|
glyph-module-entry commonShapes overmarks letterBasic
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
###### NUMBERS
|
###### NUMBERS
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes
|
glyph-module-entry commonShapes
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks
|
glyph-module-entry commonShapes overmarks
|
||||||
|
|
|
@ -3,6 +3,7 @@ $$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import '../support/transform' as : Transform && [object [transformPoint tp] [untransform utp] inverse]
|
import '../support/transform' as : Transform && [object [transformPoint tp] [untransform utp] inverse]
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks
|
glyph-module-entry commonShapes overmarks
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks letterBasic
|
glyph-module-entry commonShapes overmarks letterBasic
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks letterBasic letterExt
|
glyph-module-entry commonShapes overmarks letterBasic letterExt
|
||||||
|
@ -102,8 +103,8 @@ export : define [apply] : begin
|
||||||
include glyphs.plus
|
include glyphs.plus
|
||||||
save 'plusminus' 0xB1
|
save 'plusminus' 0xB1
|
||||||
turned 'minusplus' 0x2213 'plusminus' MIDDLE parenMid
|
turned 'minusplus' 0x2213 'plusminus' MIDDLE parenMid
|
||||||
local equalHalfSpace : (parenTop - parenBot) * 0.11
|
|
||||||
|
|
||||||
|
local equalHalfSpace : (parenTop - parenBot) * designParameters.equal_wideness
|
||||||
sketch # equal
|
sketch # equal
|
||||||
include : HBar SB RIGHTSB (parenMid + equalHalfSpace) OPERATORSTROKE
|
include : HBar SB RIGHTSB (parenMid + equalHalfSpace) OPERATORSTROKE
|
||||||
include : HBar SB RIGHTSB (parenMid - equalHalfSpace) OPERATORSTROKE
|
include : HBar SB RIGHTSB (parenMid - equalHalfSpace) OPERATORSTROKE
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks geometricSymbols
|
glyph-module-entry commonShapes overmarks geometricSymbols
|
||||||
|
@ -322,9 +323,11 @@ export : define [apply] : begin
|
||||||
save ('lighyphen.' + subclass)
|
save ('lighyphen.' + subclass)
|
||||||
|
|
||||||
# =>
|
# =>
|
||||||
local dblarrowd : XH * [linreg 18 0.15 126 0.275 STROKE]
|
# local dblarrowd : XH * [linreg 18 0.15 126 0.275 STROKE]
|
||||||
local sw : Math.min OPERATORSTROKE (dblarrowd * [clamp 0.45 0.75 ((1 - WHITENESS) * 1)])
|
# local sw : Math.min OPERATORSTROKE (dblarrowd * [clamp 0.45 0.75 ((1 - WHITENESS) * 1)])
|
||||||
local dblextend [clamp 0 WIDTH (RIGHTSB - (dblarrowd - sw / 2) * arrowheadSlope)]
|
local sw OPERATORSTROKE
|
||||||
|
local dblarrowd ((parenTop - parenBot) * designParameters.equal_wideness + sw / 2)
|
||||||
|
local dblextend : clamp 0 WIDTH (RIGHTSB - (dblarrowd - sw / 2) * arrowheadSlope)
|
||||||
local dblarrowj : clamp 0 WIDTH (SB + (dblarrowd - sw / 2) * arrowheadSlope)
|
local dblarrowj : clamp 0 WIDTH (SB + (dblarrowd - sw / 2) * arrowheadSlope)
|
||||||
foreach [{subclass left right} : items-of [ArrowBarConfig dblextend arrowheadsKern dblarrowj]] : sketch
|
foreach [{subclass left right} : items-of [ArrowBarConfig dblextend arrowheadsKern dblarrowj]] : sketch
|
||||||
include : HBarTop left right (parenMid + dblarrowd) sw
|
include : HBarTop left right (parenMid + dblarrowd) sw
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks letterBasic
|
glyph-module-entry commonShapes overmarks letterBasic
|
||||||
|
|
|
@ -174,3 +174,6 @@ export : define [setFontMetrics para metrics font] : begin
|
||||||
set font.OS_2.sxHeight XH
|
set font.OS_2.sxHeight XH
|
||||||
set font.OS_2.sCapHeight CAP
|
set font.OS_2.sCapHeight CAP
|
||||||
set font.post.italicAngle (0 - para.slantAngle)
|
set font.post.italicAngle (0 - para.slantAngle)
|
||||||
|
|
||||||
|
export : define designParameters : object
|
||||||
|
equal_wideness 0.1
|
Loading…
Reference in New Issue
Block a user