After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 119547 - EPS Exporting prevents font hinting
EPS Exporting prevents font hinting
Status: RESOLVED DUPLICATE of bug 111364
Product: dia
Classification: Other
Component: exports
0.91
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2003-08-10 11:39 UTC by djc
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description djc 2003-08-10 11:39:11 UTC
The current dia behaviour for exporting to EPS is simply the wrong way to
approach the problem.

Rather than just exporting text to the EPS file, dia renders all text as
graphics by drawing the character outlines.  This is a very naive approach
as it prevents the EPS from benefiting from the very powerful and effective
font hinting technologies in PS.  For printing this is probably no so
evident, but when you use the EPS to create PNG or GIF files the lack of
font hinting makes all versions of dia later than 0.88 useless.

The new "improved" font handling code should be thrown away and the font
problems should be solved the old fashioned way - via font substitution
tables (either internally in dia or externally via the system).
Comment 1 Lars Clausen 2003-08-10 22:02:22 UTC
I totally agree.  It was chosen because we could steal some code to
implement it when we changed to Pango.  We didn't see any code for
good export from Pango to (E)PS, and at the time it wasn't feasible to
ask Pango for outlines, as it was still using X fonts.  It'd probably
be easier now that we're totally FreeType based, but somebody still
has to sit down and figure out how to get from Pango to (E)PS in a way
that preserves the size of letters.  If you know of somewhere we can
steal the code, I'd be happy to put it in.  If you can do it, I'll be
double happy to let you.  I cannot do it now.  If PangoPDF gets to a
usable state (and PDFLib gets a usable license), we'll switch to that.
Comment 2 Hans Breuer 2004-01-11 23:10:54 UTC

*** This bug has been marked as a duplicate of 111364 ***