Nook and Sitepoint PDFs display issue

Hello all, I just picked up the Nook after buying a ton of pdfs from the sitepoint xmas sale and wanting to read them all and getting fed up of reading them on my tiny little iPhone…

While browsing through the books (currently Javascript Anthology) I noticed that if my font on the reader is set to anything larger than small the blocks of code are prone to get slightly disfigured…

i.e page 6 of chapter 1, (page 30 on my nook)


<ul id="menu"> 
    <li><a href="/">Home</a></li> 
    <li><a href="/about/">About</a></li> 
    <li><a href="/contact/">Contact</a></li>
</ul>
 
<script type="text/javascript" src="menu.js"></script>

becomes


<ul id="menu"> 
    <li><a href="/">Home</a></li> 
    <li><a href="/about/">About</a></li> <li><a href="/contact/">Contact</a></li></ul> 

<script type="text/javascript" src="menu.js"></script>

Now I know this is only slight, but for bigger blocks of code, say if I’m sifting through the PHP Anthology and we come across a large code block, it would be heavy on the eyes if the formatting was off, and let’s face it, one thing I love most about sitepoint is their layout of code and readability of the overall book and I fear that the nook (not sure of any other ereader) hinders that for me…

Does anyone know of a fix that will allow me to view the code properly while keeping the text to a readable size or is this a problem with all ereaders in general?

Hi jotaru, welcome to the forums,

I’m afraid I can’t be much help. But I’m wondering if the reader is changing the text within the “code” tags to monospace and that’s what’s causing the effect.

Instead of “font size”, maybe if you experiment with “font family” settings you can find something that will help?

Unfortunately I am unable to change the font from Amasis, not sure why, the nook in the store I was able to change the font type to several different types but I guess it depends on the file, perhaps I can embed another font in the PDF (no idea if that’s possible / how to do that) and I don’t think it changes to font because it looks the same (the code blocks) but who knows :x