Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Trying to understand fonts in xulrunner (differences between Debian etch & RHEL4)

0 views
Skip to first unread message

Matt Adams

unread,
Feb 14, 2009, 10:19:27 PM2/14/09
to dev-pl...@lists.mozilla.org
Folks:

Apologies if I've somehow managed to find the wrong mailing list.

I am currently using xulrunner 1.9.0.5 to convert web pages into PDFs
using a modified version of mozilla2ps. This works wonderfully on
Debian etch but I am having problems with the same program on Red Hat
Enterprise Linux 4 and would appreciate anyone pointing me in the right
direction.

I am launching xulrunner via Xvfb in the exact same manner on both
platforms.

I have two problems on RHEL4:

1) Everything renders a little bit smaller than in Debian etch. Fonts
are smaller & images on the PDFs are smaller.

2) Font kerning is really out of whack.

Both PostScript and native PDF output via Cairo give the same results.

Both environments have access to the same TTF font set and are able to
embed the fonts without any problems.

I have been trying for a couple of days to figure out what is at fault
in the RHEL4 environment but have been unable to determine what is going
on with regards to the font kerning & size difference. It looks like
the RHEL4 system is using a somewhat smaller DPI but I don't know where
XULRunner would be getting this from.

I have no clue where to start looking with regards to the messed up font
kerning.

Any suggestions or ideas would be greatly appreciated.


Thanks in advance,

Matt
--
Matt Adams
Development & Network Services
Cypress Interactive
http://cypressinteractive.com, http://edsuite.com

0 new messages