Skip to content

Commit a3c1b62

Browse files
authored
Merge pull request #212 from readium/remove-fonts
Remove all things font
2 parents 0a8f564 + 21205c5 commit a3c1b62

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1581
-2705
lines changed

_includes/toc.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<li><a href="CSS09-default_fonts.html">Typefaces and font-stacks</a></li>
1212
<li><a href="CSS10-libre_fonts.html">Open Source and Libre Fonts We Can Recommend</a></li>
1313
<li><a href="CSS10b-variable_fonts.html">Variable fonts</a></li>
14+
<li><a href="CSS10c-custom_fonts.html">Using custom fonts with Readium CSS</a></li>
1415
<li><a href="CSS11-overrides_classification.html">User Overrides’ Classification</a></li>
1516
<li><a href="CSS12-user_prefs.html">User Settings and Themes</a></li>
1617
<li><a href="CSS13-a11y_settings_baseline.html">Baseline for a11y-related user settings</a></li>

css/ReadiumCSS-config.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
/* Accessibility normalization */
3939
@custom-selector :--a11y-normalize [style*="readium-a11y-on"];
4040

41-
/* Accessibility font. You can add selectors, using “, ” as a separator, if you have multiple fonts */
42-
@custom-selector :--a11y-font [style*="AccessibleDfA"], [style*="IA Writer Duospace"];
43-
4441
/* Direction i.e. ltr and rtl */
4542
@custom-selector :--ltr [dir="ltr"];
4643
@custom-selector :--rtl [dir="rtl"];

css/dist/ReadiumCSS-after.css

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -259,43 +259,28 @@ body{
259259
font-family:revert !important;
260260
}
261261

262-
:root[style*="AccessibleDfA"]{
263-
font-family:AccessibleDfA, Verdana, Tahoma, "Trebuchet MS", sans-serif !important;
264-
}
265-
266-
:root[style*="IA Writer Duospace"]{
267-
font-family:"IA Writer Duospace", Menlo, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", Courier, monospace !important;
268-
}
269-
270-
:root[style*="AccessibleDfA"],:root[style*="IA Writer Duospace"],
271262
:root[style*="readium-a11y-on"]{
272263
font-style:normal !important;
273264
font-weight:normal !important;
274265
}
275266

276-
:root[style*="AccessibleDfA"] body *:not(code):not(var):not(kbd):not(samp),:root[style*="IA Writer Duospace"] body *:not(code):not(var):not(kbd):not(samp),
277267
:root[style*="readium-a11y-on"] body *:not(code):not(var):not(kbd):not(samp){
278268
font-family:inherit !important;
279269
font-style:inherit !important;
280270
font-weight:inherit !important;
281271
}
282272

283-
:root[style*="AccessibleDfA"] body *:not(a),:root[style*="IA Writer Duospace"] body *:not(a),
284273
:root[style*="readium-a11y-on"] body *:not(a){
285274
text-decoration:none !important;
286275
}
287276

288-
:root[style*="AccessibleDfA"] body *,:root[style*="IA Writer Duospace"] body *,
289277
:root[style*="readium-a11y-on"] body *{
290278
font-variant-caps:normal !important;
291279
font-variant-numeric:normal !important;
292280
font-variant-position:normal !important;
293281
}
294282

295-
:root[style*="AccessibleDfA"] sup,:root[style*="IA Writer Duospace"] sup,
296283
:root[style*="readium-a11y-on"] sup,
297-
:root[style*="AccessibleDfA"] sub,
298-
:root[style*="IA Writer Duospace"] sub,
299284
:root[style*="readium-a11y-on"] sub{
300285
font-size:1rem !important;
301286
vertical-align:baseline !important;

css/dist/ReadiumCSS-before.css

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -225,34 +225,6 @@ math{
225225
--RS__lineHeightCompensation:1.167;
226226
}
227227

228-
@font-face{
229-
font-family:AccessibleDfA;
230-
font-style:normal;
231-
font-weight:normal;
232-
src:local("AccessibleDfA"), url("fonts/AccessibleDfA-Regular.woff2") format("woff2"), url("fonts/AccessibleDfA-Regular.woff") format("woff");
233-
}
234-
235-
@font-face{
236-
font-family:AccessibleDfA;
237-
font-style:normal;
238-
font-weight:bold;
239-
src:local("AccessibleDfA"), url("fonts/AccessibleDfA-Bold.woff2") format("woff2");
240-
}
241-
242-
@font-face{
243-
font-family:AccessibleDfA;
244-
font-style:italic;
245-
font-weight:normal;
246-
src:local("AccessibleDfA"), url("fonts/AccessibleDfA-Italic.woff2") format("woff2");
247-
}
248-
249-
@font-face{
250-
font-family:"IA Writer Duospace";
251-
font-style:normal;
252-
font-weight:normal;
253-
src:local("iAWriterDuospace-Regular"), url("fonts/iAWriterDuospace-Regular.ttf") format("truetype");
254-
}
255-
256228
body{
257229
widows:2;
258230
orphans:2;

css/dist/android-fonts-patch/ReadMe.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

css/dist/android-fonts-patch/android-fonts-patch.css

Lines changed: 0 additions & 136 deletions
This file was deleted.

0 commit comments

Comments
 (0)