You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CSS01-readiumcss_fundamentals.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,6 @@ We’ve also made sure that, for most “hardcoded” styles you might add when
46
46
47
47
This last principle is important since the relationship between authors and Reading Systems’ developers has not been really great so far.
48
48
49
-
Therefore, feedback has been collected, samples have been used all along development, and decisions impacting authors have been openly discussed. A public documentation is also available.
49
+
Therefore, feedback has been collected, samples have been used all along development, and decisions impacting authors have been openly discussed. All of this has been publicly documented during research and development.
50
50
51
51
More importantly, we must clearly state what is UA styles and user styles, and why `!important` is used. This process has a significant impact when it comes to transparency since it affects the cascade itself (see user settings recommendations). Should an author file an issue scoped to your implementation, please take the time to explain why you decided to differ and use `!important`, especially as such a decision can likely be backed by users’ feedback in many cases.
Copy file name to clipboardExpand all lines: docs/CSS09-default_fonts.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -490,9 +490,9 @@ font-family: "Latin Modern Math", "STIX Two Math", "XITS Math", "STIX Math", "Li
490
490
491
491
## EBPAJ patch for Japanese
492
492
493
-
The EBPAJ template only references fonts from MS Windows so Readium CSS has to reference fonts from other platforms and override authors’ stylesheets. What it does in this polyfill is keeping the default value used in EBPAJ templates and providing fallbacks for all platforms.
493
+
The EBPAJ template only references fonts from MS Windows so Readium CSS has to reference fonts from other platforms and override authors’ stylesheets. What it does in this patch is keeping the default value used in EBPAJ templates and providing fallbacks for all platforms.
494
494
495
-
Implementers might want to load this polyfill only if they find one of the following metadata items in the OPF package:
495
+
Implementers might want to load this patch only if they find one of the following metadata items in the OPF package:
496
496
497
497
- version 1: `<dc:description id="ebpaj-guide">ebpaj-guide-1.0</dc:description>`
498
498
- version 1.1: `<meta property="ebpaj:guide-version">1.1</meta>`
Which is why conceptualizing this issue as intents may help.
29
29
30
-
Typography is not just a set of settings though, it’s a complex system in which some settings impact other settings. For instance, font-size impacts line-height and line-length, which impacts the number of columns.
30
+
Typography is not just a set of settings though, it’s a complex system in which some settings impact others. For instance, font-size impacts line-height and line-length, which impacts the number of columns.
31
31
32
32
It is up to implementers to pick their preferred approach (minimal set, presets, minimal set/presets with advanced settings, maximal set) since it is primarily an UX issue.
33
33
@@ -59,7 +59,7 @@ For a11y-related typefaces (Open Dyslexic, bold style of sans-serif family), the
59
59
60
60
Declaring a `font-family` for `body`, `p` and `p.class` is so common that it should not be considered an intent per se. While `p.class` is debatable, it is so widespread in practice (some authoring tools output `font-family` for every paragraph style) that it can’t be considered an intent in pure CSS.
61
61
62
-
A different `font-family` can be set for headings (`h1`, `h2`, `h3` etc.), `blockquote`, `i`, `span`, etc.
62
+
A different `font-family` can be set for headings (`h1`, `h2`, `h3`, etc.), `blockquote`, `i`, `span`, etc.
Copy file name to clipboardExpand all lines: docs/CSS15-user_pref_insights.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This is really tricky as **there may be a cultural factor to take into account**
12
12
13
13
When asked directly, the vast majority of users will say they prefer basic settings (reading modes, typeface, and font size) over other options (maximum amount of settings possible, themes, customizable themes). Customizable themes and advanced settings are equally popular, at a distant second place.
14
14
15
-
Once again, this is a complex UX issue and your mileage may vary. On Android for instance, there is a lot of apps with advanced settings as the default, and millions of people use them. So it’s primarily about your UX proposal, people using it, etc.
15
+
Once again, this is a complex UX issue and your mileage may vary. On Android for instance, there is a lot of apps with advanced settings as the default, and millions of people are using them daily. So it’s primarily about your UX proposal, people using it, etc.
16
16
17
17
Hopefully, Readium CSS was designed to take all those options into account: modules are take or leave, which implies you can build any UX from them.
18
18
@@ -24,7 +24,7 @@ We’ve been running forms on this topic but answers can’t be taken at face va
24
24
25
25
People keeping the publisher’s typeface are in the minority (< 15%). Most users at least change the typeface occasionally (see reasons below), although they don’t necessarily do it for each ebook – some ebooks simply use the default typeface so it’s quite complex to measure.
26
26
27
-
What’s important is that **you’d better have some kind of bulletproof set of RS typefaces.** Bulletproof is the keyword here, since it is difficult to imagine a set that will satisfy everybody. There won’t be any silver bullet.
27
+
What’s important is that **you’d better have some kind of bulletproof selection of RS typefaces.**“Bulletproof” is the keyword here, since it is difficult to imagine a selection that will satisfy everybody. There won’t be any silver bullet.
28
28
29
29
Since more people systematically change the publisher’s typeface than those who never do it, **implementers might end up with a huge share of users systematically changing the typeface and could adjust the UX accordingly** (global setting applying the typeface in all books).
Copy file name to clipboardExpand all lines: docs/CSS16-internationalization.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ This could well explain why the most popular Reading Apps tend to implement the
12
12
13
13
Occasionally, when an app does support a language, it can put some constraints on authors, as there is no other way to make sure the publication will be handled well otherwise e.g. specifying the `Hans` or `Hant` script for Chinese (`zh`).
14
14
15
+
We can’t overemphasize the importance of the internationalization process though, as the 24 languages we added extend support to 3,049,150,507 speakers, from the 1,150 people speaking Western Canadian Inuktitut, to the 1,200,000,000 speaking Chinese. In total, we can cover the needs of 5,262,900,507 speakers. Credit where credit is due, this wouldn’t have been possible if Operating Systems and browsers didn’t tackle this process upstream, added fonts for those languages and improved support in rendering engines.
16
+
15
17
## Resources
16
18
17
19
-[W3C Internationalization Working Group Home Page](https://www.w3.org/International/core/Overview)
@@ -208,7 +210,7 @@ The most information we have, the better the fix will be. Please feel free to go
208
210
209
211
### Sending feedback
210
212
211
-
We’re not saying you should do the implementation if we don’t support it at all or very well, but it is noteworthy that we can’t necessarily get all the details right, especially when we don’t know how to speak and write a language or script.
213
+
We’re not saying you should implement a support of script yourself if we don’t support it at all or very well, but it is noteworthy that we can’t necessarily get all the details right, especially when we don’t know how to speak and write the language you wish were supported or improved.
212
214
213
215
If our font-stacks are not good enough, a solider one will help. If we don’t have any font-stack for a language, a basic one will do. Additionally, you can point us to libre/open-source fonts which you think should be recommended to implementers.
Copy file name to clipboardExpand all lines: docs/CSS17-i18n_typography.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ For vertical text the placement needs to be to the right or left of the line of
32
32
33
33
Bold and italic are not always appropriate for expressing emphasis, and some scripts have their own unique ways of doing it.
34
34
35
-
In Japanese, a sans-serif font or emphasis dots (horizontal writing) or sesame (vertical writing) may be used to express emphasis.
35
+
In Japanese, a sans-serif font, or emphasis dots (horizontal writing) and sesame (vertical writing) may be used to express emphasis.
36
36
37
37
In the Amharic Script (Ethiopic), underlines, larger text or a different color may be used to express emphasis.
38
38
@@ -54,7 +54,7 @@ Although CJK doesn’t use hyphenation, documents may contain other scripts whic
54
54
55
55
Typographic conventions for full text justification depend on the writing system, the content language, and the calligraphic style of the text. Some scripts have complex methods the rendering engine doesn’t necessarily support.
56
56
57
-
Kashida elongation is not supported for the Arabic script for instance (`text-justify`), but authors may be using the tatweel (see [i18n glossary doc](../docs/CSS26-i18n_glossary.md)) to elongate some words.
57
+
Kashida elongation is not supported for the Arabic script for instance (`text-justify`), but authors may be using the tatweel joining character (see [i18n glossary doc](../docs/CSS26-i18n_glossary.md)) to elongate some words.
58
58
59
59
Chinese and Japanese are using `inter-character` justification for instance, while Latin uses `inter-word`.
60
60
@@ -64,7 +64,7 @@ In some scripts like CJK, indents are really important. Implementers should not
64
64
65
65
## Vertical text
66
66
67
-
Implementers must not try to offer users with a setting allowing users to switch from the vertical to horizontal writing mode, and vice versa, unless they support alternate stylesheets and the publication provides one for each mode. Indeed, characters, punctuation, emphasis marks, quotes, and so on and so forth, depend on the writing mode used, and an automatic switch would provide users with a subpar experience.
67
+
Implementers must not try to provide a setting allowing users to switch from the vertical to horizontal writing mode, and vice versa, unless they support alternate stylesheets and the publication provides one for each mode. Indeed, characters, punctuation, emphasis marks, quotes, and so on and so forth, depend on the writing mode used, and an automatic switch would provide users with a subpar experience.
68
68
69
69
It's common for content authors to want to mix short horizontal runs of text, such as the tate-chu-yoko i.e. 2-digit numbers (`text-combine-upright`) or acronyms (`text-orientation`), in a vertical text.
Copy file name to clipboardExpand all lines: docs/CSS25-performance_hacks.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,7 @@ The `contain` property indicates that **the element and its contents are, as muc
145
145
146
146
This allows the browser to recalculate layout, style, paint, size, or any combination of them for a limited area of the DOM and not the entire page. To put it simply, it lets developers limit the scope of the browser's styles, layout and paint work.
147
147
148
-
It was primarily meants for webpages which contain a lot of widgets that are all independent as it can be used to prevent one widget's CSS rules from changing other things on the page.
148
+
It was primarily meant for webpages which contain a lot of widgets that are all independent as it can be used to prevent one widget's CSS rules from changing other things on the page.
<dd>A line adjustment rule that prohibits inserting any space between specific combinations of characters. (JIS Z 8125)</dd>
305
308
@@ -411,9 +414,6 @@ This glossary has been created from the <a href="https://www.w3.org/TR/jlreq/#te
411
414
<dt>Vertical writing mode / Tate gumi (縦組)</dt>
412
415
<dd>The process or the result of arranging characters on a line from top to bottom, of lines on a page from right to left, and/or of columns on a page from top to bottom. (JIS Z 8125)</dd>
413
416
414
-
<dt>Inline cutting note / Warichu (割注)</dt>
415
-
<dd>A note of two or more lines inserted in the text. It includes brackets which surround the note (JIS Z 8125)</dd>
Copy file name to clipboardExpand all lines: docs/ReadiumCSS_docs/OEBPS/Text/Section-001.xhtml
+1-1
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@
74
74
75
75
<p>This last principle is important since the relationship between authors and Reading Systems’ developers has not been really great so far.</p>
76
76
77
-
<p>Therefore, feedback has been collected, samples have been used all along development, and decisions impacting authors have been openly discussed. A public documentation is also available.</p>
77
+
<p>Therefore, feedback has been collected, samples have been used all along development, and decisions impacting authors have been openly discussed. All of this has been publicly documented during research and development.</p>
78
78
79
79
<p>More importantly, we must clearly state what is UA styles and user styles, and why <code>!important</code> is used. This process has a significant impact when it comes to transparency since it affects the cascade itself (see user settings recommendations). Should an author file an issue scoped to your implementation, please take the time to explain why you decided to differ and use <code>!important</code>, especially as such a decision can likely be backed by users’ feedback in many cases.</p>
<h2id="sigil_toc_id_130">EBPAJ patch for Japanese</h2>
947
947
948
-
<p>The EBPAJ template only references fonts from MS Windows so Readium CSS has to reference fonts from other platforms and override authors’ stylesheets. What it does in this polyfill is keeping the default value used in EBPAJ templates and providing fallbacks for all platforms.</p>
948
+
<p>The EBPAJ template only references fonts from MS Windows so Readium CSS has to reference fonts from other platforms and override authors’ stylesheets. What it does in this patch is keeping the default value used in EBPAJ templates and providing fallbacks for all platforms.</p>
949
949
950
-
<p>Implementers might want to load this polyfill only if they find one of the following metadata items in the OPF package:</p>
950
+
<p>Implementers might want to load this patch only if they find one of the following metadata items in the OPF package:</p>
Copy file name to clipboardExpand all lines: docs/ReadiumCSS_docs/OEBPS/Text/Section-014.xhtml
+2-2
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@
48
48
49
49
<p>Which is why conceptualizing this issue as intents may help.</p>
50
50
51
-
<p>Typography is not just a set of settings though, it’s a complex system in which some settings impact other settings. For instance, font-size impacts line-height and line-length, which impacts the number of columns.</p>
51
+
<p>Typography is not just a set of settings though, it’s a complex system in which some settings impact others. For instance, font-size impacts line-height and line-length, which impacts the number of columns.</p>
52
52
53
53
<p>It is up to implementers to pick their preferred approach (minimal set, presets, minimal set/presets with advanced settings, maximal set) since it is primarily an UX issue.</p>
54
54
</section>
@@ -93,7 +93,7 @@
93
93
94
94
<p>Declaring a <code>font-family</code> for <code>body</code>, <code>p</code> and <code>p.class</code> is so common that it should not be considered an intent <i>per se</i>. While <code>p.class</code> is debatable, it is so widespread in practice (some authoring tools output <code>font-family</code> for every paragraph style) that it can’t be considered an intent in pure CSS.</p>
95
95
96
-
<p>A different <code>font-family</code> can be set for headings (<code>h1</code>, <code>h2</code>, <code>h3</code> etc.), <code>blockquote</code>, <code>i</code>, <code>span</code>, etc.</p>
96
+
<p>A different <code>font-family</code> can be set for headings (<code>h1</code>, <code>h2</code>, <code>h3</code>, etc.), <code>blockquote</code>, <code>i</code>, <code>span</code>, etc.</p>
0 commit comments