Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: Bug in the PGMLParser

gef
Discussion topic

Back to topic list

Re: Bug in the PGMLParser

Reply

Author thn
Full name Thomas Neustupny
Date 2002-06-03 01:51:43 PDT
Message The problem is in the javax.swing.xml.SAXParser of the JDK 1.3.1 for Win.
I tried JDK 1.4.0 and the problem was gone. Everything OK with GEF,
of course! :-)

Thomas

>Hi!
>
>I found that after calling GEF's PGMLParser.readDiagr​am(sub,false)
>method, the Graphics context is kind of broken: doing a
>g.drawString(...) after setting an italics font definitely paints
>a non-italics string. I attached a modified Project.java for
>ArgoUML, that demonstrates (and thus proves) this effect, for all
>of you that can compile ArgoUML.
>
>Because of this bug, ArgoUML cannot display italics fonts in a
>FigText (e.g. abstract classes in a class diagram) after loading
>a project. Does Poseidon has NOT this problem, because they do not
>use PGML?
>
>Thomas

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

Re: Bug in the PGMLParser thn Thomas Neustupny 2002-06-03 01:51:43 PDT
Messages per page: