You can subscribe to this list here.
2007 
_{Jan}

_{Feb}
(5) 
_{Mar}
(4) 
_{Apr}
(3) 
_{May}
(1) 
_{Jun}
(3) 
_{Jul}
(1) 
_{Aug}
(26) 
_{Sep}
(8) 
_{Oct}

_{Nov}
(3) 
_{Dec}
(13) 

2008 
_{Jan}
(6) 
_{Feb}
(3) 
_{Mar}

_{Apr}
(1) 
_{May}
(3) 
_{Jun}
(8) 
_{Jul}
(1) 
_{Aug}

_{Sep}
(1) 
_{Oct}

_{Nov}
(9) 
_{Dec}
(3) 
2009 
_{Jan}
(3) 
_{Feb}

_{Mar}
(1) 
_{Apr}
(5) 
_{May}
(1) 
_{Jun}

_{Jul}
(10) 
_{Aug}

_{Sep}
(9) 
_{Oct}
(2) 
_{Nov}
(1) 
_{Dec}
(4) 
2010 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}
(2) 
_{Sep}
(1) 
_{Oct}

_{Nov}

_{Dec}
(1) 
2011 
_{Jan}

_{Feb}

_{Mar}
(1) 
_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}
(1) 
2012 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}
(1) 
_{Jun}

_{Jul}

_{Aug}

_{Sep}
(1) 
_{Oct}
(1) 
_{Nov}

_{Dec}
(1) 
2013 
_{Jan}

_{Feb}

_{Mar}
(2) 
_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

2015 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}
(1) 
_{Sep}

_{Oct}

_{Nov}

_{Dec}

2016 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}
(1) 
2017 
_{Jan}

_{Feb}

_{Mar}
(1) 
_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

From: Elambaruthi Vimalkannan <elambaruthivimal@gm...>  20170330 12:13:55

Hi, This is Vimal, I am a new user of jeuclid I am using jeuclid to convert MathML formula to PDF using the following command line : *mml2xxx test2.xml 123.pdf outFileType application/pdf fontSize 6.0* but I could not able to reduce the font size of the output PDF Kindly somebody give your suggestions Thanks Vimal 
From: Paul Libbrecht <paul@ho...>  20161212 22:23:32

Hello list, I’ve recently discovered JEuclid's integration for Apache FOP and would like to use it with the FOP that is integrated in current XWiki servers. That means, that it should be compatible with Apache FOP 2.1. Do I have any chance to get that working? I tried simply inserting the jars within the classpath but that has not been enough thus far. Is the “lib” directory something of particular value even when FOP is on a server? The FOP page of the JEuclid website seems to talk about a much older FOP version. thanks in advance. Paul PS: From http://jeuclid.sourceforge.net/maillists.html <http://jeuclid.sourceforge.net/maillists.html>; the archive links are wrong, they should probably be https://sourceforge.net/p/jeuclid/mailman/jeuclidusers/ <https://sourceforge.net/p/jeuclid/mailman/jeuclidusers/>; and https://sourceforge.net/p/jeuclid/mailman/jeucliddevel/ <https://sourceforge.net/p/jeuclid/mailman/jeucliddevel/>; 
From: <markus.sticker.epos@zf...>  20150826 10:54:31

Hi, I try to use jeuclid as servlet. For that reason I use the net.sourceforge.jeuclid.converter.Converter .... MutableLayoutContext ctx = new LayoutContextImpl( LayoutContextImpl.getDefaultLayoutContext()); Converter converter = Converter.getInstance(); converter.convert(new File(argsList.get("input")[0]), new File(argsList.get("output")[0]), Converter.TYPE_SVG, ctx); ... But in these 3 files you can see that some parts are dropped. Source: http://www.samea.de/math/source.mml Expected: http://www.samea.de/math/expected.svg (done with the mml2xxx batch) Result: http://www.samea.de/math/result.svg (done with the code above) So what did I wrong? Are there some parameters to set? Thanks for your help Kind regards Markus 
From: <DeanNelson@ao...>  20130321 16:54:16

Markus, I have used it with FOP 1.0 and it seemed to work fine. When I went to FOP 1.1 my system broke but I don't think it was JEulcid's fault. I use it with DocBook. Regards, Dean Nelson In a message dated 3/21/2013 7:23:54 A.M. Pacific Daylight Time, markus.sticker.epos@... writes: Hi, I tried to use jeuclid with fop (@pdf it is working fine) for getting an RTF output. So before I start to do many analyses for this, I want to ask. Did somebody anytime before this integration? Does somebody has an example for that? Or just a small hint for the best practice? Thank a lot Markus Mit freundlichen Grüßen/Kind regards Markus Sticker Technik ZFKonzern/Operations and Technology ZF Group Infrastruktur/Infrastructure (OTEP4) ZF Friedrichshafen AG 88038 Friedrichshafen, Deutschland/Germany Telefon/Phone +49 7541 777644, Telefax/Fax +49 7541 77907644 _Markus.Sticker.epos@... (mailto:Markus.Sticker.epos@...) Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Prof. Dr. Giorgio Behr Vorstand/Board of Management: Dr. Stefan Sommer (Vorsitzender/CEO), Dr. Konstantin Sauer, Dr. Peter Ottenbruch, Jürgen Holeksa, Dr. Gerhard Wagner, Reinhard Buhl, Rolf Lutz, Wilhelm Rehm Sitz/Headquarters: Friedrichshafen Handelsregistereintrag Amtsgericht Ulm HRB 630206/Trade register of the municipal court of Ulm HRB 630206   Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Jeuclidusers mailing list Jeuclidusers@... https://lists.sourceforge.net/lists/listinfo/jeuclidusers 
From: <markus.sticker.epos@zf...>  20130321 14:23:32

Hi, I tried to use jeuclid with fop (@pdf it is working fine) for getting an RTF output. So before I start to do many analyses for this, I want to ask. Did somebody anytime before this integration? Does somebody has an example for that? Or just a small hint for the best practice? Thank a lot Markus Mit freundlichen Grüßen/Kind regards Markus Sticker Technik ZFKonzern/Operations and Technology ZF Group Infrastruktur/Infrastructure (OTEP4) ZF Friedrichshafen AG 88038 Friedrichshafen, Deutschland/Germany Telefon/Phone +49 7541 777644, Telefax/Fax +49 7541 77907644 Markus.Sticker.epos@... Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Prof. Dr. Giorgio Behr Vorstand/Board of Management: Dr. Stefan Sommer (Vorsitzender/CEO), Dr. Konstantin Sauer, Dr. Peter Ottenbruch, Jürgen Holeksa, Dr. Gerhard Wagner, Reinhard Buhl, Rolf Lutz, Wilhelm Rehm Sitz/Headquarters: Friedrichshafen Handelsregistereintrag Amtsgericht Ulm HRB 630206/Trade register of the municipal court of Ulm HRB 630206 
From: BAROTIN Fabrice <fabrice.barotin@in...>  20121226 16:47:51

Hi everybody, I'm working with the jEuclid plugin for FOP and I have trouble with it when outputting TIFF files. I wrote a Java program that reads an XML file and uses an XSLT stylesheet with FOP to create a multipage TIFF file. Sometimes the XML contains equations, so in my XSLT I'm converting this info in MathML and I'm using the jEuclid FOP plugin to display properly the equation. This works perfectly when I'm outputting to PDF, however, in my FOP factory if I change the output to TIFF file, the equations are not displayed anymore and jEuclid returns no error. Here is my configuration:  FOP 1.0  jEuclid 3.1.9 (I included the jeuclidcore3.1.9.jar and jeuclidfop3.1.9.jar files into my classpath)  JDK 1.7 I found on the jEuclid website that TIFF output is not supported, but that it can be in theory if I add the jaiimageIO jar in my classpath, which I did. I can use a workaround by exporting to PDF in FOP and then converting the PDF to TIFF but I'd like to understand why it doesn't work with TIFF output in FOP... If needed I can provide samples and code, I'm new to jEuclide and FOP but those two seem to be great tools ! Thanks for your help, Fabrice. 
From: Ivan Chan <ivanming@gm...>  20121014 14:29:40

