View Single Post
Old 03-06-2024, 07:35 PM   #18
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,881
Karma: 169716272
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Just for the heck of it and having some time to kill while the granddaugter is nappping, I added some WOFF2 fonts to my old font tester epub. I used the IBM Plex Serif and Mono fonts in bold, bold-italic, italic and regular variants.

I added the fonts using the Add existing files tool and no issues. I added the @font-face bits and bobs to the stylesheet, added the serif font family to the <body> class and the mono font family to the <code> class. All looks good and other than complaining about my use of webkit extensions, Sigil seems happy enough.

Please note that this did not require adding the WOFF2 files to the Windows Fonts. I just unzipped the Plex-master.zip to a folder and browsed to the files.

I've attached the epub file.
Attached Thumbnails
Click image for larger version

Name:	Sigil_add_woff2_fonts.png
Views:	507
Size:	223.9 KB
ID:	206753  
Attached Files
File Type: epub Font Tester V3c - epub - Ann Onymous.epub (13.16 MB, 408 views)

Last edited by DNSB; 03-06-2024 at 07:38 PM.
DNSB is online now   Reply With Quote