Fix dotless form of mathematical derived letters if it ia aliased (#731).
This commit is contained in:
parent
481b94e3c4
commit
9722a5394c
2 changed files with 7 additions and 4 deletions
|
@ -1 +1,2 @@
|
|||
* Fix inconsistent italic serif of U+0463 CYRILLIC SMALL LETTER YAT (#729).
|
||||
* Fix dotless form of mathematical derived letters if it ia aliased (#731).
|
|
@ -3,7 +3,7 @@ $$include '../../meta/macros.ptl'
|
|||
import '../../support/transform' as Transform
|
||||
|
||||
import [mix linreg clamp fallback] from '../../support/utils'
|
||||
import [Cv AnyDerivingCv] from '../../support/gr'
|
||||
import [Cv AnyDerivingCv Dotless] from '../../support/gr'
|
||||
import [DesignParameters] from '../../meta/aesthetics'
|
||||
|
||||
extern Map
|
||||
|
@ -65,8 +65,10 @@ glyph-block Common-Derivatives : begin
|
|||
local glyphDst : create-glyph dstGid dstUnicode : glyph-proc
|
||||
include [refer-glyph sourceGid] AS_BASE ALSO_METRICS
|
||||
|
||||
if glyphDst : foreach [gr : items-of : AnyDerivingCv.query glyphSrc] : begin
|
||||
gr.set glyphDst [gr.get glyphSrc]
|
||||
if glyphDst : begin
|
||||
foreach [gr : items-of : AnyDerivingCv.query glyphSrc] : begin
|
||||
gr.set glyphDst [gr.get glyphSrc]
|
||||
if [Dotless.get glyphSrc] : Dotless.set glyphDst [Dotless.get glyphSrc]
|
||||
|
||||
define [turned newid unicode id _x _y mark] : begin
|
||||
if [not newid] : throw : new Error "Target ID not specified"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue