text:size
List of: Scheme Extensions
Subjects: Text
Contents: Kernel

Action: Gets a text entity's font size in points.

Filename: kern/kern_scm/text_scm.cxx

Syntax: (text:size text-entity)

Arg Types: text-entity text

Returns: integer

Description: This extension returns the font size, in points, of a text-entity.


text-entity specifies a text entity.

Example: ; text:size

; Create a text entity.

(define words (text


(position 0 0 0) "Hello World."


"times-medium-r-normal" 20))

;; words

; Get the size of the text entity.

(text:size words)

;; 20
PDF/KERN/15SCR.PDF
HTM/DATA/KERN/KERN/15SCR/0030.HTM