Home > Article > Backend Development > Troubleshooting Chinese character input in Photoshop 5.0_PHP tutorial
After installing PhotoShop 5.0, once you use TypeTool (Text Tool) to input Chinese characters, a dialog box will pop up showing "Could not complete your request because the necessary CMap files were not found", prompting the user that the Cmap file is not installed, making the Chinese character input unsuccessful. . It is estimated that this file is an interface file for Chinese character input.
After analysis, we found that this is because the Cmap file was not installed when installing PhotoShop 5.0. Most users use the "Typical" installation method when installing PhotoShop 5.0. Some options of PhotoShop 5.0, such as Cmap Files, are not installed in the system. This causes errors when inputting Chinese characters because there is no Chinese character interface. To do this, you need to select the "Custom" installation method during installation and choose to install "Cmap Files" (it is best to select them all so that PhotoShop 5.0 gets the best functionality).
After the installation is completed, you can enter Chinese characters in PhotoShop 5.0. However, when inputting Chinese characters, we found that the font names in the Fonts list box are all in English or Pinyin, not Chinese, so it is inconvenient to select Chinese fonts. This is due to a flaw in PhotoShop 5.0's font recognition capabilities. After PhotoShop 5.0 is started, there will be a Chinese font list file adobefnt.lst in the C:Program FilesCommon FilesAdobeTypespt directory. This file not only gives the Chinese fonts that PhotoShop 5.0 can recognize, but also gives the Chinese fonts displayed in the Fonts list box. name (that is, the name after FamilyName:, Winname:), as shown in the figure.
However, when PhotoShop 5.0 loads Chinese fonts, it replaces the name of the Chinese font with the file name of the font file, so it is inconvenient to select Chinese fonts. In order to make the Chinese font names in the Fonts list box more intuitive, the strings following FamilyName= and Winname= in the adobefnt.lst file must be modified. In the adobefnt.lst file, there is a prompt for each Chinese font. Each paragraph starts with %BeginFont and ends with %EndFont. An example is given below to illustrate. For example, there is the following paragraph: