Anim8or Community

General Category => General Anim8or Forum => Topic started by: slex on March 31, 2016, 06:06:29 am

Title: using non-english fonts in Anim8or- octal codes
Post by: slex on March 31, 2016, 06:06:29 am
 I've found a nice site with easy online unicode converter http://unicodelookup.com/ (http://unicodelookup.com/)
 Whoever needs some letters other than english to use in 3d project just convert those letters to its octal base and edit the .an8 file with the notepad following the steps that Steve explained:

Quote
Anim8or supports all UNICODE characters, including cyrillic, but with a big caveat. You have to hand edit the .an8 file to use them.  TEXT objects are stored internally as 16 bit UNICODE values and are represented in .an8 files by a L"xxxx" string format.  You can enter any UNICODE value as a backslash "\" followed by an octal value of up to 6 digits. The cyrillic UNICODE block goes from octal 02000 to 02377 (hex 0x400 to 0x4ff).  For example the character Б (Be) which is octal 02021 or hex 0x411 is L"\002021".  The leading zeros are optional as long as its not followed by a digit.

To do this you need to:


1. Add a TEXT object to your project.
2. Save it as a .an8 file.
3. Load it is notepad (or any other simple text editor).
4. Find the TEXT object and add your own UNICODE values in the L"....." string.
5. Save it and reload it into Anim8or.
Title: Re: using non-english fonts in Anim8or- octal codes
Post by: neirao on April 01, 2016, 04:18:14 am
cool