> Date: Sat, 4 Aug 2007 11:20:39 +0200 (CEST)
> From: Martin Jedlička <[EMAIL PROTECTED]>
> Subject: Fonty ve windows
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]
cz>
> Content-Type: text/plain;charset=iso-8859-2
>
> Zdravim,
> mam takovy problem. Mam GUI aplikaci pod Windows. Vse bezi v
pohode, ale
> pokud ji spustim na Windows, ktere maji nastavene vetsi fonty, tak
se ta
> ma aplikace totalne rozhodi (napr. panely jsou vetsi a nejsou
casti
> videt, text se nevejde do tlacitek atd.). Nevite nekdo, jak toto
> zajistit, aby se to nestavalo? Proste, aby to bezelo i na Windows
s
> jinym nastavenim fontu.
>
> Diky moc za kazdou radu.
>
> Martin
>
Ahoj,
nejak me nenapada cim by to mohlo byt, mozna bys mohl zkusit nacitat
fonty externe.

Javadoc pro Font:
public static Font createFont(int fontFormat, File fontFile) throws
FontFormatException, IOException

Returns a new Font using the specified font type and the specified
font file. The new Font is created with a point size of 1 and style
PLAIN. This base
Returns a new Font using the specified font type and the specified
font file. The new Font is created with a point size of 1 and style
PLAIN. This base font can then be used with the deriveFont methods
in this class to derive new Font objects with varying sizes, styles,
transforms and font features.

Asi bych zkusil tohle, ikdyz mi to nepripadne jako nejlepsi
reseni...

Ondra.

Odpovedet emailem