Skip to main content
cédricl67786023
Inspiring
June 27, 2023
Answered

Force hyphenation with Japanese characters

  • June 27, 2023
  • 4 replies
  • 726 views

Hello,

I am using variableimporter script to import data with English and Japanese texts for my business cards. Sometimes, the Japanese is too long to fit the area allocated and I need to put it on 2 lines. For now I got text one 1 line and it is overlapping a picture, which is not great... So I need to do a line break when the text is too long. By chance, my Japanese sentence (between 2 and 5 words) have spaces between words, so for me, it should be easy to fix it and create automatic line break according space that are already in the sentence (I am already doing that for the English texts of the same document). But the issue is that Adobe Illustrator can't hyphen with Japanese characters. For now, Illlustrator put on the second line only the characters that don't fit the first line ignoring the fact that there are spaces between words that it could deal with.

 

Of course I could use the find and replace tool with "space" or a unique character but, when I am selecting another Data Set I would have to redo the same thing again... which is not comfortable.

 

Is there a trick to force hyphenation (based on spacing) with JP characters in specific situation like this one?

This topic has been closed for replies.
Correct answer cédricl67786023

Thank you all for your help.

I tried something different to achieve the result I want by inserting a special and unique character between my 2 sentences and use a script to create the line break. Someone on another topic has created a small script to do that: https://community.adobe.com/t5/illustrator-discussions/select-all-text-layers-with-the-same-name/m-p/13898654#M371677

4 replies

cédricl67786023
cédricl67786023AuthorCorrect answer
Inspiring
July 5, 2023

Thank you all for your help.

I tried something different to achieve the result I want by inserting a special and unique character between my 2 sentences and use a script to create the line break. Someone on another topic has created a small script to do that: https://community.adobe.com/t5/illustrator-discussions/select-all-text-layers-with-the-same-name/m-p/13898654#M371677

Legend
June 27, 2023

In Japanese, there is no custom of inserting spaces or hyphenation between words. You can reflow as is.

 

To make the Japanese part easier to read, set the Kinsoku Set in the paragraph settings to Soft. Ideally, it would be better if Mojikumi Set were also set, but this is difficult, so I will hold off.

 

renél80416020
Inspiring
June 27, 2023

Votre message manque de précision, (texte de point ou texte captif ?)

de elleere

cédricl67786023
Inspiring
June 27, 2023

At first I was using the classic type tool (the first one in your message), But to avoid overlapping pictures I tried the "Area Type Tool" but now I got the issue with the hyphenation not working.

In your case it would have been nice that Illustrator choose to add a line break just after the "point". It makes more sens. I guess you have a space after the point.

Legend
June 27, 2023

It's just a thought but have you considered using InDesign? It knows a lot about how to do Japanese typography (a lot more than me), see Compose and hyphenate text in Adobe InDesign