@NexusEngenharia wrote:
.... it works properly, but only with some fonts, i've noticed that Arial and Harrington works, but bahnschrift and vivaldi are some of the ones that doesn't work, and in my case, i needed to change it to bahnschrift
I don't have BAHNSCHRIFT, but I have VIVALDI, so I experimented. Notice:
Command: -STYLE
Enter name of text style or [?] <Standard>: {Enter to accept default}
Existing style. Full font name = Vivaldi Italic
Specify font name or font filename (for SHX) <Vivaldi>: VIVALDI {typed in}
Font not available.
Command: -STYLE
Enter name of text style or [?] <Standard>:
Existing style. Full font name = Vivaldi Italic
Specify font name or font filename (for SHX) <Vivaldi>: {Enter to accept default}
Specify height of text or [Annotative] <0'-0">: OK
Command: -STYLE
Enter name of text style or [?] <Standard>: test
New style.
Specify font name or font filename (for SHX) <txt>: VIVALDI ITALIC {typed in full}
Specify height of text or [Annotative] <0'-0">: OK
So it seems you need to use the Full spelling of the font name, which apparently is not always be the way it is shown to you. If you create a STYLE with the dialog box, and assign the font through the font list there, and set it current, then call up a -STYLE command and accept the current Style name, it should give you the "Full font name" to put into your Script.
Kent Cooper, AIA