ailiboy / ebookdroid

Automatically exported from code.google.com/p/ebookdroid
0 stars 0 forks source link

deterioating rendering quality #251

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.downloading a sample bookchapter from
http://press.princeton.edu/chapters/s6946.pdf

try them in 1.5.0-dev revision 1367 and v1.4.2

3. What is the expected output?

pages rendering quality should be improved 

4. What do you see instead?

pages are unreadable under 1.5.0-dev revision 1367 ,but close to publication 
quality under v1.4.2

What version of the product are you using?
ebookdroid 1.5.0-dev revision 1367

On what operating system?
cm7.2

What device are you using?
nooktablet 16g

Please provide any additional information below.

Tree-like outline is greatly appreciated

Original issue reported on code.google.com by wbhuan...@gmail.com on 6 Jul 2012 at 3:32

GoogleCodeExporter commented 9 years ago
pls provide screenshots and more details

Original comment by Alexander.V.Kasatkin@gmail.com on 6 Jul 2012 at 4:30

GoogleCodeExporter commented 9 years ago
This version does not contain embedded fonts unlike 1.4.2.
It uses standard Android fonts to render PDF docs.
The release version will have ability to use various font packs.

At the moment we have hardcoded font names:

char* ext_font_Courier = "/sdcard/.org.ebookdroid/fonts/FreeMono.ttf";
char* ext_font_CourierBold = "/sdcard/.org.ebookdroid/fonts/FreeMonoBold.ttf";
char* ext_font_CourierOblique = 
"/sdcard/.org.ebookdroid/fonts/FreeMonoOblique.ttf";
char* ext_font_CourierBoldOblique = 
"/sdcard/.org.ebookdroid/fonts/FreeMonoBoldOblique.ttf";
char* ext_font_Helvetica = "/sdcard/.org.ebookdroid/fonts/FreeSans.ttf";
char* ext_font_HelveticaBold = "/sdcard/.org.ebookdroid/fonts/FreeSansBold.ttf";
char* ext_font_HelveticaOblique = 
"/sdcard/.org.ebookdroid/fonts/FreeSansOblique.ttf";
char* ext_font_HelveticaBoldOblique = 
"/sdcard/.org.ebookdroid/fonts/FreeSans.ttf";
char* ext_font_TimesRoman = "/sdcard/.org.ebookdroid/fonts/FreeSerif.ttf";
char* ext_font_TimesBold = "/sdcard/.org.ebookdroid/fonts/FreeSerifBold.ttf";
char* ext_font_TimesItalic = 
"/sdcard/.org.ebookdroid/fonts/FreeSerifItalic.ttf";
char* ext_font_TimesBoldItalic = 
"/sdcard/.org.ebookdroid/fonts/FreeSerifBoldItalic.ttf";
char* ext_font_Symbol = "/sdcard/.org.ebookdroid/fonts/StandardSymL.cff";
char* ext_font_ZapfDingbats = "/sdcard/.org.ebookdroid/fonts/Dingbats.cff";

You can download these files from Fonts2u.com and put them into the appropriate 
folder

Original comment by Alexander.V.Kasatkin@gmail.com on 6 Jul 2012 at 8:34

GoogleCodeExporter commented 9 years ago
"This version does not contain embedded fonts unlike 1.4.2"

Does this mean that the problem is caused by the new feasure "PDF built-in
fonts removed".

why add a  features that compromise rendering quality.

I have a feeling that rendering quality in the new version is worse than
that of old.

ensuring that pages are rendered at publication quality is a function that
should never be compromised.

Original comment by wbhuan...@gmail.com on 6 Jul 2012 at 8:48

GoogleCodeExporter commented 9 years ago
Embedded fonts in MuPDF do not support full glyph range, for example it misses 
cyrillic and east europe glyphs. So, we decided to use external fonts with full 
glyph range.

All questions about rendering quality address to MuPDF team.

Original comment by Andrei.K...@gmail.com on 6 Jul 2012 at 9:09

GoogleCodeExporter commented 9 years ago
You may estimate rendering new quality with attached picture.

Original comment by Alexander.V.Kasatkin@gmail.com on 6 Jul 2012 at 9:15

Attachments: