I have Embedded Systems exam today, so I woke at 12.30 AM to start studying when I was faced with an interesting problem. I got myself an eBook of Raj Kamal, "Embedded Systems - Architecture, Programming and design", Tata McGraw Hill, Second Edition (i do not want to share the link here, a simple google search will get the link on many of the file sharing sites).
The pages were aligned for front-and-back printout. One page aligned left, and another right. It was a pain in the ass to read such a text. So, I wrote a simple iText based java program to correct it. This will run on 2 pasess to correct the even pages of the book to align left and go through the pages to make it in Portrait format from the default landscape view.
PS: This code is for personal use only. Try this at your own risk.
The pages were aligned for front-and-back printout. One page aligned left, and another right. It was a pain in the ass to read such a text. So, I wrote a simple iText based java program to correct it. This will run on 2 pasess to correct the even pages of the book to align left and go through the pages to make it in Portrait format from the default landscape view.
PS: This code is for personal use only. Try this at your own risk.
No comments:
Post a Comment