Skip to content

Commit 5fd0623

Browse files
committed
Update migration doc
1 parent e264e67 commit 5fd0623

File tree

7 files changed

+78
-3
lines changed

7 files changed

+78
-3
lines changed

docs/CSS02-quickstart.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ Other scripts are available:
118118
- `build:ltr` for default stylesheets (Left to Right);
119119
- `build:rtl` for Right to Left stylesheets;
120120
- `build:cjk` for CJK scripts;
121-
- `build:vertical` for CJK and the Mongolian scripts in vertical writing.
121+
- `build:vertical` for CJK and the Mongolian scripts in vertical writing;
122+
- `build:web` for Web Publications stylesheets.
122123

123124
### Additional info
124125

docs/CSS28-migration_guide.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,4 +231,30 @@ The 5 following custom properties are available:
231231
- `--RS__scrollPaddingLeft`
232232
- `--RS__scrollPaddingRight`
233233

234-
They accept the same values as the CSS property `padding`.
234+
They accept the same values as the CSS property `padding`.
235+
236+
## Ligatures moved to the global space
237+
238+
As of version `2.0.0-beta.21`, ligatures are no longer limited to RTL (arabic and farsi scripts). The setting is now available in Latin scripts as well.
239+
240+
## Experimental Web Publications stylesheet
241+
242+
As of version `2.0.0-beta.21`, ReadiumCSS provides an experimental stylesheet for Web Publications. It ships with the following features:
243+
244+
- font-family
245+
- font variations (weight, width, optical-sizing)
246+
- hyphens
247+
- letter spacing
248+
- ligatures
249+
- line height
250+
- paragraph indent
251+
- paragraph spacing
252+
- Ruby annotations disabling
253+
- text alignment
254+
- text normalization
255+
- word spacing
256+
- zoom
257+
258+
As well as the patching of zoom for iOS and iPadOS. **Note there is no fallback in case the `zoom` CSS property is not supported.**
259+
260+
Typically, you would use zoom for all web publications, and the rest of the styles if the web publication’s accessibility metadata contains feature `displayTransformability`.

docs/ReadiumCSS_docs.epub

454 Bytes
Binary file not shown.

docs/ReadiumCSS_docs/OEBPS/Text/Section-002.xhtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@
161161

162162
<li><code>build:cjk</code> for CJK scripts;</li>
163163

164-
<li><code>build:vertical</code> for CJK and the Mongolian scripts in vertical writing.</li>
164+
<li><code>build:vertical</code> for CJK and the Mongolian scripts in vertical writing;</li>
165+
166+
<li><code>build:web</code> for Web Publications stylesheets.</li>
165167
</ul>
166168
</section>
167169

docs/ReadiumCSS_docs/OEBPS/Text/Section-028.xhtml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,34 @@ const backgroundColor = defaultColors.RS__backgroundColor;</code></pre>
281281

282282
<p>They accept the same values as the CSS property <code>padding</code>.</p>
283283
</section>
284+
285+
<section id="ligatures-moved" class="level2">
286+
<h2 id="sigil_toc_id_217">Ligatures moved to the global space</h2>
287+
288+
<p>Since version <code>2.0.0-beta.21</code>, ligatures are no longer limited to RTL (arabic and farsi scripts). The setting is now available in Latin scripts as well.</p>
289+
</section>
290+
291+
<section id="experimental-web-publications-stylesheet" class="level2">
292+
<h2 id="sigil_toc_id_218">Experimental Web Publications stylesheet</h2>
293+
294+
<p>Since version <code>2.0.0-beta.21</code>, ReadiumCSS provides an experimental stylesheet for Web Publications. It ships with the following features:</p>
295+
296+
<ul>
297+
<li>font-family</li>
298+
<li>font variations (weight, width, optical-sizing)</li>
299+
<li>hyphens</li>
300+
<li>letter spacing</li>
301+
<li>ligatures</li>
302+
<li>line height</li>
303+
<li>paragraph indent</li>
304+
<li>paragraph spacing</li>
305+
<li>Ruby annotations disabling</li>
306+
</ul>
307+
308+
<p>As well as the patching of zoom for iOS and iPadOS. <strong>Note there is no fallback in case the <code>zoom</code> CSS property is not supported.</strong></p>
309+
310+
<p>Typically, you would use zoom for all web publications, and the rest of the styles if the web publication’s accessibility metadata contains feature <code>displayTransformability</code>.</p>
311+
</section>
284312
</section>
285313
</body>
286314
</html>

docs/ReadiumCSS_docs/OEBPS/Text/nav.xhtml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,12 @@
753753
<li>
754754
<a href="../Text/Section-028.xhtml#sigil_toc_id_216">Addition of scroll-padding module</a>
755755
</li>
756+
<li>
757+
<a href="../Text/Section-028.xhtml#sigil_toc_id_217">Ligatures moved to the global space</a>
758+
</li>
759+
<li>
760+
<a href="../Text/Section-028.xhtml#sigil_toc_id_218">Experimental Web Publications stylesheet</a>
761+
</li>
756762
</ol>
757763
</li>
758764
</ol>

docs/ReadiumCSS_docs/OEBPS/toc.ncx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,6 +1377,18 @@
13771377
</navLabel>
13781378
<content src="Text/Section-028.xhtml#sigil_toc_id_216"/>
13791379
</navPoint>
1380+
<navPoint id="navPoint229">
1381+
<navLabel>
1382+
<text>Ligatures moved to the global space</text>
1383+
</navLabel>
1384+
<content src="Text/Section-028.xhtml#sigil_toc_id_217"/>
1385+
</navPoint>
1386+
<navPoint id="navPoint230">
1387+
<navLabel>
1388+
<text>Experimental Web Publications stylesheet</text>
1389+
</navLabel>
1390+
<content src="Text/Section-028.xhtml#sigil_toc_id_218"/>
1391+
</navPoint>
13801392
</navPoint>
13811393
</navMap>
13821394
</ncx>

0 commit comments

Comments
 (0)