Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 12:53 PM   #1
johnelle
Zealot
johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.johnelle ought to be getting tired of karma fortunes by now.
 
Posts: 121
Karma: 2137668
Join Date: Mar 2015
Location: Groton, MA
Device: Kindle app on Samsung Tab
.epub editing hints?

I don't normally edit books except to compress the images. I am trying to help a friend with a textbook that has some kind of font issue so that the text is jumbled in the reader(s).

I am seeing "missing generic font issues" and the code seems to be completely bogus:

Code:
@font-face{font-family:ff1;src:url(f1.ttf)format("truetype");}.ff1{font-family:ff1;line-height:1.146000;font-style:normal;font-weight:normal;visibility:visible;}
@font-face{font-family:ff2;src:url(f2.ttf)format("truetype");}.ff2{font-family:ff2;line-height:0.960000;font-style:normal;font-weight:normal;visibility:visible;}
@font-face{font-family:ff3;src:url(f3.ttf)format("truetype");}.ff3{font-family:ff3;line-height:1.192000;font-style:normal;font-weight:normal;visibility:visible;}
etc.
I tried just deleting them but that doesn't work. Do you just pick a font and hand code it?

2nd question. Is there some kind of a reference for fixing epub format errors? Don't really want to be an expert. Just do what needs to be done.
johnelle is offline   Reply With Quote
Old Today, 03:06 PM   #2
fogice
Addict
fogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Time
 
Posts: 267
Karma: 49504
Join Date: May 2014
Device: Kobo Libra 2
My first attempt would be to use Convert Books, and check the box for Look & Feel > Styling > Select what style information you want completely removed > Fonts.
fogice is offline   Reply With Quote
Old Today, 03:22 PM   #3
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,629
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by johnelle View Post
I am seeing "missing generic font issues" and the code seems to be completely bogus:
The Generic Font is a fallback font.
See... https://www.w3schools.com/css/css_font.asp

Quote:
Originally Posted by johnelle View Post
I tried just deleting them but that doesn't work. Do you just pick a font and hand code it?
Do you have any font files embedded in the epub?

Quote:
Originally Posted by johnelle View Post
2nd question. Is there some kind of a reference for fixing epub format errors?
Not one that I have ever seen. The more you read and understand about epub inner workings, the easier it becomes to make sense of the error messages and where to find the answers if you can't figure out the fix.
This is also another useful site... https://developer.mozilla.org/en-US/...CSS/Properties
Karellen is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub editing lonly ePub 23 01-19-2022 01:59 PM
Editing ePub rajadevotta Editor 3 06-18-2015 11:56 AM
Hints for javascript in epub ? fxp33 Kobo Developer's Corner 6 08-09-2014 01:18 PM
Editing epub's style.css when converting to epub Pros Calibre 0 02-02-2012 01:13 PM
Editing an epub with Sigil Artha Calibre 7 07-01-2011 01:57 PM


All times are GMT -4. The time now is 06:32 PM.


MobileRead.com is a privately owned, operated and funded community.