More glyph ID saves
This commit is contained in:
parent
96c3389f4d
commit
2f35f6f04f
2 changed files with 10 additions and 10 deletions
|
@ -631,7 +631,7 @@ glyph-block AutoBuild-Enclosure : begin
|
|||
|
||||
define [digitNoSuffix d] : return ''
|
||||
define [digitSansSerifSuffix d] : if (d == 1 || d == 7) '/sansSerif' ''
|
||||
define [digitHasSerif d] : !SLAB && (d == 2 || d == 3 || d == 4 || d == 5)
|
||||
define [digitHasSerif d] : SLAB && (d == 2 || d == 3 || d == 4 || d == 5)
|
||||
|
||||
do "Single-digit circled"
|
||||
local compositions : list
|
||||
|
@ -666,6 +666,7 @@ glyph-block AutoBuild-Enclosure : begin
|
|||
do "Double-digit circled"
|
||||
local compositions : list
|
||||
list null {'markBaseSpace'} WideWidth1
|
||||
list 0x2789 {'one/sansSerif.lnum' 'zero.lnum'} WideWidth1
|
||||
list 0x1F16D {'C' 'C'} WideWidth2
|
||||
list 0x1F12D {'C' 'D'} WideWidth1
|
||||
list 0x1F12E {'W' 'z'} WideWidth1
|
||||
|
@ -674,11 +675,6 @@ glyph-block AutoBuild-Enclosure : begin
|
|||
foreach [j : range 36 till 50] : compositions.push : list (0x32B1 + j - 36) [digitGlyphNames j] WideWidth1
|
||||
createCircledGlyphs 2 compositions
|
||||
|
||||
do "Double-digit sans-serif circled"
|
||||
local compositions : list
|
||||
foreach [j : range 10 till 10] : compositions.push : list (0x2789 + j - 10) [digitGlyphNames j] WideWidth1
|
||||
createSansSerifCircledGlyphs 2 compositions
|
||||
|
||||
do "Single-digit inset circled"
|
||||
local compositions : list
|
||||
list 0x24FF {'zero.lnum'} WideWidth1
|
||||
|
|
|
@ -339,14 +339,18 @@ export function createGrDisplaySheet(glyphStore, gid) {
|
|||
} else {
|
||||
queryCvFeatureTagsOf(charVariantFeatures, gid, glyph, null);
|
||||
}
|
||||
|
||||
sortFeatureDisplaySheet(typographicFeatures);
|
||||
sortFeatureDisplaySheet(charVariantFeatures);
|
||||
return [typographicFeatures, charVariantFeatures];
|
||||
}
|
||||
|
||||
function sortFeatureDisplaySheet(sheet) {
|
||||
return sheet.sort((a, b) => (a.name < b.name ? -1 : a.name > b.name ? 1 : 0));
|
||||
}
|
||||
|
||||
function FeatureSeries(name, groups) {
|
||||
return {
|
||||
name,
|
||||
groups
|
||||
};
|
||||
return { name, groups };
|
||||
}
|
||||
|
||||
function displayQueryPairFeatures(gs, gid, name, grCis, grTrans, sink) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue