This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12057 - Manual fonts are bitmaps
Attached to Project:
Rockbox
Opened by Charles (CSMR250) - Saturday, 09 April 2011, 17:53 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Thursday, 21 April 2011, 23:54 GMT+2
Opened by Charles (CSMR250) - Saturday, 09 April 2011, 17:53 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Thursday, 21 April 2011, 23:54 GMT+2
|
DetailsThe manual uses LaTeX. One of the issues with LaTeX having 30-years-old legacy components is that you specifically need to tell it to use the outline fonts that we have been used to for about 25 years. Otherwise it uses a bitmapped font by default.
The manuals found at: http://www.rockbox.org/manual.shtml use bitmapped fonts, presumably because they haven't used the right setting in LaTeX, which you need to do deliberately. Since this is default behavior in LaTeX, a lot of people run in to this problem, and there are many ways to fix it. I am not an expert on LaTeX and don't know the best way but see http://dsanta.users.ch/resources/type1.html Or see any LaTeX forum for multiple threads on this. |
This task depends upon
Closed by Dominik Riebeling (bluebrother)
Thursday, 21 April 2011, 23:54 GMT+2
Reason for closing: Not a Bug
Additional comments about closing: The font in the manual has been changed but for a different reason. Closing as Not a Bug because a PDF reader rendering the PDF in a bad way is not a bug. The rendering is also highly dependent on the PDF reader itself (you can make the output of Adobe Reader almost unusable by configuring it in a wrong way).
Thursday, 21 April 2011, 23:54 GMT+2
Reason for closing: Not a Bug
Additional comments about closing: The font in the manual has been changed but for a different reason. Closing as Not a Bug because a PDF reader rendering the PDF in a bad way is not a bug. The rendering is also highly dependent on the PDF reader itself (you can make the output of Adobe Reader almost unusable by configuring it in a wrong way).
The disadvantages of bitmapped fonts are:
-The resolution is typically low and lower than a good laser printer for example. So print quality is lower than with outline fonts.
-On screen:
--Glitches are obvious when you zoom in. This has always been true.
--Modern font rendering technologies that involve sub-pixel rendering will not be used. On Windows these have been in place since XP, i.e. since 2001. So on modern systems outline fonts will be more readable than bitmap fonts at any scale.
These are well known which is why bitmapped fonts quickly fell out of use.
-I gave enough information to practically confirm that bitmap fonts are being used. It would be possible to make proper outline fonts out of squares but that would be crazy.
As to your question about the details of postcript font types, see the link I gave: http://dsanta.users.ch/resources/type1.html
To quote from this:
"The problem is that by default TeX/LaTeX uses bitmap (i.e., Type 3) fonts instead of scalable Type 1 or TrueType fonts. These bitmap fonts are generated at the printer's resolution, which is typically 300 or 600 dpi. Changing the resolution of bitmap fonts is no easy task and therefore the PDF readers produce terrible results when displaying these fonts on the screen. Furthermore, printing quality can be quite deceiving if the printer's resolution does not match the one of the bitmap font."
So the presence of Type 3 fonts indicates the problem.
While the dpi is a problem, the disabling of subpixel rendering in a typical pdf reader would hurt reading even if the bitmaps were 10000dpi. (See http://www.ischool.utexas.edu/~ct/chi_p618.pdf and other tests.)
Anyway that's enough from me. Up to the developers if they want to fix this. But everyone knows that the right way to do fonts is outline. Bitmap fonts only exist because of the early history of computing.
Also, bitmap fonts don't only exist because of the early history of computing and the right way to do is not always to use outlined fonts. This claim is completely nonsense. Rockbox itself uses bitmap fonts. Does this mean it's early computing? Or doing it wrong? Not at all. Bitmap fonts are rendered for a *specific* size and not intended for getting scaled. This has *nothing* to do with antialiasing, Rockbox itself can also use antialiased fonts. Those are *still* bitmap fonts! If claiming things please don't mix up two completely different things. Besides, PDF is a format intended to have the same thing as you would print in a file. You *can* also read it on the screen. If you want to read the manual you can simply use the HTML version which doesn't include bitmap fonts (well, your computer might use bitmap fonts when displaying it ...)
Changing fonts for the manual isn't trivial. This is due to the fact that the manual is build both for PDF and HTML targets, and generation behaves different between those too. Furthermore, the manual contains extended characters that should still be searchable. If LaTeX is emulating extended characters this doesn't work anymore and therefore it's not wanted. A similar problem exists for small caps which are used in the manual as well (especially for naming settings, and not being able to search for a setting *is* a problem).