ยค FontStruct, linespace, et al

Font metrics

Types

type FontStruct = FontStructF (Array Char CharStruct)

linespace :: FontStructF per_char -> Int
poslist :: FontStruct -> String -> [Int]
next_pos :: FontStruct -> String -> Int
string_bounds :: FontStruct -> String -> Rect
font_ascent :: FontStructF per_char -> Int
font_descent :: FontStructF per_char -> Int
font_id :: FontStructF per_char -> FontId
font_range :: FontStructF per_char -> (Char, Char)
string_rect :: FontStruct -> String -> Rect
split_string :: FontStruct -> String -> Int -> (String, String, Int)
string_box_size :: FontStruct -> String -> Size
string_len :: FontStruct -> String -> Int
font_prop :: FontStructF per_char -> [FontProp]

Description

Various font metric support.

Bugs

Incomlete documentation.