mperin / canvas-text

Automatically exported from code.google.com/p/canvas-text
MIT License
0 stars 0 forks source link

Add support for font face equivalences #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A good feature would be to add an equivalence table to draw in a font that
looks like the one wanted, even if its typeface file not available on the
server.

This could be like this :

{{{
var equivalences = {
  'arial': ['optimer', 'dejavu sans'],
  'times new roman': ['freeserif']
}; 
}}}

A starting base could be
http://mondaybynoon.com/2007/04/02/linux-font-equivalents-to-popular-web-typefac
es/
. There must other web pages like this to make a good equivalence table.

Original issue reported on code.google.com by phenxdesign on 2 Apr 2009 at 8:16