Hi Süleyman, What compiler set etc. ?
Süleyman Demir wrote:
Hello Klaas, in stylebase.cpp: GetFaceName() doesnt return a facename when on begin "a2dDEFAULT_CANVASFONT = new a2dFont( 100.0, wxSWISS );" called. With an empty wxString GetFontFile() returns an assert in Debug.
Debugged this, and on VC GetFaceName() returns "Arial", so ?? Which is/gives file: "ARIAL.TTF". Maybe it is not in your path??
### in cantext.cpp in bool a2dText::DoUpdate(...) .. .. // If previous character exists ... if (m_caret - linestart > 0 && (size_t) (m_caret - linestart) <= text.Length()) // ... Put caret halfway the kerning valuewcaret += m_font.GetKerning( text[(size_t) (m_caret - linestart - 1)], text[(size_t) (m_caret - linestart)] ) / 2;.. .. GetKerning() is called also when previous character doesnt exist.
Please explain me, why is it called? Is the if not right??
### in gen.h BUFSIZE is only used in genxmlpars.cpp a2dIOHandlerXMLPull::FillQueue(). You can move the definition of BUFSIZE in this function or maybe rename BUFSIZE, because the name BUFSIZE is very common.
Will check this in, Thanks, Klaas -- Unclassified ------------------------------------------------------------------------------------------------------------ Disclaimer:If you are not the intended recipient of this email, please notify the sender and delete it. Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden. Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s). Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578.
------------------------------------------------------------------------------------------------------------
<<attachment: db348.vcf>>
------------------------------------------------------------------------------ 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
_______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev