Asian alphabets contain thousands of non-ASCII characters. To support such text, the program provides a special type of shape definition known as a Big Font file. You can set a style to use both regular and Big Font files.
Asian Language Big Fonts:
Font File Name
Description
@extfont2.shx
Japanese vertical font (a few characters are rotated to work correctly in vertical text)
bigfont.shx
Japanese font, subset of characters
chineset.shx
Traditional Chinese font
extfont.shx
Japanese extended font, level 1
extfont2.shx
Japanese extended font, level 2
gbcbig.shx
Simplified Chinese font
whgdtxt.shx
Korean font
whgtxt.shx
Korean font
whtgtxt.shx
Korean font
whtmtxt.shx
Korean font
When you specify fonts using the STYLE command, the assumption is that the first name is the normal font and the second (separated by a comma) is the Big Font. If you enter only one name, it’s assumed that it is the normal font and any associated Big Font is removed. By using leading or trailing commas when specifying the font file names, you can change one font without affecting the other, as shown in the following table.
Double-Byte Character Issues
Data Source Names
•Character codes (such as 0x??41 and 0x??61) that are used for data source names may not be handled correctly. This problem occurs when you create multiple data sources using optional names (Japanese) specified in the database configuration. As a result, some of the data source names may not be listed. When this problem occurs, you can change the name of the unlisted data source to another name.
Subobject and Object Cycling
•Subobject and object cycling using CTRL + SPACEBAR and SHIFT + SPACEBAR does not work in Chinese (PRC and Taiwan) versions of Microsoft Windows. When using the Chinese IME, these key combinations do the following: ◦CTRL + SPACEBAR toggles Chinese IME.
◦SHIFT + SPACEBAR toggles double-byte and single-byte English characters.
Text Display
Vertical Text for Asian Languages
•SHX fonts – Text can be created with SHX fonts and Big Fonts for vertical display in the same way as for previous releases. For best results, use the single-line TEXT command, not MTEXT. You can select a vertical style in the Text Style dialog box.
TrueType fonts – You still select fonts starting with the @ sign, but now the text is automatically rotated 270 degrees. (In AutoCAD 2005 and earlier versions, you had to manually rotate this text.) Vertical cursor movement is now supported for vertical text.
Font Display
•If the default font doesn’t support the characters you enter using the In-Place Text Editor (MTEXT command), an alternative font is usually substituted.
•CIF or MIF codes entered with the In-Place Text Editor (MTEXT command) or with the DTEXT command are now automatically converted to display the actual characters.
Updated bigfont.ini
•AutoCAD 2007 and AutoCAD 2008 are handling custom SHX Big Fonts differently than AutoCAD 2006 and earlier versions. If custom SHX Big Fonts are used in your drawing files, you need to add the SHX Big Font names and their code page ID into the bigfont.ini file in your Support folder. Please refer to the header section of this bigfont.ini file to learn how to add them.
Некоторые факторы влияют на выбор, ввод и представление на чертеже текста на разных языках.
Программа поддерживает стандарт кодирования символов Unicode. SHX-шрифт, закодированный с использованием шрифта стандарта Unicode, может содержать намного больше символов, чем описанный в системе пользователя; поэтому для использования символа, не доступного непосредственно с клавиатуры, можно ввести последовательность \U+nnnn, где nnnn представляет собой шестнадцатеричное значение Unicode для символа.
Начиная с версии AutoCAD 2007, все контурные SHX-шрифты кодируются с учетом стандарта Unicode, за исключением “Больших шрифтов”. При выборе шрифта для международных работ можно воспользоваться или шрифтом TrueType, или “Большим шрифтом”.
SHX-файлы азиатских “больших шрифтов”
Азиатские алфавиты содержат тысячи символов, не относящихся к стандарту ASCII. Для поддержки такого текста программа позволяет работать с особым типом файлов описания форм, называемых файлами большого шрифта. При этом текстовому стилю можно одновременно назначать обычный и большой шрифт.
Большие шрифты азиатских языков, входящие в продукт
|
Наименование файла шрифта
|
Описание
|
@extfont2.shx
|
Японский вертикальный шрифт (некоторые символы повернуты для корректного использования в вертикальном тексте)
|
bigfont.shx
|
Японский шрифт, подгруппа символов
|
chineset.shx
|
Традиционный китайский шрифт
|
extfont.shx
|
Расширенный японский шрифт, уровень 1
|
extfont2.shx
|
Расширенный японский шрифт, уровень 2
|
gbcbig.shx
|
Упрощенный китайский шрифт
|
whgdtxt.shx
|
Корейский шрифт
|
whgtxt.shx
|
Корейский шрифт
|
whtgtxt.shx
|
Корейский шрифт
|
whtmtxt.shx
|
Корейский шрифт
|
При вводе имен шрифтов в командной строке в ответ на запрос команды -СТИЛЬ предполагается, что первым вводится имя обычного шрифта, а вторым (через запятую) – имя большого шрифта. Если вводится только одно имя, предполагается, что это имя обычного шрифта, и любой связанный с ним большой шрифт удаляется из стиля. Вставляя запятые перед именами файлов шрифтов или после них, можно переназначить только один из шрифтов, не изменяя другой, как показано в следующей таблице.
Автокад поддерживает стандарт Unicode, при котором в шрифте может содержаться до 65 тыс. символов из различных языков, правда ввести такие символы непосредственно невозможно, приходится пользоваться последовательностями \U+nnnn, где nnnn – шестнадцатиричный код символа. Все AutoCAD SHX-шрифты являются Unicode. Предыдущие релизы Автокад вплоть до 13, не поддерживают эту возможность. Шрифты BIGFONT используются для представления символов алфавиты которых содержат тысячи “букв”. Пример изменения файла шрифтов:
Sub ChangeFontFiles()
ThisDrawing.ActiveTextStyle.BigFontFile = "C:/AutoCAD/Fonts/bigfont.shx"
ThisDrawing.ActiveTextStyle.fontFile = "C:/AutoCAD/Fonts/italic.shx"
End Sub