![]() |
#1 |
Connoisseur
![]() Posts: 54
Karma: 10
Join Date: Mar 2014
Device: iPhone XR
|
Getting a font into the editor
OK, I'm not too good at this. I'm editing an e-book of "The Hobbit", and I'm wanting to fix up a couple spots that use the "moon runes". Right now the book just uses JPEG files for the runes, and it's ugly.
So I downloaded a TrueType font from someplace that has the runes as characters. I installed the font on my Windows PC and I can use it in Microsoft Word, for example. But when I use the Calibre Editor, how can I access that font to type rune characters into the text? I'm lost here. Any help? |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,023
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
On the File Menu: New file: Import Resource file (a button at bottom):<navigate to the font file you downloaded>
IIRC it will make an @font entry in the style sheet. otherwise that will be your task as well as making a: span.rune style and using that span where needed |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
In addition to theducks' comment, I Googled and downloaded a runic font and made a simple epub with the font embedded and a CSS that creates a class
The @font-face and the .runes are needed Code:
@charset "utf-8"; /* Styles for Test */ @font-face { font-family: "Angerthas Moria"; font-weight: normal; font-style: normal; font-stretch: normal; src: url(../fonts/AngerthasMoria-lgLAD.ttf); } .runes { font-family: Angerthas Moria; font-weight: bold; font-size: 1.5em; } HTH |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font size rendering in Calibre Viewer vs. Editor | maraskan_user | Viewer | 2 | 12-23-2020 03:02 PM |
wrong font weight in Book editor on macos Mojave | bop001x | Editor | 3 | 10-18-2018 02:21 AM |
Can't set preferred font in Sigil Code Editor window | GrannyGrump | Sigil | 2 | 01-26-2014 11:43 PM |
eBook Editor - font size | GregTheGrate | Editor | 1 | 12-16-2013 01:13 AM |
Changing the python editor font | microgiraffe | Calibre | 1 | 07-22-2011 07:30 PM |