Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

special characters in MTEXT ????????

1 REPLY 1
Reply
Message 1 of 2
Anonymous
435 Views, 1 Reply

special characters in MTEXT ????????

Here's the scoop:

Client has added special characters to their Release 2.6 ROMANS.SHX file.
Traditionally, they access the characters using their decimal code (%%131,
%%132, etc.). This does not work in MTEXT, however.

I have "converted" these special characters to the ROMANS Unicode font. The
%%131 method still works in DTEXT and TEXT, but does not work in MTEXT. The
only way to get the characters in MTEXT is, of course, to input their
hexadecimal value (\U+0082, \U+0083, etc.).

Question:

What is the method or shape file syntax for defining special characters
similar to AutoCAD's diameter and degree symbols, where a letter key code is
used (%%C or %%D, for example)? Can I assign my special characters to other
keys using the "%%" mechanism (%%X or %%Y for example)? I know I can
replace a keyboard character with the special symbol, but that's not
desirable.

Thanks,

Ian
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Try this tip from www.dotsoft.com:

If you used special characters in TEXT objects, such as %%130 for the
centerline symbol, when using MTEXT this coding does not work.

There is a big difference in the behavior of special characters between TEXT
and MTEXT objects. In MTEXT objects you do don't
use %%###, instead ...

1) Press and hold the Alt key.
2) Type your 4-digit code on the number pad, like 0129.
3) Release your Alt key.

The character that shows in the editor doesn't reflect the actual character,
but then neither did %%129.

--
Dean Saadallah
www.pendean.com
--


"Ian Maclean" wrote in message
news:D8010C25B3EA1A533C6D9959FE0A1FA0@in.WebX.maYIadrTaRb...
> Here's the scoop:
>
> Client has added special characters to their Release 2.6 ROMANS.SHX file.
> Traditionally, they access the characters using their decimal code (%%131,
> %%132, etc.). This does not work in MTEXT, however.
>
> I have "converted" these special characters to the ROMANS Unicode font.
The
> %%131 method still works in DTEXT and TEXT, but does not work in MTEXT.
The
> only way to get the characters in MTEXT is, of course, to input their
> hexadecimal value (\U+0082, \U+0083, etc.).
>
> Question:
>
> What is the method or shape file syntax for defining special characters
> similar to AutoCAD's diameter and degree symbols, where a letter key code
is
> used (%%C or %%D, for example)? Can I assign my special characters to
other
> keys using the "%%" mechanism (%%X or %%Y for example)? I know I can
> replace a keyboard character with the special symbol, but that's not
> desirable.
>
> Thanks,
>
> Ian
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost