#!@abs_top_builddir@/fontforgeexe/fontforge
#Needs: fonts/mingliu.ttc
# but any other ttc file would do (gulim works just fine).
# (also needs chunkalloc turned on with 384M memory)

#Yes, mingliu doesn't work without the ttf instructions, but that is irrelevant
#here. I'm just looking for the smallest ttc file I've got.

Print( "...It's ok to get errors about 'Attempt to encode missing glyphs'")
Print( " or 'Glyph index out of bounds'")
Open("@abs_srcdir@/fonts/mingliu.ttc(PMingLiU)");
Print( "...Read mingliu.ttc(PMingLiU)")
Generate("@abs_builddir@/results/pmingliu.ttf","bdf");
Print( "...Generated ttf")
Close();
Quit()
