Twinside / Rasterific

A drawing engine in Haskell
BSD 3-Clause "New" or "Revised" License
140 stars 11 forks source link

Text Width & Height #8

Closed jeffreyrosenbluth closed 10 years ago

jeffreyrosenbluth commented 10 years ago

Can we have functions

textWidth :: Font -> Int -> String -> Double

textHeight :: Font -> Int -> Double

Which take a font, point size (and in the case of width, string of text) and return the width and height of the string in points?

Twinside commented 10 years ago

I'm closing this ticket in Rasterific, I'll repost it in FontyFruity. It's in the plan for the next release of Fonty.

jeffreyrosenbluth commented 10 years ago

OK, thanks

On Sun, Mar 23, 2014 at 11:58 AM, Vincent notifications@github.com wrote:

Closed #8 https://github.com/Twinside/Rasterific/issues/8.

Reply to this email directly or view it on GitHubhttps://github.com/Twinside/Rasterific/issues/8 .