Related URL http://msdn.microsoft.com/en-US/library/ee490956 (V = winembedded.60). aspx
Note: The script is suitable for text.
Unicode scriptprocessor for complex scripts (Uniscribe) technology supports scripts that require special processing. With this technology, you can display and edit scripts that are not linearly arranged from left to right. The wince system provides correct text processing and layout for these scripts and supports image processing.
1. Uniscribe OS design and development
For how to create a wince6.0 system that supports complex script complexscripts, see connection: http://blog.csdn.net/loongembedded/article/details/9113137
The Uniscribe function cannot be used for East Asian scripts, such as Korean or Chinese. You can add a registry in the system to enable or disable the Uniscribe function. The added registry key is as follows:
[HKEY_LOCAL_MACHINE \ SYSTEM \ GDI \ Uniscribe]
"Disableuniscribe" = DWORD: 0
If the value of disableuniscribe is 0, it indicates that the Uniscribe function is started. If this value is 1, it indicates that the Uniscribe function is disabled. If this value is not set, the module enables the Uniscribe function (the premise is that the Unicode script processor for complex scripts component is added to the system ). It takes effect only after the key value is changed.
2. Uniscribe Application Development
Uniscribe is able to process complex texts in a very fine-grained manner. It supports searching for complex rules of the texts, such as Arabic, Hindi, and Thai. It also processes text from right to left, such as Arabic and Hebrew, and supports mixed text.
Uniscribe export API to support international text, including the Middle East and Asian text with complex rules. When using Uniscribe, the application only needs to manage a storage that supports Unicode character encoding. For text layout applications, you do not need to maintain any buffer or ing table (Mapping
Table ). Applications only need to store and manage the order of user input characters, which is the same as the logic sequence defined by Unicode. The application's secondary storage (backing store) does not change the layout operation results. Reordered
Clusters) to the original character boundaries (original character boundaries), Uniscribe maintains the order of the characters passed in from the application.
Related connection: http://blog.csdn.net/jianlizhao66/article/details/1480748
3. Does the OS have Uniscribe differences?
(1) OS size
Systems with the Uniscribe function are 842kb larger than those without Uniscribe, close to 1 Mbytes.
(2) The system with the Uniscribe function can normally display languages from right to left.
The following uses Arabic as an example to describe how to access http://arabic.arabia.msn.com/on the XP Chinese system, and obtain the display content from this website for comparison:
Figure 1
Copy the content to the TXT file and copy the file to the attacker with the Uniscribe English system:
Figure 2
Copy the file to a host without the Uniscribe English system, as shown below:
Figure 3
It can be seen that systems with the Uniscribe function can normally display Arabic languages from left to right.
(3) system response speed
Take 1d to read code 39 as an example to see the difference in system response time.
Test Item |
Enable Uniscribe |
Disable Uniscribe |
1D read code39 Barcode (The interval is 400 ms and the number of consecutive reads is 1000) |
9 minutes 23 seconds |
8 minutes 24 seconds |
Read the 14443a-s70 tag (The interval is 200 ms and the number of consecutive reads is 1000) |
6 minutes 17 seconds |
4 minutes 57 seconds |