WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Pixels vs points / contrast ratios

for

From: Patrick H. Lauke
Date: Oct 10, 2017 6:06AM


A small addendum:

> 'The actual size of the character that a user sees is dependent both > on the> author-defined size and the user's display or user-agent
settings. For > many> mainstream fonts, 14 and 18 point [pt] is roughly
equivalent to 1.2 or > 1.5> em or 120% or 150% of the default size for
body text (assuming that the> body font is 100%), but authors would need
to check this for the > particular> fonts in use->>> Am I right in
assuming that large scale bold text would be 14x1.2 (16.8> pixels) and
large scale non-bold would be 18x1.5 (27 pixels)?
In most browsers, on default settings, 1em = 100% = 16px

1.2em = 16px * 1.2 = 19.2px
1.5em = 16px * 1.5 = 24px

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke