You can run the app with the flag -Dsun.java2d.debugfonts=true to see which
font files are accessed by 2D. But you may have a lot to wade through if the 
problem
is that some font we expected to find is missing, as likely we will open all 
files.
Still you may get a clue.
Another approach is that if it is really similar to the Symbol issue then the 
problem,
it really ought to be a font that is named in the fontconfig.properties file 
AND is
also a Postscript font. You can see which fonts are expected by looking for 
lines
like this :
filename.Arial=ARIAL.TTF
filename.Arial_Bold=ARIALBD.TTF
filename.Arial_Italic=ARIALI.TTF
filename.Arial_Bold_Italic=ARIALBI.TTF
filename.Symbol=SYMBOL.TTF
filename.Wingdings=WINGDING.TTF

The "Symbol" entry is what caused the previous problem
I am sure I would expect to find a PS font of the same name as any of the other
fonts as most of them are proprietary names from Monotype .. so Adobe would 
likely
not re-use them.

PS .. The Type 3 bug doesn't seem like to be relevant.

-phil.

[EMAIL PROTECTED] wrote:
A while back Phil helped me figure out why certain fonts were displaying oddly 
(incorrect height calculation) in Java:

http://forums.java.net/jive/thread.jspa?threadID=8666&tstart=0

The root was that Adobe software had installed an PostScript Symbol font 
(SY_____.PFM) into the Windows Fonts directory, and had removed the Symbol.TTF 
font file.

Now we've got a customer who has a whole bunch of Adobe software, and a whole 
bunch of *.PF* files installed in his fonts directory, and has the same 
problem, and restoring his Symbol.TTF file doesn't solve it.

Removing ALL the *.PF* files does solve the problem; but is there any 
alternative to this? I.e., is there a way to know which subset of the fonts are 
the cause?

I found this Sun bug fixed in Mustang:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6192865

but that mentions ignoring Type 3 fonts, which doesn't apply in this case, 
right?

Thanks!

Jared
[Message sent by forum member 'jaredmac' (jaredmac)]

http://forums.java.net/jive/thread.jspa?messageID=99225

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to