Advertisement
Guest User

Untitled

a guest
Mar 1st, 2012
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.46 KB | None | 0 0
  1. <style>
  2. @font-face {
  3.     font-family: 'ok';
  4.     src: url('./ok.svg') format('svg');
  5. }
  6. @font-face {
  7.     font-family: 'bad';
  8.     src: url('./bad.svg') format('svg'), url('./bad.otf') format('otf');
  9. }
  10. .ok  { font-family: 'ok',  'Courier New'; font-size: 200%; }
  11. .bad { font-family: 'bad', 'Courier New'; font-size: 200%; }
  12. </style>
  13.  
  14. <p class=ok> (ok.svg) This must not be rendered with Courier font</p>
  15. <p class=bad>(bad.svg) This must not be rendered with Courier font</p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement