tanjinbd / RatulBook-master

Bangla Ebook App
GNU Affero General Public License v3.0
1 stars 0 forks source link

Parameter list and details #1

Open bryantmero opened 2 years ago

bryantmero commented 2 years ago

Can you please list down the variable parameters for PDF rendering in this project?

tanjinbd commented 2 years ago

Can you please list down the variable parameters for PDF rendering in this project?

Hi Bryant,

Below are the configurable parameters I have kept: (Hope it serves your purpose)

ReaderConstants.h the following #define options are available:

READER_FLAT_UI - If TRUE, follows the Fuglyosity of Flat Fad (flattens the UI).

READER_SHOW_SHADOWS - If TRUE, a shadow is shown around each page and page thumbnail.

READER_ENABLE_THUMBS - If TRUE, a thumbs button is added to the main toolbar enabling page thumbnail document navigation.

READER_DISABLE_RETINA - If TRUE, sets the CATiledLayer contentScale to 1.0f. This effectively disables retina support and results in non-retina device rendering speeds on retina display devices at the loss of retina display quality.

READER_ENABLE_PREVIEW - If TRUE, a medium resolution page thumbnail is displayed before the CATiledLayer starts to render the PDF page.

READER_DISABLE_IDLE - If TRUE, the iOS idle timer is disabled while viewing a document (beware of battery drain).

READER_STANDALONE - If FALSE, a "Done" button is added to the toolbar and the -dismissReaderViewController: delegate method is messaged when it is tapped.

READER_BOOKMARKS - If TRUE, enables page bookmark support.

bryantmero commented 2 years ago

Can you please list down the variable parameters for PDF rendering in this project?

Hi Bryant,

Below are the configurable parameters I have kept: (Hope it serves your purpose)

ReaderConstants.h the following #define options are available:

READER_FLAT_UI - If TRUE, follows the Fuglyosity of Flat Fad (flattens the UI).

READER_SHOW_SHADOWS - If TRUE, a shadow is shown around each page and page thumbnail.

READER_ENABLE_THUMBS - If TRUE, a thumbs button is added to the main toolbar enabling page thumbnail document navigation.

READER_DISABLE_RETINA - If TRUE, sets the CATiledLayer contentScale to 1.0f. This effectively disables retina support and results in non-retina device rendering speeds on retina display devices at the loss of retina display quality.

READER_ENABLE_PREVIEW - If TRUE, a medium resolution page thumbnail is displayed before the CATiledLayer starts to render the PDF page.

READER_DISABLE_IDLE - If TRUE, the iOS idle timer is disabled while viewing a document (beware of battery drain).

READER_STANDALONE - If FALSE, a "Done" button is added to the toolbar and the -dismissReaderViewController: delegate method is messaged when it is tapped.

READER_BOOKMARKS - If TRUE, enables page bookmark support.

Many Thanks Tanjinbd, these are really useful+++