Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-20-2023, 03:50 AM   #1
tatagi
Connoisseur
tatagi began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Oct 2022
Device: none
Defining default color for each fonts

Is there a way to configure css file or something so that each embedded fonts are given a default color attribute that overrides any settings that are text-specific in the style?

I ask this because I am about to remove all embedded fonts to get more space in my storage device. Most of my books are written in korean and japanese which takes up a lot of space even if I subset them.

So, I think it is worth a try to set different colors for different fonts to not confuse title text with body text(in case font style is same and the only way to tell them apart is the font itself.)

I have hundreds of books so time is crucial factor(there're too many element-specific styles in one document - say copyright notice, author, footnote, review, introduction, main text etc, so it will take forever to edit all of them)

So here's what. How can I set different colors for different fonts, AND make it universal throughout the document, overriding any other styles used?

For example, if the copyright title uses 0.9em font-size and bold font-weight, I want it as-is, except for adding the color value(e.g color:red; ) without manually editing that part.

Last edited by tatagi; 03-20-2023 at 03:56 AM.
tatagi is offline   Reply With Quote
Old 03-20-2023, 04:27 AM   #2
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,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Maybe you should consider updating to a higher capacity hard drive instead...
Karellen is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No italics on other fonts than Publisher default Paul Sprangers Introduce Yourself 17 06-06-2022 04:29 PM
Viewer default fonts? Diver4242 Library Management 2 02-22-2018 09:44 PM
Replacing the default fonts Havner Kobo Developer's Corner 2 12-30-2016 12:57 PM
PRS-T1 replacing system default fonts ousia Sony Reader Dev Corner 0 11-06-2012 04:10 PM
change default fonts p3aul Sigil 3 10-18-2009 07:14 PM


All times are GMT -4. The time now is 12:14 AM.


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