Quote:
Originally Posted by Peter Ahlstrom
...Except wow, the font embedding screws up the font's character encoding. The font wasn't showing correctly, so I opened the subsetted font up in FontForge and the characters are all wacky. Characters are assigned these names:
! : carriage return
# : space
& : exclam
( : quotedbl
etc. I'm going to change the encoding of the original font and then subset it again and see what happens.
.../...
Note: the other Sigil plugin that subsets fonts did not have this problem, but it goes by all the characters in the whole ePub, not the spots where that particular font is actually used.
EDIT: Well, never mind that, this plugin also does not base the subsetting on where that particular font is actually used. Guess I'll just go back to my wholly manual method.
|
Hi
Maybe, "the other Sigil plugin that subsets fonts" is
SubsetFonts?
If this is so, some comment about it. Say, your ePub is written mostly with font-family A. It also uses some few characters from a Chinese font B (this one is sparsely used with some spans here and there), or for that matter any other font-family.
After using the plugin, A and B will both be subsetted. So, the
Fonts folder in the ePub will include both of them. It then maybe easier, if need be, to just replace font-family A in this folder by a full version of it rather than fiddling with FontForge...
My two-cents.