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 -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -