View Single Post
Old 05-10-2016, 05:44 PM   #17
Jon4Fun
Member
Jon4Fun began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
Search results from suggestions below

Quote:
Originally Posted by davidfor View Post
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.
---------------------------------------------------
Hi,
OK!!! I did as you suggested.
First thing was a conversion of an eBook, selected at random. I remove ANY font during conversion and chose one the the 3 options of Charis Sil listed in the conversion options.
I got no errors during any of the conversions (was not in debug mode) and when I looked in the fonts folder (via Sigil) it showed the name of the font I had selected at time of conversion.
However, Charis Sil is very distinct and it was immediately obvious that the font being shown was (probably) Times New Roman or at the very least some other font.
However, when I chose the new Charis Sil Compact font that I had installed it was immediately apparent that it worked. It embedded in the eBook and when I looked at it, via Sigil, the font folder showed the correct font and the eBook looked correct.

Second thing was a registry search (search word charis) and I immediately came across an entry that showed the OLD entries. I saved the registry entry and deleted the keys I did not want.
Location was HKEY_CURRENT_USER\SOFTWARE\Microsoft\Shared Tools\Panose.

I then exited the registry (don't really trust windows) and started search again with same search word charis.
Found ONLY entries for single font Charis Sil ComPact in expected folder of Fonts for HKCU/..../Fonts and HKLM/..../Fonts
I have included one of the registry results so you can see the 4 options of the font, i.e. R, B, I, BI.
See attached picture.

After I had removed the entry from the registry, just to be clear, I then tried to choose a different version of Charis Sil font than was listed in Control Panel-Fonts.
I chose MS Word as the easiest option and it only gave me the single option, i.e.Charis Sil Compact.
See attached picture.

Finally, (which should have been my first search), I did a search for charis in the Calibre config folder. I found them!!! That is I found the old fonts that were listed in Calibre. They were in this folder C:\Users\Jon\AppData\Roaming\calibre\tmp\fonts.
NB: The tmp folder would not show up except from a search. I did not create it, obviously.
I thought, eureka.. sorted.. but, alas, this was not the case .

I deleted the items from the tmp folder and opened Calibre. The fonts still were in the list as options .

I am now going to reboot, while I post this, and see if they are gone from Calibre after that.

I think that is everything at this point.

Wish me luck if you have managed to keep reading to this point...
Attached Thumbnails
Click image for larger version

Name:	Charis SIL Compact - ONLY- registry search results.jpg
Views:	229
Size:	337.3 KB
ID:	148589   Click image for larger version

Name:	Charis SIL Compact - ONLY in MS WORD.jpg
Views:	207
Size:	175.7 KB
ID:	148590   Click image for larger version

Name:	Charis SIL fonts - found in tmp folder.jpg
Views:	197
Size:	282.3 KB
ID:	148591  
Jon4Fun is offline   Reply With Quote