These files are used for building pfaedit cidmap files given adobe's cid2code.txt files. Adobe's files may be found at ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/ Each cidmap file has a different generation file (it should be obvious what goes with what). cidmaps should be generated by: $ gcc -o map mapjapan1.c $ map Adobe-Japan1-4.cidmap (or whatever file you are trying to generate) updated info - 2016oct31, This may help in generating files. gcc -s -I../../../inc -o mapcns1 mapcns1.c gcc -s -I../../../inc -o mapgb1 mapgb1.c gcc -s -I../../../inc -o mapjapan1 mapjapan1.c gcc -s -I../../../inc -o mapjapan2 mapjapan2.c gcc -s -I../../../inc -o mapkorean mapkorean.c After running generate.sh, there can be several files in directory raw, eg. ./mapgb1 <../../../Unicode/charset/raw/ag15/cid2code.txt >../Adobe-GB1-5.cidmap ./mapjapan1 <../../../ffn_u/Unicode/charset/raw/aj16/cid2code.txt >../Adobe-Japan1-6.cidmap