PDF is a file format developed by Adobe Systems for representing documents in a manner that is separate from the original operating system, application or hardware from where it was originally created. A PDF file can be any length, contain any number of fonts and images and is designed to enable the creation and transfer of printer-ready output.
Each PDF file encapsulates a complete description of a 2D document (and, with the advent of Acrobat 3D, embedded 3D documents) that includes the text, fonts, images and 2D vector graphics that compose the document. They do not encode information that is specific to the application software, hardware, or operating system used to create or view the document.
The FictionBook 2.0 file format was developed in Russia and gained popularity there. Whereas other eBook formats contain multiple XML files an FB2 file contains just one. The format is DRM free and is open source. As the name suggests, FB2 files often contain fiction eBooks, however this is not a technical restriction. The format was designed to enable the file to be converted to other file types relatively easily.
The FB2 file contains a tagged structure that allows software applications to interpret and render the content accordingly. This means that elements such as quotations and subtitles can be defined, in addition to formatting such as bold, italic or underline. Typically, an FB2 file contains the Stylesheet, Description and Body. All text to be displayed is contained within the Body section which uses a nested structure to allow subsections and paragraphs to be defined.