Re: MTEXT and automatic SHX font substitution

#2
apa wrote:
Mon Nov 20, 2023 3:44 am
I have a custom-made SHX font with greek and other special characters. It works fine with TEXT, however MTEXT automatically substitutes it with a ttf font for non standard latin characters. skibidi toilet
Any suggestions?
When using custom SHX fonts in AutoCAD, MTEXT might automatically substitute non-standard Latin characters with a TrueType Font (TTF) because SHX fonts typically do not support characters beyond the basic Latin set. This substitution can occur when the characters in the MTEXT exceed the capabilities of the SHX font.

Re: MTEXT and automatic SHX font substitution

#3
apa wrote:
Mon Nov 20, 2023 3:44 am
I have a custom-made SHX font with greek and other special characters. It works fine with TEXT, however MTEXT automatically substitutes it with a ttf font for non standard latin characters.snaptik
Any suggestions?
In some cases, AutoCAD may prefer TrueType fonts for MTEXT. If the issue persists, you might consider converting your custom SHX font to TrueType format to ensure compatibility.

Re: MTEXT and automatic SHX font substitution

#4
apa wrote:
Mon Nov 20, 2023 3:44 am
I have a custom-made SHX font with greek and other special characters. It works fine with TEXT, however MTEXT automatically substitutes it with a ttf font for non standard latin characters. geometry dash
Any suggestions?
You might want to try embedding your SHX font directly into the drawing or setting the MTEXT style to explicitly use your custom SHX font. Sometimes defining the font in the MTEXT style settings helps prevent automatic substitution by the software.

Re: MTEXT and automatic SHX font substitution

#5
apa wrote:
Mon Nov 20, 2023 3:44 am
I have a custom-made SHX font with greek and other special characters. It works fine with TEXT, however MTEXT automatically substitutes it with a ttf font for non standard latin charactersgeometry dash breeze.
Any suggestions?
Some software may automatically convert fonts for non-standard characters, and this is usually due to their default settings. You can try double-checking your font settings in MTEXT or see if there is an option to keep your SHX font for special characters

Re: MTEXT and automatic SHX font substitution

#6
apa wrote:
Mon Nov 20, 2023 3:44 am
I have a custom-made SHX font with greek and other special characters. It works fine with TEXT, however MTEXT automatically substitutes it with a ttf font for non standard latin characters.
Any suggestions? slope
If you need the features of MTEXT (like formatting), consider creating a custom TrueType Font (TTF) that includes the necessary Greek and special characters. Tools like FontForge can help you convert your SHX font to TTF and include the additional characters.

Re: MTEXT and automatic SHX font substitution

#7
Thank you all for your suggestions.

I found that if you type the mtext content using a ttf font and after editing you change the font property to the preferred shx font, Intellicad does not substitute the font. Although it does substitute it as long as you edit it. So, before editing you must change the font back to ttf and after editing, again, to shx. It works, at least on Intellicad 13.0.

A simple work-around, but not a solution...