openSUSE Forums > Archives > Novell Archives » SuSe 10.0 mis-behaved fonts cause JVM crash?

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-Nov-2005, 01:20
qpqv@yahoo.com
Guest
 
Posts: n/a
Default SuSe 10.0 mis-behaved fonts cause JVM crash?

hi listeners, firstly, IMHO SuSe 10.0 is really cool, i like it a lot and
i've tried just about every distro out there. these fonts just come out so
clear on my 1600X1200 LCD, it's incredible. now, talking bout fonts, i
have a little problem (o.O) with java (tried 1.4.2 and 1.5.0) and the SuSe
10.0 fonts. just run a little snippet of java code below it will print out
some fonts java cannot decode. is there any way i can delete specific
fonts in SuSe 10.0? the reason is, it's causing a problem with my java
IDE. i have the list below:

Bad Font: AkrutiMal2 Bold
Bad Font: AkrutiMal2 Normal
Bad Font: AkrutiPnj2 Bold
Bad Font: AkrutiPnj2 Normal
Bad Font: AnmolUni
Bad Font: AnmolUni Bold
Bad Font: AnmolUniBani
Bad Font: AnmolUniBani Bold
Bad Font: AnmolUniBaniHeavy Regular
Bad Font: AnmolUniHeavy Regular
Bad Font: Balker
Bad Font: Cursor
Bad Font: Dingbats
Bad Font: Efont Serif Alternate
Bad Font: Efont Serif Alternate Bold
Bad Font: Efont Serif Alternate Bold Italic
Bad Font: Efont Serif Alternate Italic
Bad Font: Elham
Bad Font: Goha-Tibeb Zemen
Bad Font: Homa
Bad Font: Koodak
Bad Font: Lohit Bengali
Bad Font: Lohit Gujarati
Bad Font: Lohit Hindi
Bad Font: Lohit Punjabi
Bad Font: Marked Fool
Bad Font: Monotype Sorts
Bad Font: Oil Crisis A
Bad Font: Oil Crisis B
Bad Font: OpenSymbol
Bad Font: Pothana2000
Bad Font: Roya
Bad Font: Roya Bold
Bad Font: Sampige
Bad Font: Standard Symbols L
Bad Font: Swift
Bad Font: Symbol
Bad Font: Titr Bold
Bad Font: Vemana2000
Bad Font: Wine Marlett
Bad Font: Winks
Bad Font: flatline


Thx. Saphro.

--In God we trust, all others must bring data.

java fontChk:
import java.awt.Font;
import java.awt.GraphicsEnvironment;

public class fontChk {
public static void main(String[] args) {
Font[] fonts =
GraphicsEnvironment.getLocalGraphicsEnvironment(). getAllFonts();
for (int i = 0; i < fonts.length; i++) {
final Font font = fonts[i];
final String name = font.getName();

//System.out.print("Checking Font: " + name);

if (font.canDisplay('a') &&
font.canDisplay('z') &&
font.canDisplay('A') &&
font.canDisplay('Z') &&
font.canDisplay('0') &&
font.canDisplay('1')) {
// System.out.println(" OK.");
// System.out.println();
} else {
System.out.println("Bad Font: " + name);
}
}
}
}
  #2 (permalink)  
Old 02-Nov-2005, 03:05
baskitcaise
Guest
 
Posts: n/a
Default Re: SuSe 10.0 mis-behaved fonts cause JVM crash?

qpqv@yahoo.com adjusted his/her tinfoil beanie to post:

> hi listeners, firstly, IMHO SuSe 10.0 is really cool, i like it a lot
> and
> i've tried just about every distro out there. these fonts just come
> out so
> clear on my 1600X1200 LCD, it's incredible. now, talking bout fonts,
> i have a little problem (o.O) with java (tried 1.4.2 and 1.5.0) and
> the SuSe
> 10.0 fonts. just run a little snippet of java code below it will
> print out
> some fonts java cannot decode. is there any way i can delete specific
> fonts in SuSe 10.0? the reason is, it's causing a problem with my
> java
> IDE. i have the list below:


Hi,

Control Center>System Admin>Font Installer, press the Admin button and
enter root pass, this will allow you to add and remove "System" wide
fonts.

HTH
--
Mark
Twixt hill and high water
N. Wales, UK
Novell Support Forums SysOp

 

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2