[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: esstix fonts and KFormula
From:       Richard =?iso-8859-1?q?L=E4rk=E4ng?= <nouseforaname () home ! se>
Date:       2005-01-17 7:20:55
Message-ID: 200501170820.57207.nouseforaname () home ! se
[Download RAW message or body]

Hi!

On Friday 14 January 2005 22.02, Raphael Langerhorst wrote:
> So almost anything is broken right now regarding fonts in KFormula. If
> things improve with the patch, please commit. I will also check back
> on KFormula as soon as your patch is in to look for regressions (no
> time to patch and test at the moment or tomorrow).

I commited the patch yesterday, it would be nice if you could test it and tell 
me if it works.

Oh and this reminds me, I have a patch for KWord from some while ago. The 
problem for me was that when I created a formula, and then left the part and 
then tried to edit it again, it was impossible. The attached patch makes it 
work for me again. I'm not sure if it is done the right way, but hopefully 
there is someone who knows KWord good enough to tell me if it's OK.

Richard Lärkäng

["kword-kformula.patch" (text/x-diff)]

Index: kwformulaframe.cc
===================================================================
RCS file: /home/kde/koffice/kword/kwformulaframe.cc,v
retrieving revision 1.8
diff -u -p -b -B -r1.8 kwformulaframe.cc
--- kwformulaframe.cc	13 Sep 2004 21:36:47 -0000	1.8
+++ kwformulaframe.cc	17 Jan 2005 06:58:31 -0000
@@ -232,6 +232,11 @@ void KWFormulaFrameSet::slotErrorMessage
     KMessageBox::error( /*m_widget*/ 0, msg );
 }
 
+MouseMeaning KWFormulaFrameSet::getMouseMeaningInsideFrame( const KoPoint& )
+{
+    return MEANING_MOUSE_INSIDE_TEXT;
+}
+
 QDomElement KWFormulaFrameSet::save(QDomElement& parentElem, bool saveFrames)
 {
     if ( frames.isEmpty() ) // Deleted frameset -> don't save
Index: kwformulaframe.h
===================================================================
RCS file: /home/kde/koffice/kword/kwformulaframe.h,v
retrieving revision 1.4
diff -u -p -b -B -r1.4 kwformulaframe.h
--- kwformulaframe.h	13 Sep 2004 21:36:47 -0000	1.4
+++ kwformulaframe.h	17 Jan 2005 06:58:31 -0000
@@ -66,6 +66,8 @@ public:
 
     virtual KWFrameSetEdit* createFrameSetEdit(KWCanvas*);
 
+    virtual MouseMeaning getMouseMeaningInsideFrame( const KoPoint& );
+
     /**
      * Paint this frameset
      */


_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic