Fix the dimensions of wide geometric shapes in quasi-proportional (#1941).
This commit is contained in:
parent
80fa4f0c60
commit
46db4b9d5f
2 changed files with 6 additions and 5 deletions
|
@ -1 +1,2 @@
|
|||
* Fix leaning marks of LATIN SMALL LETTER T WITH CEDILLA (`U+0163`) (#1914).
|
||||
* Fix the dimensions of wide geometric shapes in quasi-proportional (#1941).
|
||||
|
|
|
@ -9,7 +9,7 @@ glyph-block Symbol-Geometric-Shared : begin
|
|||
glyph-block-export GeometricDim
|
||||
define [GeometricDim unitWidth fullWidth] : begin
|
||||
define s : fullWidth / unitWidth
|
||||
define sb : 0.625 * SB * s * s
|
||||
define sb : 0.625 * SB * s * s * [Math.pow (unitWidth / Width) 2]
|
||||
define tallSize : 0.5 * para.arrowHeight * (unitWidth - sb) * [Math.pow s (1 / 3)]
|
||||
define size : Math.min (0.5 * fullWidth - sb) tallSize
|
||||
return : object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue