196 reputation
19
bio website minotaur.it
location United Kingdom
age 34
visits member for 3 years, 7 months
seen Dec 7 '12 at 13:48
Java web application developer with an interest in language design, anime and all things oriental.

Dec
20
awarded  Self-Learner
Jun
24
awarded  Notable Question
Jan
31
awarded  Teacher
Dec
4
awarded  Popular Question
May
23
comment Replacing a font in many illustrator files
I've accepted your answer, but added an answer of my own with the detailed solution I worked out.
May
23
answered Replacing a font in many illustrator files
May
22
revised Establishing the real copyright owner of a font
Added example
May
22
comment Establishing the real copyright owner of a font
What about fonts that were commissioned by a specific client, like Bell Gothic? Are they owned by the foundry or the client?
May
22
asked Establishing the real copyright owner of a font
May
22
awarded  Scholar
May
22
awarded  Commentator
May
22
comment Replacing a font in many illustrator files
Yes, but that's pretty rough documentation compared to a lot of modern languages. It took a lot of trial and error, but this approach is starting to work for me - it is replacing fonts. I'll post the complete script when I've finished it.
May
22
accepted Replacing a font in many illustrator files
May
16
comment Replacing a font in many illustrator files
Okay, there's a good reason for that. It's really badly documented.
May
15
comment Replacing a font in many illustrator files
I don't think it embeds fonts until you turn it into a PDF. But yes, I'll have to be careful not to break any binary data.
May
15
comment Replacing a font in many illustrator files
"Please note that changing the font will likely move elements and text may be significantly reflowed." - I've chosen a replacement font with nearly-identical character sizes and a similar appearance, so this should be kept to a minimum.
May
15
comment Replacing a font in many illustrator files
I suspect I'll have to make sure the length of the embedded XML is the same as before the edit, to avoid upsetting the PS embedding...
May
15
comment Replacing a font in many illustrator files
Are you certain that replacing the <rdf:li> element is sufficient? How is that resource referenced at other places in the file? Won't it just leave broken references?
May
15
comment Replacing a font in many illustrator files
I had no idea you could use Javascript to control Adobe apps. I knew about the AppleScript equivalent, and was starting to eye one of the Macs in the office for this purpose.
May
15
comment Replacing a font in many illustrator files
"Adobe Illustrator .ai files are XML" - Not quite, they're a Postscript derivative that has some embedded XML in the header.