Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding
Announcements
We are currently migrating data within this board to improve the community. During this process, posting, replying, editing and other features are temporarily disabled. We sincerely apologize for any inconvenience caused and appreciate your understanding. Thank you for your patience and support.

Using textCurves with bold fonts

udi256
Explorer Explorer
279 Views
0 Replies
Message 1 of 1

Using textCurves with bold fonts

udi256
Explorer
Explorer

Hi All,

I'm trying to use the "textCurves" command via a script to create text curves. It works ok, but it seems to fail every time I try to specify a bold font. See the strange behaviors I get below.
I know I can get curves from a "type" object, but this requires the UI. I want to create text curves for a bold font via a script.

In past versions the following worked: textCurves -f "Georgia|w400" -t "something"
It created a bold version of the text.
With recent versions (I checked since 2022) I get the regular version of the font, and this warning:
// Warning: line 1: Could not find an exact match for font 'Georgia, 28.0pt'.
In fact  I get this warning no matter what I do. And I can't get the bold version no matter what I do.

Also I have installed several variants of "Roboto" font as separate fonts. For example "Roboto Medium" and "Roboto Black". Specifying "Roboto" in textCurves works fine, but  specifying "Roboto Medium" or "Roboto Black" causes an error:
// Error: line 1: Failed to create the text with the specified font //

Any ideas how to use textCurves for bold fonts?
Thanks!


Reply
Reply
0 Likes
280 Views
0 Replies
Replies (0)