[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Only Courier fonts are printed out with Xprint under Mozilla



Folks,

I have now got Xprint to print proportional fonts in Mozilla. FYI, I did the following:

1. apt-get remove --purge mozilla*

2. got mozillalinux-gnu-1.4-sea.tar.gz

3. installed mozilla under /usr/local as root

4. ran /usr/local/mozilla/mozilla as root for the first time.

The upside is that I can now view (as before) and print using Xprint (unlike before) proportional fonts, including TrueType.

The downside is that the font-rendering (with anti-aliasing under KDE-3.1.3) is less pleasing to the eye than before when I had the support of the Debian mozilla-xft package. Any help to resolve this would be most appreciated.

So, by solving one problem, I seem to have landed up with another :-(

I leave it to more knowledgeable folk to figure out the reasons for the originally reported problem with the Debian packages for mozilla* and xprint-xprintorg.

--Chandra
  23 Aug 03

R (Chandra) Chandrasekhar wrote:
Further to my last e-mail, I have the following information:

1. Only if the 'sans serif' (bundled with Mozilla?) is selected do I get proportional fonts when printing under Mozilla, even as root. Otherwise, if I select Verdana, for instance, I get only Courier fonts on printout.

2. I am not sure whether the preferences in user.js/unix.js for freetype and truetype in ~/.mozilla have any influence on the outcome.

3. Can I try Xprint out with another application other than Mozilla to see what output I get.

4. If it is an encodings problem,what should I do to further troubleshoot my setup?

Thanks.

--Chandra
  21 Aug 03

R (Chandra) Chandrasekhar wrote:

I have some interesting information on this outstanding problem.

I sincerely hope someone reading this will give me advice to solve it.

When I log in as root and run mozilla, I can print proportional fonts using Xprint. Only when I run mozilla as (user) myself do I get the Courier only font problem mentioned in this thread.

I suspect that some environment variable or dotfile in my home directory is responsible for this difference in behaviour.

I note that the differences between root and myself may reside in one of the following dotfiles/dotfile directories in our respective home directories:

.defoma
.fonts.cache-1
.fonts.conf
.kde/share/config (some files here have [KPrinter Settings] that root does not have) .mozilla/fonts/catalog (these were different, but moving files to make them identical did hot solve the problem)
.qt
.xftcache

This is an empirical approach because I do not have the theoretical knowledge of where to look for the problem and/or solution.

The one thing I am certain of is that the encodings.dir may not be the cause of the problem (see my previous e-mail) and also because proportional fonts are seen and printed for root.

There may also be useful info from "set" for root and myself.

I sincerely hope someone will reply this e-mail and help me track down this problem further.

Thank you.

--Chandra



--
------------------
Dr R (Chandra) Chandrasekhar
Australian Research Centre for Medical Engineering (ARCME)
Murdoch University
South Street, Murdoch, WA 6150, AUSTRALIA
Phone: +61-(8)-9360-2783    Fax: +61-(8)-9360-6304
email: chandra@murdoch.edu.au
The Murdoch University CRICOS Provider Code is 00125J
------------------



Reply to: