View Single Post
Old 04-20-2019, 02:58 PM   #1
JonnieCache
Junior Member
JonnieCache began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2019
Device: Kindle Oasis, iPad Pro
How to Modify @font-face on Conversion?

Is there a way to modify the @font-face in CSS files that already exist in a given book so that it is modified during conversion?

For example, I want to convert:

@font-face {
font-family: Hlv
}

to

@font-face {
font-family: Helvetica
}

during conversion so that it will reference the fonts correctly using the correct name of the font. Using style transformation, transformation doesn't affect font-family under @font-face in a given CSS file, but it will affect the rest of the references to the font-family in the same CSS file.
JonnieCache is offline   Reply With Quote