Using textCurves with bold fonts

udi256
Explorer

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!


0 Likes
Reply
267 Views
0 Replies
Replies (0)