Jump to content
ashf

Hyphenation for English words in Asian language.

Recommended Posts

Please make hyphenation for English words in Asian language possible.
If I enable hyphenation on Asian text, text style will be totally broken.

Adobe's can hyphenate only English words in an Asian language.(Refer attached image)


 

Image 2019-06-22 at 11.21.06 PM.png

Share this post


Link to post
Share on other sites

I think this is already supported.

Define the Paragraph Text Styles that you use for the Asian language as having a hyphenation language of None.

Then define the Character Text Style that you use for English as having a hyphenation language of English.

This kind of setup works for spell checking, and I think it will work for hyphenation, though I don't have time to check right now. Sorry.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.4.693 and 1.8.4.693 Beta   / Affinity Designer 1.8.4.693 and 1.8.4.693 Beta  / Affinity Publisher 1.8.4.693 and 1.8.4.687 Beta.

Share this post


Link to post
Share on other sites
4 hours ago, walt.farrell said:

Then define the Character Text Style that you use for English as having a hyphenation language of English.

Does this mean I have to set a style to each English word/sentence?

Adobe's does this automatically without setting manually.

Share this post


Link to post
Share on other sites

Yes, you should apply a style for each different language you're using. 

I don't see how an application could figure out the language for spell checking or hyphenation automatically, in general, without such a hint from the user.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.4.693 and 1.8.4.693 Beta   / Affinity Designer 1.8.4.693 and 1.8.4.693 Beta  / Affinity Publisher 1.8.4.693 and 1.8.4.687 Beta.

Share this post


Link to post
Share on other sites
3 minutes ago, walt.farrell said:

I don't see how an application could figure out the language for spell checking or hyphenation automatically, in general, without such a hint from the user.

How about special hyphenation rule that ignores non-alphabet characters for Asian languages?
(But specify certain language to alphabet characters such as English - to entire content)
I suppose Adobe is doing so.

Basically alphabets are for foreign words in Japanese or Chinese.
It's easy to judge what to target.





 

Share this post


Link to post
Share on other sites

The text in the original post was set to English(Refer attached image)
There is no selection for Chinese/Japanese in the language list, but I enabled "East Asian feature" in the Type setting.
That's how I created the text on Adobe.

Image 2019-06-23 at 4.36.52 PM.png

Share this post


Link to post
Share on other sites

I don't work with Asian languages, but I would expect that you'd use a different font for the English vs the Asian text. If so, your most efficient workflow for doing that would probably be to apply the font based on the paragraph or character style you've chosen. And at that point, in addition to selecting the font your style could set the language appropriately, or enable the East Asian feature.

Beyond that (or even at this point) I'm beyond my level of experience. Sorry.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.4.693 and 1.8.4.693 Beta   / Affinity Designer 1.8.4.693 and 1.8.4.693 Beta  / Affinity Publisher 1.8.4.693 and 1.8.4.687 Beta.

Share this post


Link to post
Share on other sites
2 hours ago, walt.farrell said:

I don't work with Asian languages, but I would expect that you'd use a different font for the English vs the Asian text.

No, the same font are used for both Asian language and English in most of case. 

Share this post


Link to post
Share on other sites
7 minutes ago, ashf said:

No, the same font are used for both Asian language and English in most of case. 

Interesting. Thanks for the info.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.4.693 and 1.8.4.693 Beta   / Affinity Designer 1.8.4.693 and 1.8.4.693 Beta  / Affinity Publisher 1.8.4.693 and 1.8.4.687 Beta.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.