Issue 4457 - Losing Antialiasing
Summary: Losing Antialiasing
Status: CLOSED DUPLICATE of issue 4366
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks: 4911
  Show dependency tree
 
Reported: 2002-05-03 17:57 UTC by Unknown
Modified: 2003-09-08 16:56 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-05-03 17:57:22 UTC
The first time I start a freshly installed OpenOffice.org 1.0, I get very nice
antialiased fonts. If I exit and immediately start again, the fonts are no
longer antialiased. I have tracked this down to the
.../share/psprint/pspfontcache file. If I delete this file, my antialiasing is
back.  Here is my pspfontcache file that stops the antialiasing from working:

FontCacheDirectory:/usr/aric/OpenOffice.org1.0/share/fonts/truetype
File:opens___.ttf
2;1020078000;1
OpenSymbol
0;OpenSymbol;0;0;5;2;65535;917;313;230;0;1262;1230;1262;1230;8

FontCacheDirectory:/usr/X11R6/lib/X11/fonts/ttf
File:andale.ttf
2;988214827;1
Andale Mono
0;AndaleMono;0;0;5;1;65535;907;217;124;0;600;1124;600;1124;8

File:verdana.ttf
2;988214655;1
Verdana
0;Verdana;0;0;5;2;65535;1005;209;214;0;1495;1214;1495;1214;0

File:timesi.ttf
2;988214655;1
Times New Roman
0;TimesNewRomanPS-ItalicMT;2;0;5;2;65535;891;216;107;0;1308;1107;1308;1107;0

File:timesbi.ttf
2;988214654;1
Times New Roman
0;TimesNewRomanPS-BoldItalicMT;2;0;5;2;65535;891;216;107;0;1390;1107;1390;1107;0

File:marlett.ttf
2;988214654;1
Marlett
0;marlett;0;0;5;2;10;937;0;140;0;1000;937;1000;937;0

File:tahoma.ttf
2;988214654;1
Tahoma
0;Tahoma;0;0;5;2;65535;1000;206;206;0;1941;1206;1941;1206;14

File:ariali.ttf
2;988214654;1
Arial
0;Arial-ItalicMT;2;0;5;2;65535;905;211;116;0;1342;1116;1342;1116;0

File:lucon.ttf
2;988214654;1
Lucida Console
0;LucidaConsole;0;0;4;1;65535;789;210;-1;0;602;999;602;999;8

File:ariblk.ttf
2;988214654;1
Arial Black
0;Arial-Black;0;0;5;2;65535;1100;309;409;0;1880;1409;1880;1409;0

File:l_10646.ttf
2;988214654;1
Lucida Sans Unicode
0;LucidaSansUnicode;0;0;5;2;65535;1096;439;535;0;1998;1535;1998;1535;8

File:symbol.ttf
2;988214654;1
Symbol
0;SymbolMT;0;0;5;2;10;1005;219;224;0;1112;1224;1112;1224;0

File:arialbi.ttf
2;988214654;1
Arial
0;Arial-BoldItalicMT;2;0;5;2;65535;905;211;116;0;1404;1116;1404;1116;0

File:CRYSRG__.TTF
2;922393846;1
Crystal
0;Crystal;2;0;5;1;65535;800;188;-12;0;550;988;550;988;0

File:courbi.ttf
2;988214654;1
Courier New
0;CourierNewPS-BoldItalicMT;2;0;5;1;65535;832;300;132;0;938;1132;938;1132;0

File:comic.ttf
2;988214654;1
Comic Sans MS
0;ComicSansMS;0;0;5;2;65535;1102;291;393;0;1278;1393;1278;1393;0

File:impact.ttf
2;988214654;1
Impact
0;Impact;0;0;3;2;65535;1008;210;218;0;1390;1218;1390;1218;0

File:onuava__.ttf
2;887988502;1
Onuava
0;Onuava;0;0;5;2;65535;994;248;242;0;838;1242;838;1242;1

File:verdanaz.ttf
2;988214655;1
Verdana
0;Verdana-BoldItalic;2;0;5;2;65535;1005;209;214;0;1870;1214;1870;1214;0

File:couri.ttf
2;988214654;1
Courier New
0;CourierNewPS-ItalicMT;2;0;5;1;65535;832;300;132;0;867;1132;867;1132;0

File:webdings.ttf
2;988214655;1
Webdings
0;Webdings;0;0;5;2;10;799;200;-1;0;4001;999;4001;999;0

