Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2026, 01:11 AM   #1
microhan
Junior Member
microhan began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2026
Device: Onyx go 7 Color
EPUB Font Unlock: removes fixed fonts and sizes so reader settings apply (free)

I wrote a small free Windows tool for something I kept fixing by hand in the Calibre editor: an EPUB whose CSS pins font-family, font-size and line-height on the body text, so the reader's font menu does little or nothing. I'm the author.

What it does
- Analyzes first and lists what is pinned (fixed fonts, absolute sizes, absolute line heights).
- Removes font-family, absolute font-size (px, pt, cm) and absolute line-height from CSS files, style blocks and style attributes.
- Keeps relative values (em, %, unitless line-height), so a 1.6em heading stays 1.6x the body text at any reader setting.
- Leaves the text alone and the original file untouched. It writes name_unlocked.epub next to it.
- Embedded font files and @font-face stay unless you tick the option to remove them. Margin cleanup is optional too.

What it doesn't do
- DRM-protected EPUBs are reported and skipped. Font obfuscation (Sigil, InDesign) is not DRM, so those books are processed.
- No EPUB 2/3 conversion. Cover, TOC and metadata are left as they are.

One limit worth knowing: it removes font-family everywhere, so a passage set in a special font (letters, monospace) falls back to the reader font too. If a book depends on that, the narrower manual edit in Calibre is the better route.

The exe is one file with no install, and the source is MIT. At startup it asks my site once a day whether a newer version exists, sending only its name and version. You can turn that off.

Releases and source: https://github.com/microhan1/epub-font-unlock/releases
Page with screenshots: https://chaekgalpi.co.kr/en/tools/ep...-tools-2026-11

If you find a book it handles badly, I'd like to see what the CSS looked like.
microhan is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sage Same text with identical settings still displays fonts at different sizes Cactus Chef Kobo Reader 6 12-25-2024 06:02 PM
Clara BW kepub - Chinese fonts not appearing at specific font sizes? Krytes Kobo Reader 7 12-14-2024 11:03 PM
Controlling Font Sizes for Different Sets of Fonts in Calibre mactuary Calibre 1 05-05-2020 07:46 AM
Kobo font settings apply to all books veagles Kobo Reader 5 04-29-2018 02:17 PM
How to apply fixed-width fonts EnergyLens Calibre 5 04-17-2010 01:41 PM


All times are GMT -4. The time now is 08:35 AM.


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