|
|
#1 |
|
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,255
Karma: 35164265
Join Date: May 2011
Location: PA {back in the usa!}
Device: Sony PRS-T2, ADE on PC
|
Question about Calibre font subsetting
I have a custom font that exists entirely in the "Private Use Area" (Symbol Character Set). None of these are mapped to any character except in the Private Use Area.
When I used Calibre to subset the font (embedded in an epub), it deleted the entire font. In point of fact, at least 20 of these characters are used in the book text. Note that in the epub, I entered these characters in decimal: &#xnnnn;. Is this because the font is mapped only to non-standard characters, or is there something else going on that I should search for? |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,656
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Subsetting works by using the CMAP table (of type BMP) in the font, it maps unicode character codes from the Basic Multilingual Plane (BMP) to glyphs. If your font does not use a BMP type CMAP table to map unicode characters codes to glyphs then it wont be subset correctly.
IIRC BMP tables dont cover the private use area of unicode, so I doubt subsetting will work for such a font. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,255
Karma: 35164265
Join Date: May 2011
Location: PA {back in the usa!}
Device: Sony PRS-T2, ADE on PC
|
Thanks, Kovid, for the speedy reply. I expected it was something like that.
I will have to do it manually (it is a small font, no huhu!) |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with font subsetting | grumbles | Editor | 17 | 06-20-2014 03:35 PM |
| Font subsetting problem | yktan | Calibre | 5 | 09-20-2013 12:00 AM |
| Bug in font subsetting | JSWolf | Calibre | 9 | 01-17-2013 10:46 AM |
| ePub Font Subsetting | Cygfrydd | ePub | 2 | 08-17-2010 09:53 AM |
| Question about font | jblitereader | Ectaco jetBook | 9 | 04-22-2010 04:55 PM |