\U+03C0
In lisp you'd need to double backslash the U+.(defun c:test ( )
(entmake '((0 . "TEXT") (40 . 1.0) (10 0.0 0.0 0.0) (1 . "\\U+03C0")))
(princ)
)
And %%960 8)Is that for special SHX fonts? I get text displaying %%960 even if I use \960 it doesn't convert. Tried using ARIAL.TTF & Romans.SHX. The Unicode works on ARIAL.TTF, but only works on Romans.SHX if you turn on the "Use Big Font" check in the Style dialog.
I never explored Big Fonts but maybe they are above the normal range of character codes.And %%960 8)Is that for special SHX fonts? I get text displaying %%960 even if I use \960 it doesn't convert. Tried using ARIAL.TTF & Romans.SHX. The Unicode works on ARIAL.TTF, but only works on Romans.SHX if you turn on the "Use Big Font" check in the Style dialog.
2) lee mac sir i use u r lisp but not create a text
Lee Mac , I got a ? as text.That's due to the font you're using. It has to define the character with that unicode (hex:3C0, dec:960, oct:1700). Most of the SHX fonts only define the normal ANSI codes, i.e. dec:32/hex:20 (space) through dec:255/hex:FF (ÿ). For the characters in excess of that you either need to add the bigfont option to the style, or use a TTF font in the style instead.
Dear Sir2) lee mac sir i use u r lisp but not create a text
It should create a Text object with text height 1.0 and insertion point at the origin.
At least, it does for me :)
And %%960 8-)Though it's still working, I believe to remember that Autodesk switched to unicode with Autocad2008. That's when I stopped using %%###. BTW hex960 = dec03C0 (hint) ;)
The thing is, if my font is Romans.SHX and I want one of these unicode characters, then 9/10 times the character is displayed as some TTF font (usually Arial). [...]I've never seen a different alternate font than Arial. But I just change these characters to Simplex and then you don't even notice that another font is used for these few characters.
Arial;ROMANEUR.shx
to this file the font ARIAL should (in theory :kewl: ) be replaced with a ROMAN-font that supports the most important unicodes.
' ** Undefined shape 8962 'that means a character is used, but the used font doesn't support that special character.
CleanLanguage 1.0 March 25, 2011
Copyright (C) 2011 ManuSoft (http://www.manusoft.com)
http://www.manusoft.com/software/freebies/arx.html
** Legal Stuff **
CleanLanguage is placed in the public domain. The
CleanLanguage binaries may be freely redistributed
or used for any purpose as long as this legal notice
accompanies all files.
ManuSoft disclaims any and all liability for your use
of this software. The software is provided "as is"
without warranty of any kind, either express or implied.
** What it does **
CleanLanguage makes an effort to identify and clean
objects in an AutoCAD drawing file that contain corrupt
text characters. Such corruption may cause AutoCAD to
display a warning about a "missing language pack". The
software supports AutoCAD versions 2007 through 2012.
** How to use it **
To load the software, drag and drop the appropriate
.arx module into your AutoCAD drawing window, then use
the CLEANLANGUAGE command to clean the drawing.
** Support **
ManuSoft does not offer any technical support for this
software, however we do appreciate feedback. Please
contact us with information about any problems you
encounter.
*****************************************
**** ManuSoft ****
**** POB 101, 34 Maple St. ****
**** Apple Creek, OH, USA 44606 ****
**** +1 330-698-1723 (Voice) ****
**** +1 330-698-1770 (Fax) ****
**** http://www.manusoft.com ****
**** support@manusoft.com ****
*****************************************