Fix dotless form of mathematical derived letters if it ia aliased (#731).

This commit is contained in:
be5invis 2020-11-14 13:26:13 -08:00
parent 481b94e3c4
commit 9722a5394c
2 changed files with 7 additions and 4 deletions

View file

@ -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"