Make frac
work for normal slash; Add numr
and dnom
feature (#1230).
This commit is contained in:
parent
3503c33d56
commit
1a2a8b6e75
3 changed files with 7 additions and 3 deletions
|
@ -13,7 +13,7 @@ export : define [buildFrac sink glyphStore] : begin
|
|||
|
||||
define subSolidus : add-lookup sink : object
|
||||
.type 'gsub_single'
|
||||
.substitutions : object ['solidus' 'fractionBar']
|
||||
.substitutions : object ['solidus' 'fractionBar'] ['slash' 'fractionBar']
|
||||
|
||||
define digitSet { }
|
||||
define numSet { }
|
||||
|
|
|
@ -33,6 +33,10 @@ define [buildGSUB para glyphStore markGlyphs] : begin
|
|||
# APLF
|
||||
buildGrFeature gsub glyphStore Gr.AplForm
|
||||
|
||||
# numr / dnom
|
||||
buildGrFeature gsub glyphStore Gr.NumeratorForm
|
||||
buildGrFeature gsub glyphStore Gr.DenominatorForm
|
||||
|
||||
# ccmp
|
||||
buildCCMP gsub glyphStore markGlyphs
|
||||
|
||||
|
|
|
@ -44,8 +44,8 @@ const Wwid = OtlTaggedProp("Wwid", "WWID");
|
|||
const Lnum = OtlTaggedProp("Lnum", "lnum");
|
||||
const Onum = OtlTaggedProp("Onum", "onum");
|
||||
const AplForm = OtlTaggedProp("AplForm", "APLF");
|
||||
const NumeratorForm = OtlTaggedProp("Numerator", "NUMF");
|
||||
const DenominatorForm = OtlTaggedProp("Denominator", "DENF");
|
||||
const NumeratorForm = OtlTaggedProp("Numerator", "numr");
|
||||
const DenominatorForm = OtlTaggedProp("Denominator", "dnom");
|
||||
|
||||
const CvDecompose = {
|
||||
get(glyph) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue