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
|
define subSolidus : add-lookup sink : object
|
||||||
.type 'gsub_single'
|
.type 'gsub_single'
|
||||||
.substitutions : object ['solidus' 'fractionBar']
|
.substitutions : object ['solidus' 'fractionBar'] ['slash' 'fractionBar']
|
||||||
|
|
||||||
define digitSet { }
|
define digitSet { }
|
||||||
define numSet { }
|
define numSet { }
|
||||||
|
|
|
@ -33,6 +33,10 @@ define [buildGSUB para glyphStore markGlyphs] : begin
|
||||||
# APLF
|
# APLF
|
||||||
buildGrFeature gsub glyphStore Gr.AplForm
|
buildGrFeature gsub glyphStore Gr.AplForm
|
||||||
|
|
||||||
|
# numr / dnom
|
||||||
|
buildGrFeature gsub glyphStore Gr.NumeratorForm
|
||||||
|
buildGrFeature gsub glyphStore Gr.DenominatorForm
|
||||||
|
|
||||||
# ccmp
|
# ccmp
|
||||||
buildCCMP gsub glyphStore markGlyphs
|
buildCCMP gsub glyphStore markGlyphs
|
||||||
|
|
||||||
|
|
|
@ -44,8 +44,8 @@ const Wwid = OtlTaggedProp("Wwid", "WWID");
|
||||||
const Lnum = OtlTaggedProp("Lnum", "lnum");
|
const Lnum = OtlTaggedProp("Lnum", "lnum");
|
||||||
const Onum = OtlTaggedProp("Onum", "onum");
|
const Onum = OtlTaggedProp("Onum", "onum");
|
||||||
const AplForm = OtlTaggedProp("AplForm", "APLF");
|
const AplForm = OtlTaggedProp("AplForm", "APLF");
|
||||||
const NumeratorForm = OtlTaggedProp("Numerator", "NUMF");
|
const NumeratorForm = OtlTaggedProp("Numerator", "numr");
|
||||||
const DenominatorForm = OtlTaggedProp("Denominator", "DENF");
|
const DenominatorForm = OtlTaggedProp("Denominator", "dnom");
|
||||||
|
|
||||||
const CvDecompose = {
|
const CvDecompose = {
|
||||||
get(glyph) {
|
get(glyph) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue