|
|
Sponsor |
pdf viewer: msg#00081freedesktop.xcb
Hey, Jamey told me that an xcb based pdf viewer would be cool. Poppler is a (c++) library that parses and render pdf content. Here is xcbpdf :) I told Jamey that i would not be able to find time to code it within a few weeks. Finally, i could not resist. I've very quickly code that minimalist pdf viewer. It's not perfect, in particular, the colors. All the ways I have tried are quite slow. Right now the speed is correct, but the colors are ugly. If you want to test : 1) install poppler : cvs -d :pserver:anoncvs-fPHQoQgdw3yvj1b/ULB3Z0B+6BGkLq7r@xxxxxxxxxxxxxxxx:/cvs/poppler co poppler 2) Compile it with that option to configure : ./configure --enable-xpdf-headers make make install 3) Compile xcbpdf : g++ -g -Wall -o xcbpdf xcbpdf.c `pkg-config --cflags --libs poppler xcb xcb-aux xcb-image` yeah, I know, I have to use g++ :) Finally, you can use the following keys to naviguate : esc : exit right arrow : page++ left arrow : page-- page up : page -= 10 page down : page += 10 that's all :) fell free to hack it. Comment are of course welcome :) Vincent
Xcb mailing list Xcb-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@xxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/xcb
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: where to find xproto.pc ?, Josh Triplett |
|---|---|
| Next by Date: | Re: pdf viewer, Barton C Massey |
| Previous by Thread: | Re: Typed constants, Josh Triplett |
| Next by Thread: | Re: pdf viewer, Barton C Massey |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|