e-alfred / epubreader

EPUB/CBR/PDF reader app for Nextcloud
GNU Affero General Public License v3.0
81 stars 21 forks source link

add specific font #19

Open openitstore opened 4 years ago

openitstore commented 4 years ago

Hi there,

thank you for your great app. how we can add a new font to read document ? when we open document, we can select font (serif, monospace and sans) => where those fonts are taken : from system or app ? on the other side, we look in directories app, and can find "vendor/epubjs/css/font/", and see font files, but is the use for that ?

Thank in advance for your answers !! open regards, Nicolas

openitstore commented 4 years ago

Hello crew,

We find a way to enable a specific font in file "templates/epubreader.php" (before you must set font on server) When a user enable this font opening a pub file, app stores settings in database for the user, so next time this user open a pub file, this set by default the specific font.

So we only have a last question : how about make this font by default, without setting for each users ?

Thank you in advance !! Nicolas