Skip to content

Commit 8a3a278

Browse files
authored
Merge pull request #60 from kba/ruby-chars
Ruby character section merged into "Font,Language" section, #51
2 parents e45869d + 3ea4a24 commit 8a3a278

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

1.2/index.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,6 @@ <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2>
15371537
<li><a href="#non-breaking-space"><span class="secno">6.1.7</span> <span class="content">Non-breaking space</span></a>
15381538
<li><a href="#non-default-spaces"><span class="secno">6.1.8</span> <span class="content">Non-default spaces</span></a>
15391539
<li><a href="#hyphenation"><span class="secno">6.1.9</span> <span class="content">Hyphenation</span></a>
1540-
<li><a href="#ruby-characters"><span class="secno">6.1.10</span> <span class="content">Ruby characters</span></a>
15411540
</ol>
15421541
</ol>
15431542
<li>
@@ -2128,8 +2127,6 @@ <h4 class="heading settled" data-level="6.1.9" id="hyphenation"><span class="sec
21282127
<p>Soft hyphens must be represented using the HTML <code>&amp;shy;</code> entity.</p>
21292128
<p>The HTML <a href="https://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.2.5"><code>&amp;lrm;</code> and <code>&amp;rlm;</code> entities</a> (indicating writing direction) must not be used; all
21302129
writing direction changes must be indicated with tags.</p>
2131-
<h4 class="heading settled" data-level="6.1.10" id="ruby-characters"><span class="secno">6.1.10. </span><span class="content">Ruby characters</span><a class="self-link" href="#ruby-characters"></a></h4>
2132-
<p><a href="https://en.wikipedia.org/wiki/Ruby_character">Furigana and similar constructs</a> must be represented using their correct Unicode encoding.</p>
21332130
<h2 class="heading settled" data-level="7" id="character-information"><span class="secno">7. </span><span class="content">Character Information</span><a class="self-link" href="#character-information"></a></h2>
21342131
<h3 class="heading settled" data-level="7.1" id="character-classes"><span class="secno">7.1. </span><span class="content">Classes for Character Information</span><a class="self-link" href="#character-classes"></a></h3>
21352132
<p>Character-level information may be put on any element that contains only a
@@ -2290,6 +2287,7 @@ <h2 class="heading settled" data-level="9" id="font-lang"><span class="secno">9.
22902287
<p>The CSS3 text layout attributes can be used when necessary. For example, CSS
22912288
supports writing-mode, direction, glyph-orientation <a data-link-type="biblio" href="#biblio-iso15924">[ISO15924]</a>-based
22922289
script (<a href="http://www.unicode.org/iso15924/codelists.html">list of codes</a>), text-indent, etc.</p>
2290+
<p><a href="https://en.wikipedia.org/wiki/Ruby_character">Furigana and similar constructs</a> must be represented using their correct Unicode encoding.</p>
22932291
<h2 class="heading settled" data-level="10" id="segmentation"><span class="secno">10. </span><span class="content">Alternative Segmentations / Readings</span><a class="self-link" href="#segmentation"></a></h2>
22942292
<p class="issue" id="issue-b35297dd"><a class="self-link" href="#issue-b35297dd"></a> <a href="https://github.com/kba/hocr-spec/issues/9">Delete x_cost</a></p>
22952293
<p>Alternative segmentations and readings are indicated by a <code>&lt;span></code> with <code>class="alternatives"</code>. It must contains <code>&lt;ins></code> and <code>&lt;del></code> elements. The first

1.2/spec.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -618,10 +618,6 @@ The HTML <a href="https://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.2.5">
618618
`&rlm;` entities</a> (indicating writing direction) must not be used; all
619619
writing direction changes must be indicated with tags.
620620

621-
### Ruby characters
622-
623-
[Furigana and similar constructs](https://en.wikipedia.org/wiki/Ruby_character)
624-
must be represented using their correct Unicode encoding.
625621

626622
Character Information {#character-information}
627623
=====================
@@ -799,6 +795,9 @@ The CSS3 text layout attributes can be used when necessary. For example, CSS
799795
supports writing-mode, direction, glyph-orientation [[ISO15924]]-based
800796
script ([list of codes](http://www.unicode.org/iso15924/codelists.html)), text-indent, etc.
801797

798+
[Furigana and similar constructs](https://en.wikipedia.org/wiki/Ruby_character)
799+
must be represented using their correct Unicode encoding.
800+
802801

803802
Alternative Segmentations / Readings {#segmentation}
804803
====================================

0 commit comments

Comments
 (0)