Obscure feature about fonts that I wonder how it works (HARDCODED fonts!)

Anonymous

Obscure feature about fonts that I wonder how it works (HARDCODED fonts!)

Anonymous
Not applicable

This is very hard to google so I have to ask. In a drawing I was updating, I noticed that my MTEXTs showed normally their text in the "Contents" property but one of the old ones had included HARDCODED in it a font in the form of "{\Arial|b0|i0|c161|p35;    <my text here>       \fArial|b0... <etc.>" and I wonder how it works, what is it, how can I find more about it, because it's so counter-intuitive because the STYLE clearly states it should be Calibri and THERE WAS NO OBVIOUS WAY TO CHANGE IT FROM ARIAL unless I deleted the MTEXT entirely.

0 Likes
Reply
Accepted solutions (2)
715 Views
7 Replies
Replies (7)

Alfred.NESWADBA
Consultant
Consultant
Accepted solution

Hi,

 

that means that someone edited the MTEXT object and overwrote the font, like that:

 

20191021_152525_0001.png

 

So the global setting of an MTEXT means "follow the assigned text-style" ... but whenever someone marks characters within the text and assign them a different setting the text-style is not applied any more to that part of the MTEXT.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)

Anonymous
Not applicable

I did manage to find something more about it right after I posted the OP (because the word "hardcoded" came to mind when writing it and it seems to help googling about it).  https://forums.autodesk.com/t5/autocad-forum/font-mystery/td-p/15573  (though I don't know if covers the whole story).

0 Likes

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

here you can find an AKN article describing that in more detail with some ideas about getting that solved >>>click<<<

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)

dbroad
Mentor
Mentor
Accepted solution

Mtext allows you to individually format characters like with a word processor.  If formatting was applied in error, edit the mtext, key-in CTRL+A (or while a selection within the mtext that has formatted characters is active), and push the clear button.  If you have problems with lots of mtext, download and use Steve Doman's strip mtext 

How to clear formatting while in mtedit.How to clear formatting while in mtedit.

 
Architect, Registered NC, VA, SC, & GA.

Anonymous
Not applicable

Thanks Alfred, that seems to clearly fix the initial problem I had, because it lead me to figure out there's a "Clear" there too which clears to the default of the Style (which is obviously what many people may want). I guess the old URL I found (in a reply here) could be helpful but not needed (and I finally realize that whole thing is just a regular acad feature that shouldn't surprise me at all but it caught me of guard because I was dealing with a small single-line MTEXT at the time).

0 Likes

Anonymous
Not applicable

For the record, I now realize that whole thing is just a regular acad feature on formatting complex text that shouldn't surprise me at all but it caught me off guard because I was dealing with a small single-line MTEXT at the time. I makes me feel silly but it comes to show perspective can be misleading if only the object is in a special state (too small in this case).

0 Likes

TheCADnoob
Mentor
Mentor

As mentioned these are text formatting options. 

 

I have come across them most frequenlty when an external text editor has been used (MTEXTED)

 

The Unicode string controls the formatting

some of the formatting options can be seen here:

https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/Au...

CADnoob

EESignature