Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 06-16-2018, 05:16 AM   #1
Grinchy
Junior Member
Grinchy began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2018
Device: Inkpad 3
Calibre - Vertical Text and Right to Left in Japanese

Hello,

I really love Calibre, but i can't get Japanese Vertical Text and "Right to Left" working for Converting Files.

After importing an Japanese epub or mobi it even shows right in the Viewer, but after converting it (epub -> epub/azw3/mobi, doesn't matter) the Vertical Text and Right to Left are gone.

Is there a way to fix this? I really want to convert my Books to azw3, but that's impossible with Calibre right now :-(
Grinchy is offline   Reply With Quote
Old 06-16-2018, 06:08 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 34,124
Karma: 10261492
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://www.mobileread.com/forums/sh...d.php?t=186697
kovidgoyal is offline   Reply With Quote
Advert
Old 06-16-2018, 06:29 AM   #3
Grinchy
Junior Member
Grinchy began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2018
Device: Inkpad 3
Sorry!

Here are the missing information!

- 無職転生 - 蛇足編 - 番外編.mobi is the Original with Vertical Text and Right to Left.

- "After Converting.mobi" is the converted file with broken Vertical text and without Right to Left.

Tried it with a lot of different files, but didn't work with any.

Log:

Code:
Buch 1 von 1 (無職転生 - 蛇足編 -) konvertieren
C:\Users\paddy\OneDrive\Calibre Portable\Calibre\app\pylib.zip\dateutil\parser.py:601: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
  personal_doc: None
  read_metadata_from_opf: u'C:\\Users\\paddy\\AppData\\Local\\Temp\\calibre_hiqgen\\kn8q10.opf'
  verbose: 2
  output_profile: 'kindle_oasis'
  input_profile: 'kindle'
Resolved conversion options
calibre version: 3.25.0
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'change_justification': u'original',
 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
 'chapter_mark': u'pagebreak',
 'comments': None,
 'cover': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_compress': False,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'expand_css': False,
 'extra_css': None,
 'extract_to': None,
 'filter_css': u'',
 'fix_indents': True,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.KindleInput object at 0x03B5CC10>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'language': None,
 'level1_toc': None,
 'level2_toc': None,
 'level3_toc': None,
 'line_height': 0.0,
 'linearize_tables': False,
 'margin_bottom': 5.0,
 'margin_left': 5.0,
 'margin_right': 5.0,
 'margin_top': 5.0,
 'markup_chapter_headings': True,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'mobi_file_type': u'old',
 'mobi_ignore_margins': False,
 'mobi_keep_original_images': False,
 'mobi_toc_at_start': False,
 'no_chapters_in_toc': False,
 'no_inline_navbars': True,
 'no_inline_toc': False,
 'output_profile': <calibre.customize.profiles.KindleOasisOutput object at 0x03B5CF10>,
 'page_breaks_before': u"//*[name()='h1' or name()='h2']",
 'personal_doc': None,
 'prefer_author_sort': False,
 'prefer_metadata_cover': False,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': u'C:\\Users\\paddy\\AppData\\Local\\Temp\\calibre_hiqgen\\kn8q10.opf',
 'remove_fake_margins': True,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'renumber_headings': True,
 'replace_scene_breaks': u'',
 'search_replace': '[]',
 'series': None,
 'series_index': None,
 'share_not_sync': False,
 'smarten_punctuation': False,
 'sr1_replace': None,
 'sr1_search': None,
 'sr2_replace': None,
 'sr2_search': None,
 'sr3_replace': None,
 'sr3_search': None,
 'start_reading_at': None,
 'subset_embedded_fonts': False,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': None,
 'transform_css_rules': '[]',
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\paddy\AppData\Local\Temp\calibre_hiqgen\kxxppw.mobi
Found KF8 MOBI of type 'joint'
Extracting text...
Parsing all content...
Parsing text/part0009.html ...
Parsing text/part0010.html ...
Parsing text/part0029.html ...
Parsing text/part0011.html ...
Parsing text/part0012.html ...
Parsing text/part0013.html ...
Parsing styles/0001.css ...
Parsing text/part0014.html ...
Parsing text/part0002.html ...
Parsing text/part0025.html ...
Parsing text/part0015.html ...
Parsing text/part0000.html ...
Parsing text/part0027.html ...
Parsing text/part0016.html ...
Parsing text/part0028.html ...
Parsing text/part0023.html ...
Parsing text/part0017.html ...
Parsing text/part0030.html ...
Parsing text/part0031.html ...
Parsing text/part0026.html ...
Parsing text/part0018.html ...
Parsing text/part0032.html ...
Parsing text/part0033.html ...
Parsing text/part0019.html ...
Parsing text/part0034.html ...
Parsing text/part0020.html ...
Parsing text/part0035.html ...
Parsing text/part0036.html ...
Parsing text/part0021.html ...
Parsing text/part0022.html ...
Parsing text/part0003.html ...
Parsing text/part0004.html ...
Parsing text/part0005.html ...
Parsing text/part0006.html ...
Parsing text/part0007.html ...
Parsing text/part0024.html ...
Parsing text/part0008.html ...
Parsing text/part0001.html ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 16.00000pt
Removing fake margins...
Found 1 items of level: div_1
div_1  left margin stats: Counter()
div_1  right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Creating MOBI Output...
Serializing resources...
Creating MOBI 6 output
Generating in-line TOC...
Applying case-transforming CSS...
Parsing manglecase.css ...
Parsing tocstyle.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Serializing markup content...
  Compressing markup content...
Generating MOBI index for a book
MOBI output written to C:\Users\paddy\AppData\Local\Temp\calibre_hiqgen\adwfuw.mobi
Attached Files
File Type: mobi 無職転生 - 蛇足編 - 番外編.mobi (1.54 MB, 122 views)
File Type: mobi After Comverting.mobi (716.9 KB, 112 views)
Grinchy is offline   Reply With Quote
Old 06-16-2018, 09:28 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 34,124
Karma: 10261492
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Looks correct to me after converting to azw3 (note that you have to convert to azw3 or epub)

See attached, I cant read a japanese, so I cant be sure but from staring at the characters, they look correct and are still rendered vertically in the calibre viewer.
Attached Files
File Type: azw3 x.azw3 (790.3 KB, 186 views)
kovidgoyal is offline   Reply With Quote
Old 01-23-2019, 10:17 PM   #5
elipsett
Junior Member
elipsett began at the beginning.
 
elipsett's Avatar
 
Posts: 4
Karma: 10
Join Date: Jul 2013
Location: Fukuoka, Japan
Device: Galaxy Tab
Japanese vertical text

I am also very interested in this problem. Let me provide a little more information using KindlePreview (latest version) on MacOS10.12, native Japanese mode.

In the two files the OP sent, the first file displays Japanese in vertical format, left-to-right, and the page advance button is (properly) on the left side of the screen.
In the second (converted) file, the Japanese is displayed horizontally, and the page advance button is on the right side of the screen (in other words, just like English text).

If this moves to a new thread it should include the sample files.
elipsett is offline   Reply With Quote
Advert
Old 01-24-2019, 09:03 AM   #6
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 2,664
Karma: 25480825
Join Date: Nov 2011
Location: Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Amazon's KF8 (azw3) format supports vertical text, but the old MOBI-7 format does not.

The first attachment (無職転生 - 蛇足編 - 番外編.mobi) is a Master MOBI which contains both MOBI-7 and KF8 in a single file. This type of file is produced by Amazon's Kindle Previewer or kindlegen. The reason that it works is that devices capable of displaying KF8 make use of that part of the file and ignore the MOBI-7 part.

The second attachment (After Comverting.mobi) is plain MOBI-7 format, without KF8. That is why it is so much smaller and why it does not support vertical text.

As Kovid stated, you need to convert to a format that supports vertical text, such as EPUB or KF8 (azw3) for vertical text to work properly.
jhowell is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertical Text Hopkins Sigil 3 08-11-2016 08:16 PM
Calibre Japanese Vertical Text Viewer Problem fobos3 Calibre 1 07-09-2013 12:11 AM
Looking for Japanese EPUB3 with vertical writing Micah General Discussions 4 06-15-2013 05:28 PM
How to specifiy vertical text layout (e.g. Japanese) totsubo Sigil 7 04-13-2013 02:01 AM
E-paper reader that displays vertical Japanese in non-proprietary format angus77 Which one should I buy? 9 03-11-2012 03:16 AM


All times are GMT -4. The time now is 01:28 PM.


MobileRead.com is a privately owned, operated and funded community.