GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sun Oct 26, 2014 6:01 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GTK3 rewrite of KanjiPad,Japanese Handwriting recognition
PostPosted: Mon Jan 06, 2014 10:57 pm 
Offline

Joined: Sat Dec 14, 2013 8:41 pm
Posts: 2
Hi,

Here is my GTK3 rewrite of KanjiPad a Japanese Handwriting recognition software.

Taking advantage of Cairo and Glade, the code is more clear and easily buildable.
A lot is still to do, but the base are here, handwriting and copy the result to the clipboard.


I need some help for:

* Better drawing callback. Right now It's a bit laggy, as all the strokes are redrawn at each invalidate It must have a better way (invalidate a rect like in kanjipad)

* Add effects (brush, ...) using Cairo.


More info and source code at git hub: https://github.com/odrevet/moe


Top
 Profile  
 
 Post subject: Re: GTK3 rewrite of KanjiPad,Japanese Handwriting recognitio
PostPosted: Sun Jan 12, 2014 10:15 am 
Offline
Never Seen the Sunlight

Joined: Mon Apr 28, 2008 5:52 am
Posts: 764
Location: UK
Hello,

Just spotted your code and it looks very well presented. I have have not tried compiling it yet, but because the code is so good with the layout it made it easy to spot two possible buffer over-flows. This is where you have allocated a fixed size buffer and used the function sprintf() with the buffer being too small by a byte or 3.

Wishing you well with your code.

_________________
E.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group