Reputation: 18010
Is there any way to specifying a part of a font name and browser use first matched font? For example I want let browser to use any font that has 'Garamond' in its name, e.g. Garamond Pro, Garamond Pro, ... .
Upvotes: 0
Views: 39
Reputation: 201568
Not in HTML or in CSS. You would probably need both JavaScript and Flash in order to get a list of fonts in the user’s system, see e.g. Getting a List of Installed Fonts with Flash and Javascript.
With the name “Garammond”, you would probably not find anything. With “Garamond”, you would normally find just “Garamond” or nothing.
Upvotes: 1