Bug 251056 - missing support for fonts embedded in the document
Summary: missing support for fonts embedded in the document
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: EPub backend (show other bugs)
Version: 0.5.81
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 11:25 UTC by Giovanni Venturi
Modified: 2010-10-05 10:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
the epub with embedded font (352.61 KB, application/epub+zip)
2010-10-05 08:44 UTC, Giovanni Venturi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni Venturi 2010-09-13 11:25:26 UTC
Version:           0.5.81 (using KDE 4.5.1) 
OS:                Linux

I read that epub (like as ODT and so on for some document format) doesn't use the document font but a default font: http://okular.kde.org/formats.php
I'd like to see this feature implemented. The e-book era seems to be at the door, so I'd like to use Okular to read an ebook.
Thank you.
I don't know. If I can fix this issue, if it's simple I could try. Can you give me some hints? What has to be done? Where and what I have to look into the code?
It's an okular specific code? kdelibs? ebook-tools?
Let me know.

Reproducible: Always

Steps to Reproduce:
Open an EPub document.

Actual Results:  
Documents Font is ignored.

Expected Results:  
Okular has to use the document used from the document.

OS: Linux (i686) release 2.6.35.4
compiler: gcc
Comment 1 Albert Astals Cid 2010-09-13 19:54:49 UTC
If it was simple we would have done it.

This probably needs combined for in ebook-tools, Okular and Qt.
Comment 2 Pino Toscano 2010-10-05 01:31:19 UTC
(In reply to comment #0)
> I read that epub (like as ODT and so on for some document format) doesn't use
> the document font but a default font: http://okular.kde.org/formats.php

No, "document fonts" actually means "document fonts _information_", i.e. the ability to list the fonts used/embedded in a document.

> Actual Results:  
> Documents Font is ignored.

Please provide a non-private document showing the issue, and make sure to use ebook-tools 0.2.1.
Comment 3 Giovanni Venturi 2010-10-05 08:44:16 UTC
Created attachment 52227 [details]
the epub with embedded font

here a public epub with embedded font