View Full Version : Symbols in Text not Working
stilesj
2004-06-15, 08:25 PM
When I try to insert a symbol, such as centerline, into Mtext, it automatically puts it into the ISOCPEUR font, regardless of the text style.
If I change it to RomanS, our standard font, it appears correctly in the editing window. However, as soon as I exit, it shows as a ? on the screen.
The AutoCAD help file states:
The new text symbols are available in the following True Type (TTF) and SHX fonts:
Simplex
RomanS<LI class=bullet_1>Isocp <LI class=bullet_1>Isocp2 <LI class=bullet_1>Isocp3 <LI class=bullet_1>Isoct <LI class=bullet_1>Isoct2 <LI class=bullet_1>Isoct3 <LI class=bullet_1>Isocpeur (TTF only) <LI class=bullet_1>Isocpeur italic (TTF only)
Isocteur (TTF only)
Isocteur italic (TTF only)
When I tried Simplex, also, it showed up as the code (\U+2104) on the screen. Am I doing something wrong or does this just not work as advertised?
mjfarrell
2004-06-15, 09:40 PM
Im thinking that perhaps those fonts were not
properly registered by your OS so they fail to work
correctly in ACAD
Mike.Perry
2004-06-16, 08:09 AM
Hi
The below may also help a little, comes from the AutoCAD Online Help File [F1] -
<snip>
The current code page is dependent upon the operating system. To change the code page, see your operating system documentation. When you open a drawing containing fonts or characters unsupported by your operating system, the unsupported characters are converted to control characters with the format \U+xxxx before a text string is actually drawn. U represents the Unicode shape number, and xxxx is the hexadecimal value of the Unicode character.
</snip>
<snip>
Note: These control characters are also used by the AutoCAD database handler. Any Unicode shape numbers not representable in the current code page are converted to such control codes.
Characters in text strings that are unavailable in the current font including any Unicode control characters are displayed as question marks. However, Unicode control characters are not interpreted if the current font does not support Unicode. In that case, the control characters are displayed literally.
</snip>
For more info look-up Unicode.
Have a good one, Mike
stilesj
2004-06-16, 12:54 PM
I'm sorry, you totally lost me there :)
I understand that the codes are unicode and that that doesn't work with every font, but I don't understand why it doesn't work with RomanS or Simplex when AutoCAD's help file specifically states that the new symbols provided in Mtext (I'm talking specifically about the extra ones added to the right-click menu, initially with 2004's Tool Palettes Extension) are available in RomanS and Simplex.
Am I misunderstanding their help file, or is it blatantly incorrect?
Also, I'm not sure I understand what is meant by my operating system supporting the font. These are shx fonts and we have used them with AutoCAD successfully from Windows NT 4.0 to Windows XP Pro. They show up with all standard text. How would they not be supported?
Thanks very much for your patience and help!
Mike.Perry
2004-06-16, 01:30 PM
Hi
What is returned to the AutoCAD CommandLine when you enter SYSCODEPAGE ?
Silly question coming up, are you 100% that AutoCAD is using the new Font Files shipped with AutoCAD 2005; is there any chance AutoCAD could be picking up any old Font Files that are in the AutoCAD Search Path.
The Operating System must be able to translate the definitions defined within the Font File (regardless if it's a .SHX or .TTF Font File) so Text Characters can be displayed correctly.
Have a good one, Mike
stilesj
2004-06-16, 01:41 PM
SYSCODEPAGE = "ANSI_1252" (read only)
Also, your question did not turn out to be silly at all. I didn't realize that the fonts might change with different releases...how silly of me! We use most of our support files off the shared drive and I work so hard to make sure everything's up-to-date with each new release. However, with fonts, I was probably using the RomanS that came with R14!
Thanks for the help!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.