Skip to content

Commit eb4c928

Browse files
committed
Add Phags-pa
1 parent 1cfce6c commit eb4c928

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

data/codepoints/A800.yml

+8
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,11 @@ A830..A83F:
5252
transform: scale(0.8) translate(0, -0.1)
5353

5454
A83A..A83F: notdef
55+
56+
# Phags-pa
57+
58+
A840..A87F:
59+
font: babel-phags-pa
60+
transform: scale(0.8)
61+
62+
A878..A87F: notdef

lib/download-fonts.ls

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ fonts =
4444
'LisuUnicode': 'https://github.com/phjamr/LisuUnicode/raw/master/LisuUnicode-Regular.ttf'
4545
'Wakor': 'http://www.evertype.com/fonts/vai/wakorfont.zip'
4646
'Charis': 'https://software.sil.org/downloads/r/charis/CharisSIL-5.000.zip'
47+
'BabelStonePhagsPa': 'http://www.babelstone.co.uk/Fonts/Download/BabelStonePhagspaBook_v2.ttf'
4748

4849
module.exports = ->
4950
Promise.each do
@@ -71,7 +72,7 @@ module.exports = ->
7172
{}
7273

7374
extract =
74-
if directory in <[Quivira NotoSansCherokee BTC Manjari LisuUnicode]>
75+
if directory in <[Quivira NotoSansCherokee BTC Manjari LisuUnicode BabelStonePhagsPa]>
7576
false
7677
else
7778
true

lib/generate-svg.ls

+7
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,13 @@ font-data =
330330
license: 'SIL OFL 1.1'
331331
licenseURL: 'http://scripts.sil.org/ofl'
332332
path: 'Charis/CharisSIL-5.000/CharisSIL-R.ttf'
333+
babel-phags-pa:
334+
name: 'Charis'
335+
URL: 'https://software.sil.org/charis/'
336+
author: 'SIL'
337+
license: 'SIL OFL 1.1'
338+
licenseURL: 'http://scripts.sil.org/ofl'
339+
path: 'BabelStonePhagsPa/BabelStonePhagspaBook_v2.ttf'
333340

334341
load-fonts = ->
335342
Promise.all do

0 commit comments

Comments
 (0)