Hi all, Would you please let me know that if <mspace linebreak="newline"/> is supported in JEuclid? Because I found that it is no new line generated in the following example. <math xmlns="http://www.w3.org/1998/Math/MathML">; <mrow> <mspace width="10em" /> <mi>x</mi> <mspace width="10em" /> <mo>=</mo> <mn>2</mn> </mrow> <mo>⁢</mo> <mspace linebreak="newline"/> <mrow> <mspace linebreak="goodbreak"/> <mi linebreak="newline">x</mi> <mo>=</mo> <mn>y</mn> </mrow> </math> Regards, Ivan 
From: Maxime Bégnis <maxime@ne...>  20120913 14:43:44

Hello, I'm using jeuclidfop3.1.9 to render MathML in my PDF documents with fop1.0(I obtain the same result with fop0.95), but it seems that the "fontfamily" attribute on the "fo:instreamforeignobject' is taken into account only for some specific fonts. I would like to use the "Asana Math" font (http://mirrors.ctan.org/fonts/AsanaMath/AsanaMath.ttf) but it does not work. If I use the same font on a "fo:block", it works as expected. The DejaVu Serif or Sans fonts works fine. Is there some restrictions about the fonts JEuclidcan use? Thanks for your help,  NeoDoc Maxime Bégnis Développeur maxime@... Tél: 09.54.96.99.55  Fax: 09.59.96.99.55 http://www.neodoc.fr/ 5, rue de la Touloubre 13770 Venelles 
From: Reuven Weiser <reuvenw@su...>  20120530 13:30:41

Hi. I'm relatively new to jeuclid and I'm using it to convert some MathML content to PNGs for inclusion in HTML content. I've noticed that 2.9.6. seems to do a much "nicer" job of converting my content than 3.1.9 does, though 2.9.6 appears to have a bug converting msqrt elements and therefore won't meet our needs. (For all conversions, I've used an Ant task to interface with jeuclid. For 3.1.9, I've used the builtin MathMLConverter; for 2.96, I've used Deborah Picket's MathML2SVG, available as part of the DITA Plus plugins.) Here's the MathML file: http://download.suitesol.com/RW/mathml/MMLTC_d34e167_mathml.mml Here's the SVG output with 2.9.6: http://download.suitesol.com/RW/mathml/MMLTC_d34e167_mathml.2.9.6.svg (or as a PNG: http://download.suitesol.com/RW/mathml/MMLTC_d34e167_mathml.2.9.6.png) And here's the SVG output with 3.1.9: http://download.suitesol.com/RW/mathml/MMLTC_d34e167_mathml.3.1.9.svg (or as a PNG: http://download.suitesol.com/RW/mathml/MMLTC_d34e167_mathml.3.1.9.png) As you can see, the 2.9.6 output looks nice; the 3.1.9, at least by comparison, doesn't. What can I do to get the 3.1.9 output to look like the 2.9.6 output? Thanks, Reuven Weiser Suite Solutions Create > Manage > Deploy 
From: Eliot Harper <email@el...>  20111222 07:21:15

Hello JEuclid users, we're working on a project and need to transform MathML to images. It's working well, but we need some help refining the output which I'm assuming can be done through available JEuclid API classes. The Word doc at http://share.eliot.com.au/MathML_Output_Review.docx indicates the formatting issues that we need to address with JEuclid. It appears that the following documentation may address these issues: http://jeuclid.sourceforge.net/apidocs/net/sourceforge/jeuclid/MathBase.html If you are able to assist us with this task, please let me know your availability and rate ($), and we'll supply the sample XML files. Best regards, eliot  Tour our house at http://www.eliot.com.au 
From: alex Bennásar <abennasar@ho...>  20110309 18:15:21

Hi all! I'm using JEuclid to transform MathML code into an image format, and render it in a web page. It's something like this: String codigo = "<math><mroot><mfrac><mn>2</mn><msup><mi>x</mi><mn>2</mn></msup></mfrac><mn>6</mn></mroot><msqrt><mi>x</mi></msqrt></math>"; Parser p = Parser.getInstance(); StreamSource s = new StreamSource(new StringReader(codigo)); Dimension dimensiones2 = conversor.convert(p.parseStreamSource(s), out, "image/png", LayoutContextImpl.getDefaultLayoutContext()); when "out" is the response object of a Servlet. My problem is that this conversion isn't very fast: it takes about 2 seconds to transform any simple equation. So, is there another possibility to do this transformation faster?? Thank you all! Alex 
From: Carlos Briceno <carlos.main@gm...>  20101225 00:44:49

Hi, Im new to using jEuclid and kind of new as a programmer in java. With struggle i have finished a small application using jEuclid, this application renders a mathml string and displays it a jMathComponent. This is working fine. Now i want to use the content from the jMathComponent to create an image, i know that for that the converter class is used. I have checked the API documentation for converter and found that Converter.render(node Document, layoutcontext lc) will be probably the better method to use to do this. I know for sure that i can get the document from the jMathComponent, but for the life of me i can not figure out from where to get the layoutcontext. If someone could be so kind to explain this one with a little example would be much appreciate it. Thanks in advance CB BTW, i used the mathviewer application as a base for the test application im using right now. 
From: Hadi Prawiratama <ahadip@gm...>  20100930 07:20:06

Hi, I want to build a Wysiwyg MathML editor (like equation editor in MS Word), so that user can input mathematical symbols/expressions directly to the editor without knowing the MathML source code. Could you give me some direction on how this could be done on top of JEuclid? Regards, Hadi 
From: Max Berger <max@be...>  20100811 16:29:26

Dear Mark, the secret of content MathML lies in this file: http://jeuclid.hg.sourceforge.net/hgweb/jeuclid/jeuclid/file/trunk/jeuclidcore/src/main/resources/net/sourceforge/jeuclid/content/mathmlc2p.xsl For mean, the characters used are "ovbar" or "rang", so 233a and 233d. (Yes, I am a working on making these configurable). Please also look at the suggested fonts on the jeuclid homepage. Also, if you like something about contentmathml to be changed, feel fre to propose patches to this file. hth Max Am 2. August 2010 13:02:58 UTC+2 schrieb Mark Lübinski <Mark.Luebinski@...>: > Dear Masters, > > which UnicodeCode do you use to render meanOperatore for one or multiple arguments, also for > > > <?xml version='1.0'?> > <math xmlns='http://www.w3.org/1998/Math/MathML'>; > <apply> > <mean /> > <ci>vec1</ci> > </apply> > </math> > > > or > > <?xml version='1.0'?> > <math xmlns='http://www.w3.org/1998/Math/MathML'>; > <apply> > <mean /> > <ci>vec1</ci> > <ci>vec1</ci> > </apply> > </math> > > We have Problems with rendering this signs on AIX and the codes would help to choice the adequate font. > > Thank you very much > > Mark > >  > The Palm PDK Hot Apps Program offers developers who use the > PlugIn Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2devpalm > _______________________________________________ > Jeuclidusers mailing list > Jeuclidusers@... > https://lists.sourceforge.net/lists/listinfo/jeuclidusers > > 
From: Mark Lübinski <Mark.Luebinski@pp...>  20100802 11:03:05

Dear Masters, which UnicodeCode do you use to render meanOperatore for one or multiple arguments, also for <?xml version='1.0'?> <math xmlns='http://www.w3.org/1998/Math/MathML'>; <apply> <mean /> <ci>vec1</ci> </apply> </math> or <?xml version='1.0'?> <math xmlns='http://www.w3.org/1998/Math/MathML'>; <apply> <mean /> <ci>vec1</ci> <ci>vec1</ci> </apply> </math> We have Problems with rendering this signs on AIX and the codes would help to choice the adequate font. Thank you very much Mark 
From: Ralph King <ralphwking@us...>  20091216 14:31:10

Thanks Max. Ralph King >Dear Ralph, >since this is also something I'd like, I currently have two students >working on the editor as a student project. The result will be >integrated in JEuclid. I'll try to set up a contact so that you can >preview the development. >You can use the current MathViewer for basic editing, but you have to >know the full MathML syntax. >Max 
From: Max Berger <max@be...>  20091210 13:17:10

Hi Sergio, both math trees you showed are currently not processable by JEuclid. The reason is current limitations in content math support. 2009/11/16 Sergio Lidonnici <gattoleon@...>: > For example y=sin(x) would be: > > <math display = 'block'> > <mrow> > <mi>y</mi> > <mo>=</mo> > <apply> > <sin/> > <csymbol> > <mfenced open = '(' close = ')'> > <mi>x</mi> > </mfenced> > </csymbol> > </apply> > </mrow> > </math> This would work, if it would be in the MathML namespace ( a requirement for content math support ). This requirement may be dropped in JEuclid 3.1.9 (I am currently working on a fix, because of this email). > or y=max[a,b]: > > <math display = 'block'> > <mrow> > <mi>y</mi> > <mo>=</mo> > <max/> > <mfenced open = '[' close = ']'> > <mrow> > <mi>a</mi> > <mo>,</mo> > <mi>b</mi> > </mrow> > </mfenced> > </mrow> > </math> here you are using the content math operator "max" outside of any apply function. This is currently also not supported. I will look into enhancing content math support to support this type of operation. > This operators are not rendered using the latest 3.1.8 release, and the > equations become y=(x) and y=[a,b]. > Am i doing something wrong or using an incorrect MathML generator ? not really. You are just using content math, which has still limited support in JEuclid. But I'll try to download the formulator and check its output against JEuclid. > Thanks for your help > Sergio Max 
From: Max Berger <max@be...>  20091210 13:03:35

Dear Ralph, since this is also something I'd like, I currently have two students working on the editor as a student project. The result will be integrated in JEuclid. I'll try to set up a contact so that you can preview the development. You can use the current MathViewer for basic editing, but you have to know the full MathML syntax. Max 2009/12/1 Ralph King <ralphwking@...>: > Anyone aware of an editor to go with Jeuclid? What I have in mind is a simple user interface that builds a MathML document with Jeucid used as the rendering component while the document is built. Maybe not full featured but rather optimized for keyboard input to enable fast input of typical high school equations. I've started writing one myself but I really don't want to reinvent the wheel. I took a look at KAS but I don't speak German and I couldn't get it to do anything useful. > > Ralph King > >  > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend indepth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhatsfdev2dev > _______________________________________________ > Jeuclidusers mailing list > Jeuclidusers@... > https://lists.sourceforge.net/lists/listinfo/jeuclidusers > 
From: Ralph King <ralphwking@us...>  20091201 23:09:00

Anyone aware of an editor to go with Jeuclid? What I have in mind is a simple user interface that builds a MathML document with Jeucid used as the rendering component while the document is built. Maybe not full featured but rather optimized for keyboard input to enable fast input of typical high school equations. I've started writing one myself but I really don't want to reinvent the wheel. I took a look at KAS but I don't speak German and I couldn't get it to do anything useful. Ralph King 
From: Sergio Lidonnici <gattoleon@gm...>  20091116 16:08:53

Hello, I'm trying to render MathML containing trigonometric functions (like sin, cos, tan, etc) and minimum/maximum operators created with the Hermitech Formulator program. For example y=sin(x) would be: <math display = 'block'> <mrow> <mi>y</mi> <mo>=</mo> <apply> <sin/> <csymbol> <mfenced open = '(' close = ')'> <mi>x</mi> </mfenced> </csymbol> </apply> </mrow> </math> or y=max[a,b]: <math display = 'block'> <mrow> <mi>y</mi> <mo>=</mo> <max/> <mfenced open = '[' close = ']'> <mrow> <mi>a</mi> <mo>,</mo> <mi>b</mi> </mrow> </mfenced> </mrow> </math> This operators are not rendered using the latest 3.1.8 release, and the equations become y=(x) and y=[a,b]. Am i doing something wrong or using an incorrect MathML generator ? Thanks for your help Sergio 
From: Max Berger <max@be...>  20091022 12:34:30

Dear Mike, I am sorry for the later reply, it took a while to get things organized. I've written a short programming page, now available at: http://jeuclid.sourceforge.net/programming.html in your case, the swing component is probably what you need. If you want a more complete tool, you should also look at KAS: http://sourceforge.net/projects/kas/ It is based on JEuclid and specifically designed for teaching high school math. hth Max Mike Gordon schrieb: > I'd like to use Jeuclid to render mathML and display the graphic content > in Java component. I'm only minimally competent as a programmer. Is there > an example of doing this sort of thing that I could learn from? I teach > high school math and would like to display quality math content in a > project that I'm working on. > > Thanks, > > > Mike Gordon > MathRobotics > Piedra Vista High School > 5700 College Blvd. > Farmington, NM 87402 > (505) 5998880 Ext 5331 > > > >  > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9  12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Jeuclidusers mailing list > Jeuclidusers@... > https://lists.sourceforge.net/lists/listinfo/jeuclidusers  http://max.berger.name/ OpenPGP ID: C93C5700 Fpr: AB6638CE472A499B3959 ADA2F989A2E5C93C5700 
From: Mike Gordon <mgordon@fm...>  20091015 02:35:17

I'd like to use Jeuclid to render mathML and display the graphic content in Java component. I'm only minimally competent as a programmer. Is there an example of doing this sort of thing that I could learn from? I teach high school math and would like to display quality math content in a project that I'm working on. Thanks, Mike Gordon MathRobotics Piedra Vista High School 5700 College Blvd. Farmington, NM 87402 (505) 5998880 Ext 5331 
From: Chris Bowditch <bowditch_chris@ho...>  20090923 07:22:08

Max Berger wrote: > Chris, Hi Max, > > 2009/9/22 Chris Bowditch <bowditch_chris@...>: >> I seem to have the getRect() method working for me before calling draw() ? I >> understand what you are saying and I agree that it makes sense to call >> draw() before width and height are available. Although its not clear to me >> why the getWidth method remain when getHeight has been removed? Would it be >> more consistent to remove them both? Or have I misunderstood something? > > Now I understand your problem. The solution: > > height = ascent + descent > > This is required to properly support painting on the baseline, which > JEuclidView uses as origin. > > so try getAscent() and getDescent(), as an example, see > http://jeuclid.sourceforge.net/jeuclidcore/xref/net/sourceforge/jeuclid/converter/Converter.html#289 Thanks, this is what I was looking for! > >> The late hour at which I posted led to me sending the best looking of all my >> regression examples. I have attached another example and I have several more >> that look very different. I just want to make sure I haven't missed anything >> in my conversion from old to new API, so please don't see this as a >> criticism. JEuclid is a very powerful toolkit so many thanks for all your >> hard work! > > The example you sent now has the new rendering actually looking better > (same font over all characters) than the old rendering (different font > heights). Yes you are right the rendering is better, but I may have customers who expect the output not to change when they upgrade. So what I have decided to do is the let the customer decide if they want JEuclid v3.0 or v3.1, the default being the old v3.0.3. Customers who want MathML support on Solaris can then elect to have v3.1 to get decent output, whilst existing customers continue to get the same output from v3.0. > > Can you provide an example where you are unhappy with the new results? > Since the rendering is done very different, there are likely going to > be many differences. Thanks for all your help Max, Chris 
From: Max Berger <max@be...>  20090922 14:13:09

Chris, 2009/9/22 Chris Bowditch <bowditch_chris@...>: > I seem to have the getRect() method working for me before calling draw() ? I > understand what you are saying and I agree that it makes sense to call > draw() before width and height are available. Although its not clear to me > why the getWidth method remain when getHeight has been removed? Would it be > more consistent to remove them both? Or have I misunderstood something? Now I understand your problem. The solution: height = ascent + descent This is required to properly support painting on the baseline, which JEuclidView uses as origin. so try getAscent() and getDescent(), as an example, see http://jeuclid.sourceforge.net/jeuclidcore/xref/net/sourceforge/jeuclid/converter/Converter.html#289 > The late hour at which I posted led to me sending the best looking of all my > regression examples. I have attached another example and I have several more > that look very different. I just want to make sure I haven't missed anything > in my conversion from old to new API, so please don't see this as a > criticism. JEuclid is a very powerful toolkit so many thanks for all your > hard work! The example you sent now has the new rendering actually looking better (same font over all characters) than the old rendering (different font heights). Can you provide an example where you are unhappy with the new results? Since the rendering is done very different, there are likely going to be many differences. > Thanks, > Chris Max 
From: Chris Bowditch <bowditch_chris@ho...>  20090922 09:17:49

Max Berger wrote: > Chris, Hi Max, > > > 2009/9/21 Chris Bowditch <bowditch_chris@...>: >>> Thanks for the hint. I've since realised that my application creates a >>> 2D Graphics Context from Batik and uses Batik to convert the image drawn >>> by JEuclid into SVG. So I can stick with using the JEuclidView for both. >>> My only remaining question is about getting the width/height of the >>> image to be drawn by JEuclid. MathBase had getWidth/getHeight methods. >>> JEuclidView is missing getHeight(). >>> >>> I noticed that there is a getRect() method on JEuclidView which takes >>> offset parameters together with a node. I tried to pass the root Node >>> and a 0 offset hoping this would give me the bounds of the image, but >>> sadly zero is returned for both width/height :( > > for your dimension problem: JEuclid now separates layout from > rendering, and you cannot get the size of the final image until you > have actually rendered it. I know this is an inconvenience, but it was > similar in previous versions (getHeight did just render the MathML > onto a dummy image): I seem to have the getRect() method working for me before calling draw() ? I understand what you are saying and I agree that it makes sense to call draw() before width and height are available. Although its not clear to me why the getWidth method remain when getHeight has been removed? Would it be more consistent to remove them both? Or have I misunderstood something? > > Again, for your use case the Converter class is probably the right > choice, here also most functions return the Dimension of the > convertered image. > > >> This turned out to be caused by a bug in my code. Sorry for the false alarm. >> Since fixing this I ran into another issue with Fonts. I have attached the >> Math ML input and 2 outputs; 1 from 3.0.3 and the 2nd from 3.1.7. Can you >> advise why a different font is used for 3.1.7? The JDK and environment are >> the same. Perhaps I am doing something wrong in the API but I don't know >> what? > > I cannot see any difference in the fonts  they seem to be the same to > me. What exactly is the behaviour you dislike? I can see several > differences: > >  font looks a little "bolder" > (Due to completely different rendering) >  sqrt line is a little higher > (this may actually be a bug) >  font in the frac is smaller > (in this case, this is actually better according to the spec) The late hour at which I posted led to me sending the best looking of all my regression examples. I have attached another example and I have several more that look very different. I just want to make sure I haven't missed anything in my conversion from old to new API, so please don't see this as a criticism. JEuclid is a very powerful toolkit so many thanks for all your hard work! Thanks, Chris 