View Single Post
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