08-20-2010, 09:20 AM | #1 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
Non-Breaking Hyphen
Is there a way to place a non-breaking hyphen?
I've tried & #8209 ; and & #x2011 ; but Sigil converts them to a narrow black box. I've also tried alt+2011, but that becomes a wide black box. |
08-20-2010, 09:26 AM | #2 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Are you sure that Sigil is "converting" them? It sounds more likely that these glyphs are simply not present in the font being used to display the book.
|
Advert | |
|
08-20-2010, 10:11 AM | #3 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
Good point, Harry. Thank you. I should have thought of that.
As it turns out, both escape codes work, but display incorrectly in the Book View within Sigil. Both will work and display correctly in the Firefox ePub plug-in. (I use Bookman Old Style for the font.) The Alt+2011 approach does not work, however. That's OK with me; I actually prefer to use the escape codes anyway. Since it appears to be simply a font issue, is there a way to change the font in Sigil? That's been a minor issue for me, but this bumps the priority a bit. |
08-20-2010, 10:27 AM | #4 | |
Chocolate Grasshopper ...
Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
Quote:
There's a font folder in the Book Browser panel on the left of the box - does that not allow you to drop font files into it? Right click on the word "font" and it allows you to 'add'. |
|
08-20-2010, 11:07 AM | #5 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
GeoffC, I assume that will embed the font in the ePub file. I'm not necessarily interested in doing that. I'm just looking for a way to change the font as displayed in Sigil.
I suppose I could embed a font while editing, then remove it at the end. |
Advert | |
|
08-20-2010, 11:10 AM | #6 | |
Chocolate Grasshopper ...
Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
I must admit that was the only 'font' changing issue I managed to discover, even from the manual. There may be other ways that more savvy members may know, even Kovid is he's around ....
Although from the Wiki Quote:
|
|
08-20-2010, 11:22 AM | #7 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Geoff, I think that DTM is asking how to change the font used by Sigil itself in its book editor, not the font that ends up in the eBook.
|
08-20-2010, 12:03 PM | #8 |
Chocolate Grasshopper ...
Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
Harry, I think that's the hint I gathered which is why I posted my last comment and said that the manual had no help on it .... the quote being the only reference I could find to 'font' .
|
08-20-2010, 12:17 PM | #9 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
My apologies, Geoff; I misunderstood your post.
|
08-20-2010, 12:22 PM | #10 |
Chocolate Grasshopper ...
Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
|
08-20-2010, 12:44 PM | #11 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
QtWebKit (which in turn is based on vanilla WebKit) used in Sigil is currently a year old since Qt 4.6 is a year old. Qt 4.7 is just around the corner, so when that lands, there will be a fair amount of bugfixes and improvements to Book View. If the problem persists after Sigil migrates to Qt 4.7, create an issue on the tracker and I'll look into a workaround. |
|
08-20-2010, 01:09 PM | #12 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
I have Bookman Old Style on my system, and it displays the NB hyphen correctly in Firefox, so it appears that there is some kind of issue there. We'll see what happens with Qt 4.7.
Thanks to all for your help! P.S. to Valloric: Quite a while back, I filed an (ultimately rejected) issue about the handling of non-breaking spaces in the TOC. The use of the Title attribute in the headers now lets me deal with that nicely, along with some other useful capabilities. And so, a double thanks! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Non breaking spaces? | troymc | Sigil | 6 | 05-22-2010 07:47 AM |
Code / Cypher Breaking | ahi | Writers' Corner | 22 | 08-01-2009 11:57 AM |
Breaking the screen with pressure? | physics@war | Sony Reader | 12 | 06-26-2009 01:46 PM |
Battery cover breaking | tompe | Bookeen | 17 | 03-04-2009 10:03 AM |
Mysteriously breaking screen | JSWolf | Sony Reader | 30 | 11-14-2008 05:11 AM |