02-09-2011, 03:42 PM | #16 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: sony 600
|
thanks for such a fast reply. Use the transliterate unicode characters option doesn't help. the reader uses different code page. we usualy use cp 1252 and even if i set it as the source encoding it doesnt help. the best result i can get is to use lrt file with embed font but when using transliberation, it gets rid of all the interpunction š -> s etc. even the one which is correct. and read books without it is not pleasant
there are ways how to fix it by using other programs or by flashing the firmware. the S & R feature works (with LRT files)! but i would need like 7 fields. wouldnt be nice to have an all in one solution? |
02-09-2011, 04:04 PM | #17 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Umm transliterate unicode characters converts everything to english cahracters which all ebook readers support.
|
Advert | |
|
02-09-2011, 04:52 PM | #18 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
@Kovid, millhaus only wants to change the characters that don't display properly to ASCII not all unicode characters.
|
02-09-2011, 04:53 PM | #19 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah. Now I get it.
|
02-09-2011, 08:43 PM | #20 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
There's the configuration variable in the output profile to add 'just' un-supported letters there - I don't think it would be a great idea to add letters to the defaults because users taking the time to add fonts to their readers would complain, but maybe a 'tweak' could added so users could append their own list of characters.
@millhaus, I don't know if you've checked on the Sony sub-forums, but I thought that you could just stick a font file onto the Sony's filesystem directly and use Calibre's extra_css to have every ebook use it once converted. I might be mis-remembering though and it's possible that it only works with the latest generation devices. Couldn't find it on Mobilread, though I'm sure the info is here somewhere, anyway here's a link to the regular Sony forum: http://www.sonyreaderboards.com/foru...le=6&f=2&t=190 Last edited by ldolse; 02-09-2011 at 09:00 PM. |
Advert | |
|
02-10-2011, 12:47 PM | #21 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: sony 600
|
thank you guys so much. i folowed the method from the sony forum and it works great for books.
but not for news. i was even trying to modify the recipe by adding this Code:
extra_css = """ @font-face { font-family: "arial"; font-weight: normal; font-style: normal; src: url(res:///Data/fonts/arial.ttf); } body { font-family: "arial", serif; widows: 0; orphans: 0 } """ |
02-24-2011, 11:24 PM | #22 |
Junior Member
Posts: 4
Karma: 10
Join Date: Feb 2011
Device: SONY e650
|
I vote yes
If at all possible, I also vote for more S&R fields.
I have a similar problem as Millhaus except with Polish characters. I added fonts to my 650, and sometimes I embed the fonts as well and generally it works well. However, every now and then I'll run into a strange pdf which displays Polish characters fine in pdf but after pdf is processed they get converted incorrectly to something like a' instead of ą, s' instead of ś, etc. Flashing firmware, adding fonts, etc won't help because ePub gets written incorrectly. Transliterating to ASCII is not palatable, because I like my Polish text to have Polish letters where they should be. I have verified that I can deal with that via S&R, it's just that now I have to do multiple passes. Fom the UI point of view I think it could be dealt with by having a list of S&R expressions and an "add S&R" button which would add to the list. To make people's life easier for the common S&R tasks like removing -<pgnum>- we could even allow to name and save an S&R for later reuse... |
04-06-2011, 02:40 PM | #23 |
Member
Posts: 12
Karma: 10
Join Date: Jan 2011
Device: nook color
|
|
04-06-2011, 04:49 PM | #24 | |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
|
|
04-08-2011, 03:59 PM | #25 | |
Member
Posts: 12
Karma: 10
Join Date: Jan 2011
Device: nook color
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
macro - Search and Replace | oldbwl | Workshop | 17 | 03-05-2011 01:39 PM |
302 PB 302 increase text darkness and search in library... | fragile | PocketBook | 4 | 01-25-2011 02:00 PM |
need regex help search and replace | schuster | Calibre | 4 | 01-10-2011 09:00 AM |
Search and replace in 0.2.0 | paulpeer | Sigil | 7 | 03-13-2010 11:59 AM |
Why no search and replace? | charleski | Sigil | 10 | 11-24-2009 04:13 PM |