Juwan-Hwang/PingFang-SF ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python project that takes Apple’s PingFang UI TC as the base and turns it into one big merged font called PingFang SF.

I want it to combine HK and SC glyphs, swap the Latin and English letters over to SF Pro, and add extra coverage from MiSans and Source Han Sans so it can handle lots of languages, including Arabic, Devanagari, Thai, Tibetan, and the other scripts listed in the README. Please make sure the merged font keeps the variable font behavior, with the weight and width ranges aligned, and that the Arabic text still joins correctly after merging.

If it helps, look up current fontTools and HarfBuzz docs online while you build it. I also want a small helper script for fixing Arabic GSUB shaping during the merge, and the final output should be a usable TrueType variable font with the PingFang SF name so it does not clash with the system font.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab