Skip to content

Incorrect font rendering in a specific book #516

@efermi

Description

@efermi

In the linked book an embedded font is being used to implement drop caps. In the web and book render modes they aren't visible at all, while in the flat and legacy modes they are visible but the font rendering seems incorrect.
As the book looks like it has been authored with Apple tools I checked it in Foliate which also uses the WebKit engine for rendering. So here is what I assume a reference look of the document in Foliate:
Screenshot_20230324_000929-foliate
Web mode:
Screenshot_20230324_000618-ko-web-mode
Flat mode:
Screenshot_20230324_000822-ko-flat-mode
The file:
The Ruby in the Smoke.zip
I've tried to extract the font and embed it in a minimal test document created in calibre's ebook-editor and it looked right in KOReader, so probably the font itself isn't the problem, but some combination of the document layout and engine quirks is to blame?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions