Skip to content Skip to sidebar Skip to footer
Showing posts with the label Fonts

Javascript Font Metrics

Given (1) a font-family and (2) a unicode character code. Is it possible to, within JavaScript, pro… Read more Javascript Font Metrics

Easeljs Custom Font Lineheight Cross Browser Issues

I'm having a few issues with the positioning of text looking vastly different in different brow… Read more Easeljs Custom Font Lineheight Cross Browser Issues

How Can I Get The Height Of The Baseline Of A Certain Font?

I'm hoping to be able to find the height of the baseline of a piece of text in a div using java… Read more How Can I Get The Height Of The Baseline Of A Certain Font?

How To Load Fallback Font Formats With Fontface Api

When using the FontFace API (not @fontface) is there a convenient way to pass multiple different fo… Read more How To Load Fallback Font Formats With Fontface Api

How Do I Generate A Random Font To A Line Of Text Every Time Page Is Refreshed?

I am trying to generate a new font every time my page is refreshed from a list in my JavaScript. I … Read more How Do I Generate A Random Font To A Line Of Text Every Time Page Is Refreshed?

Delay Execution Of Javascript For Canvas Until Fonts Have Been Loaded

I'm making something in canvas that uses fonts from a web service and what happens is that when… Read more Delay Execution Of Javascript For Canvas Until Fonts Have Been Loaded