EPUB: Difference between revisions - Wikipedia


Article Images

Content deleted Content added

m

Line 45:

EPUB also requires that [[Portable Network Graphics|PNG]], [[JPEG]], [[GIF]], and [[SVG]] are supported for image types. These use the [[Internet media type|mimetype]]s <code>image/png, image/jpeg, image/gif, image/svg+xml</code> respectively. Other media types are allowed, but creators must include alternative renditions in supported types.<ref name="ops2.0_spec"/> For a table of all required mimetypes, see [http://www.idpf.org/2007/ops/OPS_2.0_final_spec.html#Section1.3.7 Section 1.3.7] of the specification.

[[Unicode]] is '''required''', and content producers '''have to''' use either [[UTF-8]] or [[UTF-16]] encoding.<ref name="ops2.0_spec"/> This is to support international and multilingual books. However, reading systems are '''not''' required to provide the fonts necessary to display every unicode character, though they are required to display at least a placeholder for characters that cannot be displayed fully.<ref name="ops2.0_spec"/>

An example skeleton of a XHTML files for EPUB looks like this: