c# - Adobe illustrator COM library could not find font -


i'm creating application adobe illustrator. puts label on picture. here code:

        textframe frame = page.layers["textlayer"].textframes.add();         frame .contents = "test";         frame .textrange.characterattributes.textfont = _illustratorapp.textfonts.getfontbyname("arial black");         frame .textrange.characterattributes.size = 48; 

it works, illustrator can't find font name , looks this:

enter image description here

and looks like

enter image description here

if set mannualy looks ok. doing wrong?

p.s. if set font mannualy it's name same


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -