|06-28-2008, 09:09 AM||#1|
Join Date: Feb 2008
Device: Sony PRS505
Subtitute font when rending PDF in small screen
Considering desktop PC font rending, ordinary resolution of desktop PC is 72dpi or 96dpi, but even the small font of menu is quite readable. And the effect of PDF rending on PC is worse than menu for same font size. One reason is that the menu font is designed for low-resolution.
So if the font in PDF is substituted with font for low-resolution, the rending effect will be better. Fortunately, the font substitution function is available in libpoppler (and xpdf), but it is not configurable now. As an experiment, I substitute Times by "Bitstream Vera Sans" through hard-coding that in libpopper/poppler/GfxFont.cc.
The rending effect is attached.
1. chap6.pdf is the example PDF.
2. org.png is rended with original PDF font (Times).
3. nf.png is rended with "Bitstream Vera Sans".
4. pl.png is rended with pdf2lrf
The patch is attached too as ttf.patch
- "fi" is not displayed correctly with replaced font because of font encoding. This can be resolved by modifying the font with tools such as "fontforge".
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|PRS-300 Med font size too big, but small font size too small||eli2k||Sony Reader||4||05-28-2010 10:47 AM|
|Font of pdf-type pages too small!||hopefulist||Amazon Kindle||1||12-25-2009 05:58 PM|
|Font to Small||CChamp||Amazon Kindle||1||02-24-2009 09:16 AM|
|Another embold method for rending PDF||caritas||0||07-01-2008 10:42 AM|
|Subtitute font when rending PDF on small screen||caritas||2||06-30-2008 08:41 AM|