Skip to content

Font Size and Style

Andy Gill edited this page Aug 21, 2015 · 4 revisions

{-# LANGUAGE OverloadedStrings #-}
module Main where

import Graphics.Blank

main :: IO ()
main = blankCanvas 3000 $ \ context -> do
    send context $ do
        font "40pt Calibri"
        fillText("Hello World!", 150, 100)
Clone this wiki locally