Re: Printing TT fonts from KDE Apps

2003-03-22 Thread Ralf Nolden
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 22 March 2003 15:34, Jens Benecke wrote:
 On Sun, Mar 16, 2003 at 01:07:59PM -0500, Bruce wrote:
  My problem is that truetype fonts, when used in KDE apps, display
  properly (antialiased or not), but, depending on which app I am
  printing from, either print out as helvetica (or something similar),
  or as jagged bitmaps reminiscent of Windows 2.2 without ATM (for those
  of you who recall the late 80's).

 Hi,

 I have the opposite problem. Printing from KDE is fine and works
 beautifully, but printing from OOo into a PS file, and converting this
 PS file into PDF, makes the PDF huge (we're talking about 1-2MB for a
 single page file without graphics), and the fonts look like they've been
 compressed with JPEG at quality level ultra low.

 When I print from OOo in Windows, into Acrobat, the resulting PDF is
 10kb and the fonts look fine. (No matter what fonts I use, PDF built-ins
 are always fine, of course, but also Tahoma works).


 How can I change this? I need to be able to publish Office files as PDF.

Did you try using kprinter as the generic printer in OO yet ?



- -- 
We're not a company, we just produce better code at less costs.
- 
Ralf Nolden
[EMAIL PROTECTED]

The K Desktop Environment   The KDevelop Project
http://www.kde.org  http://www.kdevelop.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+fKMzu0nKi+w1Ky8RAkZKAKCJsCLSG21ht3O9D0wTcX9D23FRCACfS9ix
m+LjUHJu4X263FQBsD6IuaI=
=J51x
-END PGP SIGNATURE-





Re: Printing TT fonts from KDE Apps

2003-03-22 Thread Bruce

 How can I change this? I need to be able to publish Office files as
 PDF.

 Did you try using kprinter as the generic printer in OO yet ?



As Ralf suggests, using kprinter as the output for OOo (and other non-KDE
apps, such as Mozilla or Acrobat Reader) is probably your best bet; you
can then print to any printer set up in KDE, including the Print to PDF
function. I just did a test and a two-page OOo text document turned into a
4k PDF file.

Here's how to set it up:

1. run spadmin:

[EMAIL PROTECTED] $ cd /usr/lib/openoffice/program
[EMAIL PROTECTED] $ ./spadmin

2. Set up a printer; either edit the properties of the generic printer (if
there), or set up a new one.

3. In the Select Command box, type:

kprinter --stdin

4. Select your default paper size.

5. Click Test Page - the Kprinter dialogue should come up. Try it out,
or cancel as you want.

6. Click on Default to make this the default printer, and click Close

This also allows you to access any printers set up in kprinter without
having to recreate them in OpenOffice.

For Mozilla, just put kprinter --stdin in the Printer Command box. For
some apps, i.e. Acrobat Reader, you just need kprinter, without the
--stdin.

By the way, my problem with TT fonts (at least the problem with all TT
fonts printing as Helvetica) seemed to be solved by selecting Embed Fonts
in Postscript Data in the system options in Kprinter; the blocky fonts
problem seemed to be specific to KCDLabel, and I solved that by using
OOo Draw to create my CD labels - which worked great.

Bruce






Printing TT fonts from KDE Apps

2003-03-16 Thread Bruce
I have looked through the recent posts about problems using truetype fonts
in KDE, but am not entirely sure what the result was, or if my problem is
caused by these issues. I am running KDE 3.1.1 from Ralf's debs, on a
mixed Woody/Sid system. I haven't done any manual tweaking of
configuration files (mostly because I don't know what I am doing), I just
installed all the fonts from the KDE control panel font installer.

My problem is that truetype fonts, when used in KDE apps, display properly
(antialiased or not), but, depending on which app I am printing from,
either print out as helvetica (or something similar), or as jagged bitmaps
reminiscent of Windows 2.2 without ATM (for those of you who recall the
late 80's).

The problem is only with KDE apps; TT fonts print fine from OpenOffice -
even when piped through kprinter (I use kprinter --stdin as the print
command for OO, Mozilla, Acrobat Reader, etc.).

If I print a sample of 5 TT fonts from KWord, all but courier will print
as helvetica. It looks as though in this case, some decision is made by
the system I can't print these fonts, so I am going to default to
helvetica. Printing to a PS file looks perfect, but then printing the
file to paper will also map everything to helvetica.

For other programs, such as KCDLabel, the fonts print out as jagged
bitmaps. The decision made by the system here seems to be I can't print
these fonts, so I am going to convert them to terrible looking bitmaps.
Interestingly, for kcdlabel, if I print the label to a PS file, it looks
the same as when printed - jagged bitmaps.

 The following packages are installed:

defoma  0.11.0
fontconfig  2.1.92-2
libfreetype62.1.3+2.1.4rc2-3

Apologies if this has been answered, but if it was I don't know enough
about how font servers work to figure it out.

Bruce





Re: Printing TT fonts from KDE Apps

2003-03-16 Thread Charles de Miramon
Le Dimanche 16 Mars 2003 19:07, Bruce a écrit :
I had also problem printing from Konqueror with screwed TT fonts. Finally, I 
found that setting in Kprinter the option 'Embed fonts in Postscript when 
printing' solved my problem.

Maybe, you should try that.

Cheers,
Charles

-- 
[EMAIL PROTECTED]
http://www.kde-france.org




Re: Printing TT fonts from KDE Apps

2003-03-16 Thread Bruce
After mucking about with things a bit more, and uninstalling and
reinstalling all truetype fonts using the KDE Font Installer, truetype
fonts now print fine from KWord. However, KCDLabel still only will print
the rough bitmaps. I am guessing this may be a bug in kcdlabel, so will
look into that.

Bruce





Re: Printing TT fonts from KDE Apps - Solved(?)

2003-03-16 Thread Bruce
After mucking about with things a bit more, i.e., uninstalling and
reinstalling all truetype fonts using the KDE Font Installer, truetype
fonts now print fine from KWord. However, KCDLabel still only will print
the rough bitmaps. I am guessing this may be a bug in kcdlabel, so will
look into that.

Bruce