vitqst / ebookdroid

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

Change fonts? #439

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Nothing. Just load the app

What is the expected output?
Better looking fonts. I attached a screenshot. I'd like to force PDFs to be 
displayed with a font easier to read.

What do you see instead?
Original fonts.

What version of the product are you using?
1.6.4

On what operating system?
Android 4.1.1 on Samsung Galaxy Nexus

What device are you using?

Please provide any additional information below.

Original issue reported on code.google.com by frdthe...@gmail.com on 29 Jan 2013 at 2:35

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, I didn't see the "Please provide any additional information below" 
before creating the ticket.

Original comment by frdthe...@gmail.com on 29 Jan 2013 at 2:36

GoogleCodeExporter commented 9 years ago
Did you tried to download, install and select in settings additional 
EBookDroid's font packs? They can be found in market or main page on this site.

Original comment by Andrei.K...@gmail.com on 29 Jan 2013 at 4:16

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/ebookdroid-fontpacks/downloads/list

Original comment by Andrei.K...@gmail.com on 29 Jan 2013 at 4:17

GoogleCodeExporter commented 9 years ago
Thanks. Do I need "Legacy FontPack", "URW Symbol FontPack", "NimbusL FontPack", 
"FreeFonts FontPack", and "Scada FontPack"?

Original comment by frdthe...@gmail.com on 29 Jan 2013 at 4:21

GoogleCodeExporter commented 9 years ago
PDF required one Legacy FontPack or (URW Symbol FontPack + FreeFonts FontPack)
And, also, do not forget select installed font in preferences (All Settings -> 
Format Specific -> PDF)

Original comment by Alexander.V.Kasatkin@gmail.com on 29 Jan 2013 at 4:57

GoogleCodeExporter commented 9 years ago
Thanks, but although the Legacy Font is installed, EBD won't let me choose a 
different font. Screenshots attached. Do I need to perform an extra step to let 
Android/EBD know of this new font?

Original comment by frdthe...@gmail.com on 29 Jan 2013 at 5:10

Attachments:

GoogleCodeExporter commented 9 years ago
All font packs are installers. It should be run after installation on device.

Original comment by Alexander.V.Kasatkin@gmail.com on 29 Jan 2013 at 6:25

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks for the tip. I hadn't thought of hitting "Open" after downloading and 
installing the package.

Next, I clicked on "Install Font", followed by the unusual "Do you want to 
uninstall this app?" where I hit "OK".

Finally, I selected the following fonts for the following options:
Sans/Serif font family = NimbusL free fonts, sans
Symbol font family = Free URW symbol fonts, symbol

However, the fonts seem to be missing accented characters:

Original comment by frdthe...@gmail.com on 29 Jan 2013 at 10:12

Attachments:

GoogleCodeExporter commented 9 years ago
Yes. That's correct behaviour. That's why we have more than one font pack. 
NimbusL indeed miss accented characters. But it's glyph metric is ideal. "Free 
font" has all glyphs but it's glyph metric not ideal and lines can be not 
justified on right side.

But these fonts are best what we found from fonts with free license.

Original comment by Andrei.K...@gmail.com on 30 Jan 2013 at 7:32

GoogleCodeExporter commented 9 years ago
Thanks. So they won't work to display European texts in a more legible way
than the original font I wanted to replace :-/

Are there commercial fonts that I could install and will work with EBD?

Original comment by frdthe...@gmail.com on 30 Jan 2013 at 8:37

GoogleCodeExporter commented 9 years ago
Yes. You can use any font you want (TTF, CFF, OTF). All you need is to copy 
your fonts to /sdcard/.org.ebookdroid/fonts/**/* and modify 
/sdcard/.org.ebookdroid/fonts/fonts.jso

It is a plain text JSON file. I think you can easily understand it's format.

Original comment by Andrei.K...@gmail.com on 30 Jan 2013 at 9:00

GoogleCodeExporter commented 9 years ago
Thanks for the info. If someone can recommend companies + fonts that looks
good to read PDFs on smartphones, I'm interested :-) I don't know anything
about that line of business.

Original comment by frdthe...@gmail.com on 30 Jan 2013 at 9:08

GoogleCodeExporter commented 9 years ago
Weird: I just re-opened the document in EBD still set to use NimbusL free 
fonts, sans/serif, and the accents are back :-/

I guess the tooth fairy does exist after all.

BTW, the text looks better in the screenshots than on the actual screen, so the 
original text is harder to read on the actual smartphone.

Thanks for the help.

Original comment by frdthe...@gmail.com on 30 Jan 2013 at 9:18

Attachments:

GoogleCodeExporter commented 9 years ago
Can you attach your book for future experiments?

Original comment by Andrei.K...@gmail.com on 30 Jan 2013 at 9:50

GoogleCodeExporter commented 9 years ago
It's here:
http://www.ieim.uqam.ca/spip.php?action=telecharger&arg=4508

Original comment by frdthe...@gmail.com on 30 Jan 2013 at 10:01

GoogleCodeExporter commented 9 years ago

Original comment by Andrei.K...@gmail.com on 12 Feb 2013 at 12:39

GoogleCodeExporter commented 9 years ago
Hello again

I find the following PDF hard to read on my smartphone. I couldn't find a way 
to zoom in and have eBookDroid rearrange the text so that it would fit in the 
screen without having to scroll horizontally back and forth.

So I downloaded and installed the Scada font package.

However, after closing and re-opening the file, it's still using its original 
font.

I have the following questions:
1. Do some PDFs have their font hard-coded, so they just won't use other, 
external fonts anyway?
2. If not, how can I get eBookDroid to change the font to Scada?
3. Alternatively, can eBookDroid display the original font in bigger point and 
reformat the text so that it'll fit the screen?

FWIW, I was reading the following PDF:
https://media.readthedocs.org/pdf/uwsgi-docs/latest/uwsgi-docs.pdf

Thank you.

Original comment by frdthe...@gmail.com on 11 Mar 2014 at 11:12

Attachments:

GoogleCodeExporter commented 9 years ago
1. Yes. Most of the PDFs has fonts embedded.
2. No. Force font change not implemented.
3. Text reflow is not implemented and won't be implemented.

Original comment by Andrei.K...@gmail.com on 11 Mar 2014 at 12:36

GoogleCodeExporter commented 9 years ago
Thanks. So, installing external fonts is usually pointless if most PDFs will 
only use its own fonts embedded in the file.

Original comment by frdthe...@gmail.com on 11 Mar 2014 at 12:56