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

Re: missing font with jdk1.2.2



Jeff Stern wrote:
> 
> Dear Hugo, Redhat, Sun, and Blackdown:
> 
>   d050000l.pfb
> -URW-Dingbats-medium-r-normal--0-0-0-0-p-0-urw-fontspecific
> 
> Dingbats-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
> 
> Now, as the error you are getting from your Java Swing program will most
> likely look more like this..
> 
>   Font specified in font.properties not found \
>   [--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]

I though X was case insensitive on font names.
I guess not.

Looks like JDK needs to be more generic about the font naming.

> 2) Change the appropriate line in the fonts.dir file to read:
> 
>   d050000l.pfb --zapf
> dingbats-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific

What about the fonts.alias file?

I think JDK should just ask for dingbats-??
which is mapped in the ailias file to
the correct name for the font source.

Or put all three name in the alias file.
make dingbats-* and -URW-Dingbats-* be aliases for
Dingbats-* in the Gimp fonts.

X does this for compatibility with X11R5.

	-Thomas



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