[Dojo-checkins] [dojo] #9422: dojox GFX has no getTextHeight

dojo trac at dojotoolkit.org
Tue Jun 16 18:49:32 EDT 2009


#9422: dojox GFX has no getTextHeight
-------------------------+--------------------------------------------------
 Reporter:  mwilcox      |        Owner:  mwilcox
     Type:  enhancement  |       Status:  closed 
 Priority:  normal       |    Milestone:  1.4    
Component:  DojoX GFX    |      Version:  1.3.0  
 Severity:  normal       |   Resolution:  fixed  
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by elazutkin):

 Wow! Drive by shooting! :-)

 Actually it was intentional that gfx didn't have getTextHeight() or
 anything similar. This information could be easily taken from the font
 structure instead of doing very expensive yet predictable calculations.

-- 
Ticket URL: <http://bugs.dojotoolkit.org/ticket/9422#comment:3>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit


More information about the Dojo-checkins mailing list