w3c / w3c/clreq

How does line start/end overflow work for romanised phonetic annotations?

Open
#128 0 comments 0 reactions 1 assignee View on GitHub

@ryukeikun is already working on this.

Since Oct 12, 2018.

問題/question 未來工作/future
Dominant language
HTML
Stars
809
Forks
66
Avg merge
19m
Merged PRs (30d)
1

Description

The following is my understanding of the jLReq rules for dealing with situations where an annotation would otherwise protrude outside a line start or end. Are the Chinese rules the same or different? (In either case, it would be useful to say something in cLReq, i think.)


Is the annotation longer than the base text?
NO There’s no problem to solve here. Stop.
YES Carry on.

Is the annotation wanting to extend beyond the line start or end?
NO You need to use rules about overhang, rather than these. Stop.
YES Carry on.

You have two choices:

  1. FLUSH Both annotation and base are aligned with line end. The annotation is aligned with the start of the base (katatsuke).
    img2_3_35

  2. OFFSET The base is moved away from the line end. The annotation is aligned with the middle of the base (nakatsuke).
    img2_3_34

In either case, the bit of the annotation that overflows the base on the inside of the line will need to be positioned relative to the adjacent base characters using the rules for overhang (which are described elsewhere).

Did you choose FLUSH when there are multiple base characters for the annotation (ie. group ruby)?
NO You’re ok. Stop.
YES You should spread out the base characters, using equal amounts of space.

img2_3_36

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.