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

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2008, 09:42 AM   #1
caritas
Enthusiast
caritas doesn't littercaritas doesn't litter
 
Posts: 26
Karma: 161
Join Date: Feb 2008
Device: Sony PRS505
Another embold method for rending PDF

To enhance readability of PDF file on e-ink reader, the glyph (font) need to be embolded. Current available embold method is something as follow:

1. Enlarge image
2. dilate ink
3. Scale image to original size

Now, I find another method to embold font in glyph granularity via using:

FT_GlyphSlot_Embolden() of libfreetype

A patch for libpoppler is attached. I think this method can provide acceptable effect with better performance, because the embold only need to be done once for each glyph. So this may can be used in software in e-ink devices.

The rending effect is attached too:

chap6.pdf: sample pdf file
org.png: original rending method, without embolding
embold.png: embolded with this method
pl.png: embolded with pdf2lrf.
Attached Thumbnails
Click image for larger version

Name:	org.png
Views:	430
Size:	31.4 KB
ID:	13981   Click image for larger version

Name:	embold.png
Views:	427
Size:	35.0 KB
ID:	13982   Click image for larger version

Name:	pl.png
Views:	428
Size:	37.7 KB
ID:	13983  
Attached Files
File Type: gz embold.patch.gz (376 Bytes, 363 views)
File Type: pdf chap6.pdf (267.9 KB, 346 views)
caritas is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Method for seeing only the recent imports peterloron Calibre 3 09-22-2010 04:02 PM
A brute force method to read PDF files on Cybook Hanselda Bookeen 8 08-08-2008 06:57 AM
Subtitute font when rending PDF on small screen caritas PDF 2 06-30-2008 07:41 AM
Subtitute font when rending PDF in small screen caritas Sony Reader 0 06-28-2008 08:09 AM
alternate login method? curtw Feedback 9 04-23-2008 11:05 PM


All times are GMT -4. The time now is 09:37 PM.


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