Troubleshooting Chinese character input in Photoshop 5.0_PHP tutorial

WBOY
Release: 2016-07-13 17:25:28
Original
1401 people have browsed it

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:



%BeginFont
Handler:WinTTHandler
FontType:TrueType
FontName:HopeSun
FamilyName:HopeSun
StyleName:Regular
FullName:HopeSun
WritingScript:Roman
WinName:HopeSun
%EndFont

As can be seen from FamilyName:HopeSun, WinName:HopeSun, this paragraph is used for the "Hope Song Dynasty" font Description, therefore, we only need to change "HopeSun" to "Hope Sun".

After this modification, we can enter Chinese characters in the selected font at any time in PhotoShop 5.0.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532063.htmlTechArticleAfter 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 w...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template