Skip to content

Instantly share code, notes, and snippets.

@mojavelinux
mojavelinux / generate-cjk-font.pe
Created December 31, 2014 09:53
Distill the NotoSansCJK otf fonts into something we can use in Asciidoctor PDF (and Asciidoctor EPUB3)
#!/usr/bin/env fontforge
# * 0x90 - Neither OpenType or Apple
# * 0x800 - Generate old-style 'kern' table
# * 0x08 - Exclude TrueType instructions
# For PDF
genflags = 0x90 + 0x08 + 0x800
# For EPUB3