pdf.js … very cool

PDF.js is a new project from Mozilla to render PDFs using pure Javascript and HTML. So I thought to put it through its paces - what would happen if I gave it a PDF of one of Diwan’s most complex Arabic fonts to render. This usually stretches Adobe’s own Acrobat. Here is the result (click [...]

Hacking dir=uba

I spent the past week hacking dir=uba support into Gecko. Here are the problems I have hit:
HTML and CSS incompatibility
HTML will have the dir=uba attribute inherited to child elements but there is no matching CSS direction:uba. The idea is that the direction will be calculated from the content and then set in the CSS. So [...]

Hacking Mozilla in XCode

The MDC instructions for debugging mozilla in XCode are fine but as soon as you try to build Mozilla from XCode, you hit a few obstacles.
Add a new Target of type External Target. For the settings:

Note the PATH - needs to point to the MacPorts directory.
Now it will build OK but debugging will fail with [...]

Additional Requirements for Bidi in HTML…

… is the subject of the W3C working draft for future improvements to bidi support in HTML5 and CSS3. Having formally moaned three years ago about the state of bidi in HTML, it looks like something will actually change. A few months ago a group was formed to formalise a proposal to the W3C about [...]

I inadvertently became a member of the Mozilla project

Last month I reported bug 547654 in Thunderbird where scrolling caused display problems. First a QA engineer passed it to the right group, then the programmer of the affected code asked me to repeat the issue. Now the bug has grown to a full scale blocker and actually assigned to me! I have written a [...]