Jump to content

Recommended Posts

First of all, thank you for implementing Asian line breaking rules even though it's still immature.
I will be reporting issues about it here.

The first problem I found is that the rules don't work with directional quotation “”

This is the rules that Microsoft Word uses

Japanese

Can not start line:
!%),.:;?]}¢°’”‰′″℃、。々〉》」』】〕ぁぃぅぇぉっゃゅょゎ゛゜ゝゞァィゥェォッャュョヮヵヶ・ーヽヾ!%),.:;?]}。」、・ァィゥェォャュョッー゙゚¢

Can not end line:
$([\{£¥‘“〈《「『【〔$([{「£¥

Chinese

Can not start line:
!%),.:;>?]}¢¨°·ˇˉ―‖’”…‰′″›℃∶、。〃〉》」』】〕〗〞︶︺︾﹀﹄﹚﹜﹞!"%'),.:;?]`|}~¢

Can not end line:
$([{£¥·‘“〈《「『【〔〖〝﹙﹛﹝$(.[{£¥


This is Adobe's
I guess this is better than Microsoft's since most designers are used to Adobe's
And a reason it's slightly different from Microsoft's can be because Adobe targets Unicode only.

Both Japanese & Chinese

Can not start line:
!),.:;?]}¢—’”‰℃℉、。々〉》」』】〕ぁぃぅぇぉっゃゅょゎ゛゜ゝゞァィゥェォッャュョヮヵヶ・ーヽヾ!%),.:;?]}

Can not end line:
([{£§‘“〈《「『【〒〔#$(@[{¥
 

Inseparable character - can 't be broken when repeated like ………
—‥…

Hanging punctuation - can stick out to outside of the text frame if it's at the right edge.
、。,.

Share this post


Link to post
Share on other sites

THIS ONE IS CRITICAL:

Some of symbols and following symbols should break up.
Did you set no-break rules for them?

e.g.
今日は天気ですね。「おはようございます」

it seems that "。" and "「" are always together side by side without breaking up.
Also it seems that it's applied to these symbols that should break up with following symbols.
!"):;>?]}’”〉》」』】〕〟!),.?]}。」、・

 

 

Share this post


Link to post
Share on other sites

Thanks a lot @ashf, did some quick check with common punctuations I use and most, if not all, seem to working fine now. Haven't done in-depth layout test but at least the punctuation marks are not appearing at the wrong places...

Kudos to Affinity team and if anything you want me to help testing, please don't hesitate to let me know.

Cheers.

Share this post


Link to post
Share on other sites

@GabeWould you be able to disclose all characters that's being targeted on Asian line breaking rules?
So It makes it easier for me to test the rules and give you an opinion.

Share this post


Link to post
Share on other sites
5 hours ago, Gabe said:

We can't provide a list with these at the moment. Sorry :(

a forum user omachi provided test result here(in Japanese) and it seems that there are many characters that's not targeted.
https://cs5.xyz/blog/2020/05/ap184kin_main.html

But on my side, some characters seems to be targeted despite his result. so I wanted to confirm it.

Share this post


Link to post
Share on other sites
9 hours ago, ashf said:

a forum user omachi provided test result here(in Japanese) and it seems that there are many characters that's not targeted.
https://cs5.xyz/blog/2020/05/ap184kin_main.html

But on my side, some characters seems to be targeted despite his result. so I wanted to confirm it.

Kudos to the forum user, it's so comprehensive.

Cheers.

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.


×
×
  • 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.