File:comicbd.ttf
2;988214654;1
Comic Sans MS
0;ComicSansMS-Bold;0;0;5;2;65535;1102;291;393;0;1340;1393;1340;1393;0

File:times.ttf
2;988214654;1
Times New Roman
0;TimesNewRomanPSMT;0;0;5;2;65535;891;216;107;0;1174;1107;1174;1107;0

File:cour.ttf
2;988214654;1
Courier New
0;CourierNewPSMT;0;0;5;1;65535;832;300;132;0;658;1132;658;1132;0

File:arial.ttf
2;988214654;1
Arial
0;ArialMT;0;0;5;2;65535;905;211;116;0;1293;1116;1293;1116;0

File:sirona__.ttf
2;887955894;1
Sirona
0;Sirona;0;0;5;2;65535;1060;351;411;0;1496;1411;1496;1411;1

File:timesbd.ttf
2;988214654;1
Times New Roman
0;TimesNewRomanPS-BoldMT;0;0;5;2;65535;891;216;107;0;1272;1107;1272;1107;0

File:verdanai.ttf
2;988214655;1
Verdana
0;Verdana-Italic;2;0;5;2;65535;1005;209;214;0;1591;1214;1591;1214;0

File:arialbd.ttf
2;988214654;1
Arial
0;Arial-BoldMT;0;0;5;2;65535;905;211;116;0;1241;1116;1241;1116;0

File:courbd.ttf
2;988214654;1
Courier New
0;CourierNewPS-BoldMT;0;0;5;1;65535;832;300;132;0;747;1132;747;1132;0

File:divona__.ttf
2;888046466;1
Divona
0;Divona;0;0;5;2;65535;1023;349;372;0;1244;1372;1244;1372;1

File:wingding.ttf
2;988214655;1
Wingdings
0;Wingdings-Regular;0;0;5;2;10;898;210;108;0;1358;1108;1358;1108;0

File:verdanab.ttf
2;988214655;1
Verdana
0;Verdana-Bold;0;0;5;2;65535;1005;209;214;0;1780;1214;1780;1214;0
Comment 1 Unknown 2002-05-03 18:13:20 UTC
This report was based on the default Thorndale font which I assume was
substituted with Times or Times New Roman. I just noticed that if I
use the Andale Mono font, it is always antialiased regardless of
whether the pspfontcache file exists or not.
Comment 2 Unknown 2002-05-16 12:11:57 UTC
Hi, I have submitted a bug similar to that (issue: 4911).

I did a patch to the soffice script to automatically remove the
pspfontcache file in the user installation directory, but the 4846
issue pointed me to the fact that we cannot rely on the $userinst
variable:

echo "removing $userinst/user/psprint/pspfontcache"
mv -f $userinst/user/psprint/pspfontcache
      $userinst/user/psprint/old_pspfontcache
# end

# execute soffice binary
[...]

A better solution is to symlink pspfontcache to /dev/null:

as normal user (suppose that my oo installation is in
/home/neugens/OpenOffice/):

cd /home/neugens/OpenOffice/user/psprint
ln -sf /dev/null pspfontcache

For a net installation, you can do that for each user.

Every time the OO try to write to the pspfontcache file, it will be
directed to /dev/null. In this way I was able to solve the problem. I
only hope there will be no side effects, someone at OpenOffce.org may
explain the real use of the pspfontcache file.

Hope that works!
neugens
Comment 3 pavel 2002-05-28 20:55:35 UTC
The same here.

AA works for the first time for all TT fonts. In the next session only
some fonts are AAed. E.g. Andale mono. Arial is not AAed in the second
session. Removing pspfontcache helped (for the first following session).

I even upgraded freetype used for build to 2.1.0 but it is still the
same :-(
Comment 4 Unknown 2002-05-28 21:52:58 UTC
Hi!

This is a duplicate of the 4366.

Someone pointed me to: http://www.openoffice.org/FAQs/fontguide.html

Mario
Comment 5 t8m 2002-05-28 22:15:15 UTC
This is surely a duplicate issue.


*** This issue has been marked as a duplicate of 4366 ***
Comment 6 michael.bemmer 2003-03-11 17:16:06 UTC
As mentioned on the qa dev list on March 5th I will close all resolved duplicate
issues. Please see this posting for details. First step in IssueZilla is
unfortunately to set them to verified.
Comment 7 michael.bemmer 2003-03-11 17:35:43 UTC
As mentioned on the qa dev list on March 5th I will close all resolved duplicate
issues. Please see this posting for details.