View Single Post
Old 05-16-2020, 11:32 AM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,445
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by babygau View Post
if your font-families are recognized properly in kobo, then you could use kobo-patch to specified your custom fonts to default-fonts for each format.
Quote:
Originally Posted by pepak View Post
Eh, what?
If you look in the Kobo Developer's Corner, the latest firmware patch thread would be Instructions for patching firmware 4.20.14622.

The patches referred to by babygau would be found in the librmsdk.so.1.0.0.yaml file.

Default ePub serif font (Amasis):
Default ePub sans-serif font (Gill Sans):
Default ePub symbol font (Symbol):
Default ePub monospace font:

Note that current Kobo firmware looks for courier font files in the fonts directory to use as the monospace font. So courier, courierstd or courierprime will work without patching.

Read the directions carefully.

Edit: BTW, looking at your epub, I have to ask why you include "<span class="serif1">" before each block of text since this will force the use of your "my-serif" font when you are apparently trying to display serif, sans serif and monospace?

Last edited by DNSB; 05-16-2020 at 11:52 AM. Reason: Look at epub file and would never work.
DNSB is offline   Reply With Quote