## Weird black bars in LaTeX images

Recently I’ve been seeing strange black bars to the right of all the images generated from LaTeX expressions on this blog. But I’m starting to suspect that it’s some sort of bug in Firefox, because when I download the images and view them with some other program, they look fine.

$\displaystyle \sum_{k=1}^\infty \frac{1}{k^2} = \frac{\pi^2}{6}$

Do you see a black bar to the right of the above formula? Please leave a comment if you do, ideally stating what operating system and browser you use, along with their version numbers. (If you don’t, I guess that would be useful to know too.) Thanks much! I hope to be able to track down the problem with your help.

This entry was posted in meta and tagged , , , , . Bookmark the permalink.

### 22 Responses to Weird black bars in LaTeX images

1. Joshua Zucker says:

2. Paul Reinerfelt says:

Looks correct in Safari 3.1.2 under OS X 10.5. I’m pretty sure the problem is with the browser, I have never encountered problems with LaTeX-generated images otherwise.

3. aria turns says:

It’s look fine to me , i use win xp and Firefox 3

4. Alexey Romanov says:

Firefox 3, Vista, looks normal.

5. Mark James says:

Firefox 3.0.1
Windows XP

6. David P says:

I have the same setup at Mark, but wanted to include that it looks fine in the RSS feed through google reader for me.

7. I see a black bar in Iceweasel (Firefox) 3.0.1 on Debian GNU/Linux 5.0 beta on PowerPC, but the image looks fine when I download it and view it in eog.

8. Steve Winslow says:

I was going to be useful and let you know how it looks on a Mac, but several people beat me to it already =)

9. Alex says:

Windows Vista, Firefox 3.0.1, no problem.

10. Even Internet Explorer is showing it okay.

11. Blaise Pascal says:

Firefox 3.0.1, WinXP, no problems with this post, or with this post in Google Reader.

I have seen the black bars you are talking about recently, but I’m not sure where.

When I get home, I’ll check this page out with FF3.0.1, Linux.

Heck, maybe later today I’ll check it out with Chrome, WinXP.

12. Blaise Pascal says:

Looks OK in Google Chrome, WinXP.

13. Paul Guertin says:

Under Ubuntu 8.04, I see the black bar in Firefox 3.0.1 but not under Konqueror 4.0.3 or Opera 9.27.

Under Windows 2000, I don’t see the black bar in Firefox 3.0.1.

14. Jonathan says:

15. Tim McKenzie says:

Iceweasel 2.0.0.16 on Gentoo Linux shows no black line either on your blog or through Google Reader. Also, I checked your blog using Konqueror 3.5.9, and it’s fine there, too.

I’m impressed by the proportion of your readership that uses free software!

16. Joe says:

Google Chrome (Brilliant) and Win XP Professional. I see no black lines.

17. Looks fine here, using Iceweasel 2.0.0.14 on Debian.

18. Nico says:

This could be interesting…

Fine with FF 3.0.1 in WinXP, but…

Every zoom in and out of the page I do (except 100%) displays the black line.
I mean the black line shows up while I scroll the mouse wheel up and down, with Ctrl pressed, and only disappears at 100% zoom.

I bet it’s a FF image display bug.

19. Matt Spencer says:

Looks fine to me on Firefox 2.0.0.14 (maybe with another 0 in there) and Mac OS 10.5.4.

20. Siddhartha says:

I’m using Google Chrome Beta (which uses webkit, the same engine that powers safari) and I don’t see anything wrong.

21. Andrew Rodland says:

I see it here (firefox 3.0.1, linux) and I think it is related to the images. The outer layer of image metadata for the math image in this post says it’s 107×57 pixels — but the actual image data contains an image that’s 102×55. The ability of those two numbers to be different is a side-effect of the thing that makes animated GIFs possible. Anyway, it seems likely to me that firefox 3 is using a different method to draw GIFs to the canvas than other stuff, that leaves the rightmost of those “spare” pixels as black instead of transparent, and that’s where you get the bars.

22. efrique says:

Firefox 3.01, XP. Looks fine. Feed of it also shows up fine in bloglines.