From 8de1fd8ea6c4b4d458c3c033f88c167eedda8ce1 Mon Sep 17 00:00:00 2001 From: Gregorio Pellegirno Date: Tue, 20 Feb 2024 15:44:57 +0100 Subject: [PATCH] ONIX: place explanation above the algorithm --- .../draft/techniques/onix-metadata/index.html | 48 +++++++++---------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/UX-Guide-Metadata/draft/techniques/onix-metadata/index.html b/UX-Guide-Metadata/draft/techniques/onix-metadata/index.html index 9d0ae579..679479ed 100644 --- a/UX-Guide-Metadata/draft/techniques/onix-metadata/index.html +++ b/UX-Guide-Metadata/draft/techniques/onix-metadata/index.html @@ -183,6 +183,29 @@

Pre-recorded audio

Visual adjustments

This technique relates to Visual adjustments key information.

This algorithm takes the onix_record_as_text argument: a UTF-8 string representing the ONIX record.

+

Understanding the variables

+
+
all_textual_content_can_be_modified
+
+

If true it indicates that the code 36 of codelist 196 (All textual content can be modified) is present in the ONIX record, otherwise if false it means that the metadata is not present.

+

All textual content can be modified means that the digital publication does not restrict the ability of users to modify and reflow the display of any textual content to the full extent allowed by the reading system (i.e. to change the text size or typeface, line height and word spacing, colors).

+
+
real_text
+
+

If true it indicates that the code 10 of codelist 81 (Text) is present in the ONIX record, otherwise if false it means that the metadata is not present.

+

Text means that digital publication contains "real" text (user-selectable) as its main content (or as secondary content).

+
+
text_within_images
+
+

If true it indicates that the code 45 of codelist 81 (Text within images) is present in the ONIX record, otherwise if false it means that the metadata is not present.

+

Text within images means that digital publication contains text within images (i.e. text in diagrams, charts or balloons on which the user will not be able to change the display settings) as its main content (or as secondary content).

+
+
images_of_text
+
+

If true it indicates that the code 49 of codelist 81 (Images of text) is present in the ONIX record, otherwise if false it means that the metadata is not present.

+

Images of text means that digital publication contains images of text (i.e. pictures of text on which the user will not be able to change the display settings) as its main content (or as secondary content).

+
+

Variables setup

  1. LET onix be the result of calling pre processing given onix_record_as_text.
  2. @@ -207,31 +230,6 @@

    Instructions

  3. ELSE display "Appearance modifiability not known".
-
- Understanding Visual adjustments technique -
-
all_textual_content_can_be_modified
-
-

If true it indicates that the code 36 of codelist 196 (All textual content can be modified) is present in the ONIX record, otherwise if false it means that the metadata is not present.

-

All textual content can be modified means that the digital publication does not restrict the ability of users to modify and reflow the display of any textual content to the full extent allowed by the reading system (i.e. to change the text size or typeface, line height and word spacing, colors).

-
-
real_text
-
-

If true it indicates that the code 10 of codelist 81 (Text) is present in the ONIX record, otherwise if false it means that the metadata is not present.

-

Text means that digital publication contains "real" text (user-selectable) as its main content (or as secondary content).

-
-
text_within_images
-
-

If true it indicates that the code 45 of codelist 81 (Text within images) is present in the ONIX record, otherwise if false it means that the metadata is not present.

-

Text within images means that digital publication contains text within images (i.e. text in diagrams, charts or balloons on which the user will not be able to change the display settings) as its main content (or as secondary content).

-
-
images_of_text
-
-

If true it indicates that the code 49 of codelist 81 (Images of text) is present in the ONIX record, otherwise if false it means that the metadata is not present.

-

Images of text means that digital publication contains images of text (i.e. pictures of text on which the user will not be able to change the display settings) as its main content (or as secondary content).

-
-
-