Closed li-fstz closed 3 months ago
Can you include the conversion script somewhere inside the contrib/PC/ folder? We have lots of other important scripts there.
Edit: I've added the script as contrib/PC/pc_convert/bdf_to_pf.py https://github.com/PSP-Archive/ARK-4/blob/main/contrib/PC/pf_convert/bdf_to_pf.py
Tested and working. Merging.
Thank you. I go to sleep during this time, so I couldn't submit the code in a timely manner.
In order to display Chinese (or other multi byte encoding languages) in the VSH menu, we need to modify the VSH menu to support reading UTF-8 encoding language files and standard encoding font files,
But now using a pair of language file and font file with special encoding could be used as a temporary solution.
I used 全小素(QuanPixel) as a prototype to create CHS.pf.
The following is the conversion script, which requires passing in the original language file path, bdf font path, encoded language file path, and pf file path:
https://github.com/PSP-Archive/ARK-4/blob/main/contrib/PC/pf_convert/bdf_to_pf.py