Re: commit: PNG snapshots of MathML in no MathML plugin.

From: Jean Bréfort <jean.brefort_at_normalesup.org>
Date: Sat Jan 29 2005 - 10:23:17 CET

Hi,

It does not work on my linux box:

[MathView] *** Info[2:2]: parsing time: 3ms
[MathView] *** Warning[1:2]: duplicate `postfix' form for operator `&'
in dictionary (ignored)
[MathView] *** Warning[1:2]: duplicate `infix' form for operator `&' in
dictionary (ignored)
[MathView] *** Warning[1:2]: duplicate `infix' form for operator
`&#x2296;' in dictionary (ignored)
[MathView] *** Warning[1:2]: duplicate `infix' form for operator
`&#x2295;' in dictionary (ignored)
[MathView] *** Warning[1:2]: duplicate `infix' form for operator
`&#x2210;' in dictionary (ignored)
[MathView] *** Warning[1:2]: duplicate `infix' form for operator
`&#x2297;' in dictionary (ignored)
[MathView] *** Warning[1:2]: duplicate `infix' form for operator
`&#x22c1;' in dictionary (ignored)
[MathView] *** Warning[1:2]: duplicate `infix' form for operator
`&#x22c0;' in dictionary (ignored)
[MathView] *** Warning[1:2]: duplicate `infix' form for operator
`&#x2299;' in dictionary (ignored)
[MathView] *** Warning[1:2]: duplicate `postfix' form for operator `!'
in dictionary (ignored)
DataID val =/home/msevior/abidir/gnome-cvs/gtkmathview/tests/action4.xml
[MathView] *** Info[2:2]: parsing time: 0ms
[MathView] *** Info[2:2]: build time: 0ms
AbiWord-2.4: ../../../src/common/SmartPtr.hh:36: P*
SmartPtr<P>::operator->() const [with P = BoxMLNamespaceContext]:
Assertion `ptr' failed.
Abandon

Le samedi 29 janvier 2005 à 20:03 +1100, msevior@physics.unimelb.edu.au
a écrit :
> CVS: ----------------------------------------------------------------------
> CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
> CVS:
> CVS: Committing in .
> CVS:
> CVS: Modified Files:
> CVS: tools/abimathview/plugin.m4
> CVS: tools/abimathview/xp/AbiMathView.cpp
> CVS: tools/abimathview/xp/AbiMathView.h
> CVS: tools/abimathview/xp/gr_Abi_CharArea.cpp
> CVS: tools/abimathview/xp/gr_Abi_ColorArea.cpp
> CVS: tools/abimathview/xp/gr_Abi_DefaultShaper.cpp
> CVS: tools/abimathview/xp/gr_Abi_GlyphArea.cpp
> CVS: tools/abimathview/xp/gr_Abi_InkArea.cpp
> CVS: tools/abimathview/xp/gr_Abi_MathGraphicDevice.cpp
> CVS: tools/abimathview/xp/gr_Abi_RenderingContext.cpp
> CVS: tools/abimathview/xp/gr_Abi_StandardSymbolsShaper.cpp
> CVS: ----------------------------------------------------------------------
> Code to make PNG snapshots of Math.
>
> CVS: ----------------------------------------------------------------------
> CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
> CVS:
> CVS: Committing in .
> CVS:
> CVS: Modified Files:
> CVS: src/af/gr/unix/gr_UnixGraphics.cpp
> CVS: src/af/gr/unix/gr_UnixImage.cpp
> CVS: src/af/gr/xp/gr_EmbedManager.cpp
> CVS: src/af/gr/xp/gr_EmbedManager.h src/af/xap/xp/xad_Document.h
> CVS: src/af/xap/xp/xap_App.cpp src/af/xap/xp/xap_App.h
> CVS: src/text/fmt/xp/fp_MathRun.cpp src/text/fmt/xp/fp_MathRun.h
> CVS: src/text/fmt/xp/fv_View.cpp src/text/ptbl/xp/pd_Document.cpp
> CVS: src/text/ptbl/xp/pd_Document.h src/wp/ap/unix/ap_UnixApp.cpp
> CVS: src/wp/ap/unix/ap_UnixApp.h
> CVS: src/wp/impexp/xp/ie_exp_AbiWord_1.cpp
> CVS: ----------------------------------------------------------------------
> PNG snapshotting code for MathML
>
>
> OK this basically works now. AbiWord's without the mathML plugin get
> a PNG snapshot in it's place.
>
> See attached file for an example.
>
> There are a couple of things that need fixing.
>
> 1. The snapshot doesn;t zoom correctly.
> 2. The Ascent/descent of the snapshot is wrong. Basically the descent is
> always zero.
>
> Both these can be fixed pretty easily and this code can be easily applied
> to any other embeddable plugin we write.
>
> Cheers!
>
> Martin
Received on Sat Jan 29 10:25:18 2005

This archive was generated by hypermail 2.1.8 : Sat Jan 29 2005 - 10:25:20 CET