epubreader icon indicating copy to clipboard operation
epubreader copied to clipboard

add specific font

Open openitstore opened this issue 5 years ago • 1 comments

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 avatar Sep 18 '20 15:09 openitstore

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

openitstore avatar Oct 12 '20 12:10 openitstore