Sunday, March 17, 2019

Opening PDF in Illustrator breaks up text objects


I recently had to convert some PDF files to SVG, and did this by opening the PDF in Illustrator, and saving out to SVG.


The issue was that when Illustrator opened the pdf, many (but not all) text objects would be broken up into different text objects. For instance, the word "policy" wouldn't be one text object, but rather several text objects, "po", "l", "icy". There didn't seem to be any rhyme or reason to it.


How can I prevent this from happening?



Answer



Generally this happens to maintain appearance.



If the text interacts with other objects it may be broken up. If the font embedded in the PDF is a subset, rather than the entire font, it can be broken up in AI so that AI can insert the missing characters from the subset.


There's little you can do to stop this from happening other than working in and saving to the same version of Illustrator each time. And only saving a PDF as a separate file for output, not editing.




But you can correct it in Illustrator by selecting the text strings with the Direct Selection Tool or Selection Tool, Edit > Copy, then start a new point or area text and Edit > Paste. The pasted text will be one string rather than the pieces which were copied.


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...