Jump to content

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

Link to comment
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

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.6.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

Link to comment
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.

Link to comment
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

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.6.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

Link to comment
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.





 

Link to comment
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

Link to comment
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

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.6.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

Link to comment
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. 

Link to comment
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

   Desktop: new:  Windows 11 Home, version 21H2 (22000.613) 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090  (old: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970 )
   Laptop:  Windows 10 Home, version 21H2 (19044.1706) 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Affinity Photo 1.10.5 (.1342) and 1.10.5.1342 Beta   / Affinity Designer 1.10.5 (.1342) and 1.10.5.1342 Beta  / Affinity Publisher 1.10.5 (.1342) and 1.10.5.1282 Beta
 iPad Pro M1, 12.9", iPadOS 15.6.1, Apple Pencil 2, Magic Keyboard

  Affinity Photo 1.10.5 (.280) and 1.10.2 (.266) Beta / Affinity Designer 1.10.5 (.21) and 1.10.3 (.19) Beta 

Link to comment
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...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. 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.