Ogre font code_points Generation Tool

Source: Internet
Author: User

Today, I encountered the problem of generating ogre font code_points when I made ogre Chinese display. Let's take a look at the definition of the simhei I used.

Simhei

{

Type TrueType

Source simhei. TTF

Size 16

Resolution 96

Code_points 33-166 24403-24403 21069-21069 24103-24103 36895-36895 29575-29575 24179-24179 22343-22343 26368-26368 39640-39640 20302-20302 19977-19977 35282-35282 24418-24418 25968-25968 37327-37327 25209-25209 27425-27425

}

The font code_points is the Unicode character encoding you want to use. For example, the encoding of the word 'stop' is expressed as 5f53 in hexadecimal notation and 24403 in hexadecimal notation, the ogre font definition uses a 10-in-10 notation. According to the description of the Ogre font definition document, you can refer to http://www.chi2ko.com/tool/cjk.htm?each character must be described as 24403-24403.

In order to automatically generate the Ogre font code_points, if you fail to find the appropriate software after turning around the Internet, you can do it yourself. The software interface is as follows:


In the software, the separator line and above are single-character conversion, which correspond to the encoding search function of the above-mentioned website. The separator line below is a string conversion, which can be used to generate the code_points format required by the Ogre font.

Click here to download. Note: The software requires the. net2.0 framework.

Reprinted please indicate the source:

Author: gogoplayer

E-mail: gogoplayer@163.com

QQ: 78939328

Http://www.gogoplayer.com.cn/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.