View Single Post
Old 01-12-2018, 08:00 AM   #63
baskerville
Evangelist
baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.baskerville ought to be getting tired of karma fortunes by now.
 
baskerville's Avatar
 
Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
I wanted to mention that mupdf's CSS engine supports @font-face, so you can change the default font via user.css, e.g.:
Code:
@font-face {
	font-family: Libertinus;
	src: url("/mnt/onboard/fonts/Libertinus Serif-Regular.otf");
}

@font-face {
	font-family: Libertinus;
	src: url("/mnt/onboard/fonts/Libertinus Serif-Bold.otf");
	font-weight: bold;
}

@font-face {
	font-family: Libertinus;
	src: url("/mnt/onboard/fonts/Libertinus Serif-Italic.otf");
	font-style: italic;
}

@font-face {
	font-family: Libertinus;
	src: url("/mnt/onboard/fonts/Libertinus Serif-BoldItalic.otf");
	font-weight: bold;
	font-style: italic;
}

body {
	font-family: Libertinus;
	text-align: justify;
}

Last edited by baskerville; 01-12-2018 at 08:03 AM.
baskerville is offline   Reply With Quote