![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Installing/Embedding Font
This is a bit of a strange problem. I know I'm just missing something, but I can't figure it out.
I've been using 'Kirsty' font for a long time with no problems, my CSS entry is {font-family: 'Kirsty'; font-style: italic; } and it embeds as: Embedding font Kirsty-Italic from.... This is all fine, no problems as I said. Yesterday, I wanted to use the font, but not italic and different size, so I changed to {font-family: 'Kirsty'; font-size: 90%; } and it embeds as: Embedding font KirstyInk-Regular from.... Up until this point, there is no problem. That comes when I tried to read one book on my Kobo Aura, and that section didn't have the right font -- or it just didn't look right, looked like a very large Times Roman or in that type, instead what Kirsty looks like, which is small caps. I then went back into Editor, and did Check Document. I usually embed fonts as last step before saving and closing document, so this was the first time I did the Check AFTER. I got an entry that says: "WARNING: The CSS font-family name Kirsty does not match the actual font name Kirsty Ink****[fonts.css]" I do the automatic fix, which changes my CSS entry to 'Kirsty Ink'. On the next book, I changed my entry to 'Kirsty Ink', but that returned an error when I tried to embed, saying: Failed to find fonts for family: Kirsty Ink, not embedding Just to check, I went to install fonts but when I clicked 'kirsty ink', I get the following: Spoiler:
If I'm going redo all the 30+ that I've already done, I'd rather get the right fix...or find another font if I can't fix. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
One thing I see is the font FILE NAME has a space
Legal, but not a good practice FWIW the Validate message is about the Internal (to the font) name |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Quote:
I decided to check my last "fixed" book with this font and I see it embedded both 'Kirsty-Italic' and 'Kirsty-Regular' and didn't return that Document Check Warning. Not sure why Kirsty-Italic, but it doesn't cause a problem so I don't care right now. This book shows the correct font on my Kobo, as well. So I went back to the 3 books I had checked before asking my question. I replaced the CSS and tried embedding the fonts again, and they still exhibit the same error -- for lack of a better term. It is the same CSS, and I don't see any other difference, so I'm at a loss. I'm going to go through each one individually, working backwards from ones that 'work'. I know I must just not be seeing some little thing, but I can't for the life of me figure it out. I would delete(or uninstall) 'Kirsty Ink', but I'm not confident enough for that! |
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
Remove from Calibre list of AVAILABLE "Embed Font Family"
Hi,
Open question concerning Calibre and FONTS. I want to remove from Calibre-[preferences]-[common options]-[fonts]-[embed font family] a list of "font families". In this case it is different versions of Charis Sil that I have used in the past. I have just one version, which I am using, that I have selected but all the old/other versions are still showing as options. I have manually deleted the fonts folder in Calibre config folder and recreated with ONLY the Charis Sil family I am using. I watched it create a new .json file in that folder. I know it doesn't effect anything but I just want to have a tidy install as it took me about 40 hours of work to find a Charis Sil font that works with the latest firmware and the patches with [fullpagereading] set to TRUE and NOT have the issue with lines at top and bottom margin going past the page. Anyone with a Kobo Glo will know what I am talking about above. But my question is for Calibre - how do I just show 1 Charis Sil Font in list of [embed font family]? Thanks and I hope someone has an easy answer. BTW, I do not know how to code in python so I hope it is not a coding issue. Thank you for your time. My apologies if this is in the wrong forum. I searched and this seemed the only place where fonts were being discussed. Last edited by Jon4Fun; 05-09-2016 at 10:56 PM. Reason: make a change |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
THat list is populated by scanning the files on your computer. If you have removed the font files from calibre's config font directory, and it still shows up, then it must be present elsewhere on your computer.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
Want to see Charis SIL Compact ONLY!
Hi kovidgoyal,
The simple answer is YES - the files are still present on my computer BUT they are no longer installed, in Calibre or in Windows. They are embedded in the eBooks I converted using Calibre - do I have RE-convert every book? Do I have to remove the physical files from my backup folders for the list to tidy up? I ask as I had to CHOOSE to ADD them to Calibre, it did not scan my computer. Thank for the quick reply even if it does not help me immediately. Cheers Jon Last edited by Jon4Fun; 05-09-2016 at 11:54 PM. |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If they are not in any of the font folders on your computer then they must still be in the calibre config font folder. Software is not magic. That list is populated from two places: The calibre config font folder and the system font folders. If there is an entry in that list, then the font files must be in one of those two places.
It does not matter what fonts you have inside your ebooks. |
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
Thanks. I am now only 99.999999999% sure that I do not have the fonts installed.
May I PLEASE confirm with YOU that the Calibre font folder location is the following; I am using Win10? C:\Users\Jon\AppData\Roaming\calibre\fonts And Windows is C:\Windows\Fonts - I double-checked that I did not have any other CHARIS fonts installed in the Windows fonts folder and only 1 font (4 types, Regular, Bold, Italic, BoldItalic) is installed in the calibre folder. If it is not this then it is one of the mysteries of Windows. I do not know where else it would be installed. BUT, I will keep looking. Thank you for your time. I just had a thought, I have Calibre and Calibre64 installed - do they keep fonts in different locations? |
![]() |
![]() |
![]() |
#9 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
I just checked and on my system the x86 and x64 version both use the same fonts folder in C:\Users\Jon\AppData\Roaming\calibre\fonts
|
![]() |
![]() |
![]() |
#11 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
We crossed messages. Please see attached pic.
Note, I did a search for CHARIS which is highlighted in top right of control panel |
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
I know it SHOULDN'T make a difference but I'm going to reboot and clear my temporary files. See if that makes a difference.
Check back in about 15mins or so. |
![]() |
![]() |
![]() |
#13 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
Hi,
Did a full reboot (not a false hibernation one either) and ran CCleaner on the way down. See attached, no change. I have no idea what program I have installed it in that Calibre could be reading or that I would use that particular font. It is ONLY for my Kobo. Thanks for your input. |
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Just to check, the problem is the "Charis SIL Modified" and "Charis SIL SmCp Modified" fonts appearing in the font dialog? If so, there is something wrong with how they are displayed. The names aren't displayed as the font. That suggests that the names are still in a list somewhere, but the font files are no longer there. What happens if you select one of those fonts and press OK? Or "Add font" or whatever it is to embed the font.
Do the fonts appear if you open a font selection dialog in another application? If they do, that suggests Windows is the culprit. If they don't, it points more to calibre. I think the thing to do is scan the registry for these name and search through all the files in the calibre config directory as well. Another thing to do is to run calibre in debug mode and see if there are any errors when the font selection is opened. |
![]() |
![]() |
![]() |
#15 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
I shall go through those steps and post back but not today. Going to actually 'read' for a while.
![]() Thank you. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embedding font in books that already have embedded font | Barty | Calibre | 2 | 10-16-2013 11:38 PM |
Font Embedding? | teh603 | Writer2ePub | 75 | 01-08-2013 07:57 PM |
Font embedding | sachin | Sigil | 36 | 03-30-2012 03:26 AM |
Font embedding | sachin | Sigil | 3 | 03-21-2012 09:19 AM |
Do I need a font license if all I'm doing is referring to the font (not embedding)? | Stodder | Workshop | 21 | 04-21-2011 04:19 AM |