Re: multiple values for FONT similar to font-family

On Thu, Jan 22, 2015 at 2:17 PM, Marat Tanalin <mtanalin@yandex.ru> wrote:
> 23.01.2015, 01:02, "Tab Atkins Jr." <jackalmage@gmail.com>:
>> On Thu, Jan 22, 2015 at 11:40 AM, Marat Tanalin <mtanalin@yandex.ru> wrote:
>>>  What would probably be a real solution is to have in CSS something like Font Loading API in JS:
>>>
>>>  http://www.w3.org/TR/css-font-loading/
>>
>> That's called "the @font-face rule".
>
> So how exactly the @font-face rule allows to apply different styles depending on what exact font is available and applied?

It doesn't.  But @font-face is the CSS version of the Font Loading
API, *because the Font Loading API is the JS version of @font-face*.

~TJ

Received on Thursday, 22 January 2015 22:21:11 UTC