Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pcpp
opentype-sanitizer
ufo2ft[pathops]
ufoLib2
glyphsets==0.6.18
glyphsets
glyphsLib
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ fonttools[lxml,ufo,unicode]==4.43.1
# ufolib2
fs==2.4.16
# via fonttools
glyphsets==0.6.4
glyphsets==1.1.3
# via -r requirements.in
glyphslib==6.4.1
glyphslib==6.9.5
# via
# -r requirements.in
# glyphsets
Expand Down
7 changes: 4 additions & 3 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def scaleGlyph(font, glyph, scale):

def makeQuran(options):
from fontTools import subset
from glyphsets import GFGlyphData
from glyphsets import glyphs_in_glyphset, get_glyph

font = makeDesktop(options, False)
mergeLatin(font)
Expand Down Expand Up @@ -375,8 +375,9 @@ def makeQuran(options):
0x202B, 0x202C, 0x202D, 0x202E, 0x202F, 0x25CC, 0xFD3E,
0xFD3F, 0xFDFA, 0xFDFD]

gf_latin_kernel = GFGlyphData.glyphs_in_glyphsets(["GF_Latin_Kernel"])
unicodes += [g["unicode"] for g in gf_latin_kernel if g["nice_name"] != ".notdef"]
gf_latin_kernel = glyphs_in_glyphset("GF_Latin_Kernel")
unicodes += [int(get_glyph(n).unicode, 16) for n in gf_latin_kernel
if n != ".notdef" and get_glyph(n) and get_glyph(n).unicode]

unicodes = [isinstance(u, str) and ord(u) or u for u in unicodes]

Expand Down
Loading