Fix quote exports
|
@ -842,24 +842,24 @@ glyph-block Symbol-Punctuation : begin
|
||||||
sketch # lowSingleQuote
|
sketch # lowSingleQuote
|
||||||
include glyphs.comma
|
include glyphs.comma
|
||||||
include : FlipAround MIDDLE 0 ratio ratio
|
include : FlipAround MIDDLE 0 ratio ratio
|
||||||
save 'lowSingleQuote'
|
save 'lowSingleQuote' 0x201A
|
||||||
|
|
||||||
sketch # openSingleQuote
|
sketch # openSingleQuote
|
||||||
include glyphs.lowSingleQuote
|
include glyphs.lowSingleQuote
|
||||||
include : FlipAround MIDDLE [mix [mix PERIODSIZE commaLow 0.5] yCurlyQuotes 0.5]
|
include : FlipAround MIDDLE [mix [mix PERIODSIZE commaLow 0.5] yCurlyQuotes 0.5]
|
||||||
save 'openSingleQuote'
|
save 'openSingleQuote' 0x2018
|
||||||
|
|
||||||
sketch # closeSingleQuote
|
sketch # closeSingleQuote
|
||||||
include glyphs.openSingleQuote
|
include glyphs.openSingleQuote
|
||||||
include : FlipAround MIDDLE yCurlyQuotes
|
include : FlipAround MIDDLE yCurlyQuotes
|
||||||
save 'closeSingleQuote'
|
save 'closeSingleQuote' 0x2019
|
||||||
|
|
||||||
sketch # revertSingleQuote
|
sketch # revertSingleQuote
|
||||||
include glyphs.invertComma
|
include glyphs.invertComma
|
||||||
include : FlipAround MIDDLE 0 ratio ratio
|
include : FlipAround MIDDLE 0 ratio ratio
|
||||||
include : FlipAround MIDDLE [mix [mix PERIODSIZE commaLow 0.5] yCurlyQuotes 0.5]
|
include : FlipAround MIDDLE [mix [mix PERIODSIZE commaLow 0.5] yCurlyQuotes 0.5]
|
||||||
include : FlipAround MIDDLE yCurlyQuotes
|
include : FlipAround MIDDLE yCurlyQuotes
|
||||||
save 'revertSingleQuote'
|
save 'revertSingleQuote' 0x201B
|
||||||
|
|
||||||
sketch # lowDoubleQuote
|
sketch # lowDoubleQuote
|
||||||
local dist : WIDTH * 0.225
|
local dist : WIDTH * 0.225
|
||||||
|
@ -867,17 +867,17 @@ glyph-block Symbol-Punctuation : begin
|
||||||
apply-transform : Translate (-dist * 2) 0
|
apply-transform : Translate (-dist * 2) 0
|
||||||
include glyphs.lowSingleQuote
|
include glyphs.lowSingleQuote
|
||||||
apply-transform : Translate dist 0
|
apply-transform : Translate dist 0
|
||||||
save 'lowDoubleQuote'
|
save 'lowDoubleQuote' 0x201E
|
||||||
|
|
||||||
sketch # openDoubleQuote
|
sketch # openDoubleQuote
|
||||||
include glyphs.lowDoubleQuote
|
include glyphs.lowDoubleQuote
|
||||||
include : FlipAround MIDDLE [mix [mix PERIODSIZE commaLow 0.5] yCurlyQuotes 0.5]
|
include : FlipAround MIDDLE [mix [mix PERIODSIZE commaLow 0.5] yCurlyQuotes 0.5]
|
||||||
save 'openDoubleQuote'
|
save 'openDoubleQuote' 0x201C
|
||||||
|
|
||||||
sketch # closeDoubleQuote
|
sketch # closeDoubleQuote
|
||||||
include glyphs.openDoubleQuote
|
include glyphs.openDoubleQuote
|
||||||
include : FlipAround MIDDLE yCurlyQuotes
|
include : FlipAround MIDDLE yCurlyQuotes
|
||||||
save 'closeDoubleQuote'
|
save 'closeDoubleQuote' 0x201D
|
||||||
|
|
||||||
sketch # revertDoubleQuote
|
sketch # revertDoubleQuote
|
||||||
local dist : WIDTH * 0.225
|
local dist : WIDTH * 0.225
|
||||||
|
@ -885,7 +885,7 @@ glyph-block Symbol-Punctuation : begin
|
||||||
apply-transform : Translate (-dist * 2) 0
|
apply-transform : Translate (-dist * 2) 0
|
||||||
include glyphs.revertSingleQuote
|
include glyphs.revertSingleQuote
|
||||||
apply-transform : Translate dist 0
|
apply-transform : Translate dist 0
|
||||||
save 'revertDoubleQuote'
|
save 'revertDoubleQuote' 0x201F
|
||||||
|
|
||||||
sketch # prime
|
sketch # prime
|
||||||
local wide : WIDTH * 0.1
|
local wide : WIDTH * 0.1
|
||||||
|
|
Before Width: | Height: | Size: 163 KiB After Width: | Height: | Size: 163 KiB |
Before Width: | Height: | Size: 396 KiB After Width: | Height: | Size: 396 KiB |
Before Width: | Height: | Size: 339 KiB After Width: | Height: | Size: 339 KiB |
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 174 KiB |
Before Width: | Height: | Size: 336 KiB After Width: | Height: | Size: 336 KiB |
Before Width: | Height: | Size: 900 KiB After Width: | Height: | Size: 900 KiB |
Before Width: | Height: | Size: 319 KiB After Width: | Height: | Size: 319 KiB |
|
@ -85,8 +85,8 @@ define [buildGSUB para glyphs glyphList markGlyphs] : begin
|
||||||
set features.(tag1) {tag1}
|
set features.(tag1) {tag1}
|
||||||
commonList.push tag2 tag1
|
commonList.push tag2 tag1
|
||||||
|
|
||||||
MakePairFrature 'hwid' 'fwid'
|
|
||||||
MakePairFrature 'lnum' 'onum'
|
MakePairFrature 'lnum' 'onum'
|
||||||
|
if (!para.forceMonospace || para.spacing > 0) : MakePairFrature 'hwid' 'fwid'
|
||||||
|
|
||||||
# CCMP
|
# CCMP
|
||||||
buildCCMP chain-rule markGlyphs commonList features lookups
|
buildCCMP chain-rule markGlyphs commonList features lookups
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
const fs = require("fs-extra");
|
const fs = require("fs-extra");
|
||||||
const path = require("path");
|
|
||||||
const parseVariantsData = require("../generate-snapshot-page/parse-variants-data");
|
const parseVariantsData = require("../generate-snapshot-page/parse-variants-data");
|
||||||
const parseLigationData = require("../generate-snapshot-page/ligation-data");
|
const parseLigationData = require("../generate-snapshot-page/ligation-data");
|
||||||
const getCharMapAndSupportedLanguageList = require("../generate-supported-languages/proc");
|
const getCharMapAndSupportedLanguageList = require("../generate-supported-languages/proc");
|
||||||
|
|
||||||
|
const version = require("../../package.json").version;
|
||||||
|
|
||||||
const charMapPath = process.argv[2];
|
const charMapPath = process.argv[2];
|
||||||
const exportPath = process.argv[3];
|
const exportPath = process.argv[3];
|
||||||
main().catch(e => {
|
main().catch(e => {
|
||||||
|
@ -16,5 +17,5 @@ async function main() {
|
||||||
const variantsData = await parseVariantsData();
|
const variantsData = await parseVariantsData();
|
||||||
const ligationData = await parseLigationData();
|
const ligationData = await parseLigationData();
|
||||||
const cl = await getCharMapAndSupportedLanguageList(charMapPath);
|
const cl = await getCharMapAndSupportedLanguageList(charMapPath);
|
||||||
await fs.writeJson(exportPath, { variantsData, ligationData, ...cl }, { spaces: 2 });
|
await fs.writeJson(exportPath, { version, variantsData, ligationData, ...cl }, { spaces: 2 });
|
||||||
}
|
}
|
||||||
|
|