09-27-2016, 05:21 AM | #1 |
Member
Posts: 18
Karma: 10
Join Date: Oct 2013
Location: Melbourne, Australia
Device: kindle paperwhite v2
|
Adding MSWord-type special chacters possible?
Just wondering if it's possible somehow to paste or import additional special characters into open Sigil documents along the lines of the 'copyright' symbol: ©, only with numerals such as '1' and '2' inside the circle instead of letters like 'C' - in this case - or 'R' like the 'Registered' symbol also known to all: ® ..? Perhaps a plugin permits this?
|
09-27-2016, 09:04 AM | #3 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Be aware that the font on the reader must have the symbol. Otherwise it will not be visible. The Symbola font is a very good collection of symbols/glyphs. On my site I have made a mapping from the Symbol, Webdings and Wingdings 1,2,3 to their corresponding unicode character. You can use that. By the way, the glyps on that page are from the Symbola font.
Mapping: http://toxaris.nl/glyphs/symbols.html |
09-27-2016, 11:51 PM | #4 | ||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
You could:
Quote:
We recently discussed Embedding Fonts for symbols in this topic: https://www.mobileread.com/forums/sho...d.php?t=278187 These are very common and you should have no problems using them in your books: Copyright: © Registered: ® I probably wouldn't rely on these being in the device's fonts (although I haven't done any sort of extensive testing on this): Circled Digits: ①②③④⑤⑥⑦⑧⑨⓪ These are probably much more rare: Negative Circled Digits: ❶❷❸❹❺❻❼❽❾⓿ And these? I bet your bottom these wouldn't be on most devices: Negative Circled Digits (11-20): ⓫⓬⓭⓮⓯⓰⓱⓲⓳⓴ The more obscure the symbols become, your best bet would probably be embedding a font specifically for these characters/glyphs/symbols (see topic above for example + Sample EPUBs). As Toxaris mentioned, Symbola seems to be a great font for a lot of these obscure symbols. Last edited by Tex2002ans; 09-28-2016 at 07:15 AM. |
||
09-28-2016, 02:19 AM | #5 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I want to add that if you will include a font that contains that symbol and you will only use that font for that or a few glyphs, strongly consider subsetting the font. That will greatly reduce the font in size.
|
Advert | |
|
09-28-2016, 07:13 AM | #6 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
So I took a look at Sigil's "Insert Special Character"... and I must admit, it does look a bit sparse:
I went to see how Calibre handled it, and it looks to be done quite well: although just to stress again... you have to be careful what sort of characters you are inserting. |
09-28-2016, 07:49 AM | #7 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I personally prefer the Sigil one. It has the focus on much used characters for which support in the readers is pretty much garantueed. It seems that Calibre gives the complete Unicode list, but default support is probably none existing. That can give the wrong impression.
|
09-28-2016, 09:17 AM | #8 | |
A Hairy Wizard
Posts: 3,114
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
Speaking of little wizards, has anyone thought of an "embed font" button that allows the user to select an external font file/family, imports those files into Sigil, and creates the proper @font-face reference in the CSS?? Seems like that would be a fairly simple combination of existing functionality (add existing files, paste clips) that would smooth the path for all users from novice to expert. It's a fairly common question for noobs, and would save several minutes for the rest. The only difficulty I could see in creating the code would be determining if the file was normal/bold/italic/bolditalic and applying the proper css. Is there some easy way of determining which properties a font file includes? |
|
09-28-2016, 09:33 AM | #9 | |
Grand Sorcerer
Posts: 5,589
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
CSSFromFonts The plugin uses "low level heuristics" to guesstimate the font weight and should be able to properly identify it, if the font designer followed the usual naming conventions. |
|
09-28-2016, 09:50 AM | #10 | |
Sigil Developer
Posts: 7,683
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi Doitsu,
I created this plugin's own entry in the Sigil Plugin Index thread so that people can find it more easily. Hope this helps, KevinH Quote:
|
|
09-28-2016, 10:07 AM | #11 |
A Hairy Wizard
Posts: 3,114
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Awesome - thanks again! I should have noticed that
|
09-28-2016, 06:41 PM | #12 |
null operator (he/him)
Posts: 20,628
Karma: 26960534
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
09-29-2016, 04:50 AM | #13 | |
creator of calibre
Posts: 43,932
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
As for embedding fonts, the calibre editor has a manage fonts tool that has a single click embed button that will embed all fonts referenced in the book automatically. And of course, the tool also has a single click subset embedded fonts button |
|
09-29-2016, 11:06 AM | #14 |
Sigil Developer
Posts: 7,683
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi Kovid,
Thanks. Those capabilities are integrated into Toxaris's optimize epub plugin but Sigil can definitely think about integrating code that does that into our tree after we get more epub 3 support added. Take care, KevinH |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatic Adding Add file type to ignore list | toomuchreading | Calibre | 5 | 01-14-2015 06:44 PM |
Short Fiction James, Henry: The Special Type, v.1, 6 July 2009. | Patricia | Kindle Books | 0 | 07-05-2009 08:27 PM |
Short Fiction James, Henry: The Special Type, LIT v.1, 6 July 2009. | Patricia | Other Books | 0 | 07-05-2009 08:24 PM |
Short Fiction James, Henry: The Special Type, v.1, 6 July 2009. | Patricia | IMP Books | 0 | 07-05-2009 08:22 PM |
Short Fiction James, Henry: The Special Type, v.1, 6 July 2009. | Patricia | BBeB/LRF Books | 0 | 07-05-2009 08:20 PM |