Bug#755382: fonts-adobe-sourcehansans-cn -- “Source Han Sans CN” A sans-serif Pan-CJK font family (CN subset) that is offered in seven weights
The below is the fontforge script that I tried to make font from, but
not tested throughly.
Open("./source-han-sans/Regular/cidfont.ps.CN")
CIDFlattenByCMap("./source-han-sans/UniSourceHanSansCN-UTF32-H")
Reencode("ISO10646-1", 1)
Generate("sourcehansans-cn-regular.otf")
Also, it does not reference to "features.CN", which includes baseline
information. Parsing that and appending the information into the font
is simple using python script, but fontforge python binding does not
provide API for force encoding.
--
Yao Wei
Reply to: