Underlining text on canvas



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

.



Relevant Pages

  • Re: Re: i was lifting to borrow you some of my weird containers
    ... We underline the scary ... character. ... Robbie restricts, then Beth undoubtably regains a ...
    (sci.crypt)
  • Re: Underlining text on canvas
    ... 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). ...
    (comp.lang.tcl)
  • Re: how to create an underlined carat symbol
    ... I have no idea how to insert an underlined caret as a single ... or even whether it's available but the character you copied from ... >> underline you want). ... >> other horizontal line (hyphen, en dash, em dash, etc.) with a caret in ...
    (microsoft.public.word.docmanagement)
  • Re: is tcl programs running on windows 2000 professional and windows xp gives diff results
    ... uncheck "hide keyboard navigation indicators untill i use alt key" ... >> so practically it should show underline on 1'st character ... > at win2k or winxp the change where the underscores are only visible ...
    (comp.lang.tcl)
  • Underlining - Is there a simpler way?
    ... position your cursor at the end of the underline. ... type a single character. ... Hit a single right-arrow (my cursor is now to the right of the ...
    (microsoft.public.word.newusers)