Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow fonts to be specified / customized #62

Open
mojavelinux opened this issue Dec 24, 2015 · 3 comments
Open

Allow fonts to be specified / customized #62

mojavelinux opened this issue Dec 24, 2015 · 3 comments

Comments

@mojavelinux
Copy link
Member

While it's possible to use custom epub3.css and epub3-css3-only.css files, it's not possible to override the epub3-fonts.css file and, with it, alternative fonts. It should be possible to override the fonts as well.

The way the packager works is that it scans the epub3-fonts.css file for font references and packages those fonts in the archive. Therefore, we we'll also need to honor the epub3-fontsdir property to control how these fonts are resolved.

@mojavelinux mojavelinux self-assigned this Dec 24, 2015
@mojavelinux mojavelinux added this to the v1.5.0 milestone Dec 24, 2015
@mojavelinux mojavelinux changed the title Allow fonts to be customized Allow fonts to be specified / customized Dec 24, 2015
@mojavelinux mojavelinux modified the milestones: v1.5.0, v1.5.0.alpha.8 Apr 18, 2017
@gdamore
Copy link
Contributor

gdamore commented May 31, 2018

Yes PLEASE!

I hacked around this by copying my own fonts into the gem data directory, but there is also some stuff about this that needs to consider e.g. scripts setting, and of course it should pick up the fonts.css from the same place it picks up the style css.

I did notice that the packager also blithely copied fonts I didn't use or didn't need -- basically the builtin fonts get copied whether I want them or not.

@slonopotamus slonopotamus modified the milestones: v1.5.0.alpha.11, v1.5.0 Jan 20, 2020
@gdamore
Copy link
Contributor

gdamore commented May 26, 2020

I see someone else has taken over maintenance it appears (@slonopotamus ) -- I still really really would like this! I definitely would like to supply my own fonts (the Ubuntu fonts in my case), and it's kind of a pain as I have to go back and figure out what I did like two years ago, as I'm getting ready to release a significantly updated edition.)

@mojavelinux mojavelinux removed their assignment May 26, 2020
@znowacki
Copy link

znowacki commented Dec 5, 2020

As user, I will be grateful for that option. Standard fonts - when used for my language special letters , PL - look weird. I would even prefer not to have any included font than this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants