View Single Post
Old 11-17-2023, 08:47 AM   #1
qkiazd
Member
qkiazd began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Dec 2015
Device: Kobo H2O
Sigil Font use without error messages

Hello, iI need help please.

I make a ebook with sigil it almost everything is ok.
But i use the Plugin "epub check" and the error says on all font strings - a example:

page_styles.css,45,996,Col: 5: ERROR(RSC-026): URL ""../Fonts/DejaVuSans-Bold.ttf"" leaks outside the container (it is not a valid-relative-ocf-URL-with-fragment string)

My "Styles/page_styles.css" is correct:

@font-face {
font-family: DejaVuSans;
font-style: normal;
font-weight: bold;
src: url(../Fonts/DejaVuSans-Bold.ttf)
}



In the ebook path "Fonts" is the file "DejaVuSans-Bold.ttf" correct on board.
What es wrong with this url entrys?
I see the font arts correct in the book - why this errors messages?

Thx.
qkiazd is offline   Reply With Quote