| Copyright | Copyright (C) 2014 Matthew Pickering |
|---|---|
| License | GNU GPL, version 2 or above |
| Maintainer | Matthew Pickering <matthewtpickering@gmail.com> |
| Stability | alpha |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Text.TeXMath.Unicode.Fonts
Description
Utilities to convert between MS font codepoints and unicode characters.
Synopsis
- getUnicode :: Font -> Char -> Maybe Char
- data Font = Symbol
- textToFont :: Text -> Maybe Font
Documentation
getUnicode :: Font -> Char -> Maybe Char Source #
Given a font and codepoint, returns the corresponding unicode character
Enumeration of recognised fonts
Constructors
| Symbol |
textToFont :: Text -> Maybe Font Source #
Parse font name into Font if possible.