Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

Method GLUE.Font()->text_extents()


Method text_extents

array(float) text_extents(string text, float h)

Description

Get the width and height of the area that the string text in size h would cover.