Underlining text on canvas
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Underlining text on canvas

From: bluetit <capricious.falcon@gmail.com>
Date: Fri Dec 30 2005 - 21:36:19 CET

Given a text tag on a canvas, I would like to underline one letter in
that text... using font measure to get it's start and end point and
then drawing a line with those coords doesn't do a good job (line does
not evenly underline the character, with some characters it's to the
right more, with others to the left more).

Any ideas?
Thanks!
Tom
Received on Tue Jan 3 03:09:51 2006