FontStruct, linespace, et al

Font metrics

Types

data FontStruct
  instance FontGen FontStruct
  instance Eq FontStruct
  instance Ord FontStruct
  instance Show FontStruct
linespace :: FontStruct -> Int
poslist :: FontStruct -> [Char] -> [Int]
next_pos :: FontStruct -> [Char] -> Int
string_bounds :: FontStruct -> [Char] -> Rect
font_ascent :: FontStruct -> Int
font_descent :: FontStruct -> Int
font_id :: FontStruct -> FontId
font_range :: FontStruct -> (Char, Char)
string_rect :: FontStruct -> [Char] -> Rect
split_string :: FontStruct -> String -> Int -> (String, String, Int)
string_box_size :: FontStruct -> [Char] -> Point
string_len :: FontStruct -> [Char] -> Int

Description

Various font metric support.

Bugs

Incomlete documentation.