| <!DOCTYPE html> |
| <!-- |
| | The "local" string is used to match the Postscript name or the full font name |
| | in the name table of locally available fonts. While not explicitly specified |
| | this is done in a case insensitive manner to mimic the other browsers. |
| | https://www.w3.org/TR/css-fonts-3/#descdef-src |
| --> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <style> |
| body { |
| margin: 0; |
| font-family: Roboto; |
| font-size: 30px; |
| font-weight: normal; |
| color: #fff; |
| } |
| .containing-block { |
| background-color: #03a9f4; |
| width: 700px; |
| } |
| .roboto-regular { |
| font-family: font-face-roboto-regular; |
| } |
| .roboto-bold { |
| font-family: font-face-roboto-bold; |
| } |
| .coming-soon-regular { |
| font-family: font-face-coming-soon-regular; |
| } |
| .dancing-script-regular { |
| font-family: font-face-dancing-script-regular; |
| } |
| .dancing-script-bold { |
| font-family: font-face-dancing-script-bold; |
| } |
| @font-face { |
| font-family: font-face-roboto-regular; |
| src: local(Roboto-Regular); |
| } |
| @font-face { |
| font-family: font-face-roboto-bold; |
| src: local(RoBoTo-BoLd); |
| } |
| @font-face { |
| font-family: font-face-coming-soon-regular; |
| src: local(comingsoon); |
| } |
| @font-face { |
| font-family: font-face-dancing-script-regular; |
| src: local(DANCINGscript); |
| } |
| @font-face { |
| font-family: font-face-dancing-script-bold; |
| src: local(dancingSCRIPT-bold); |
| } |
| </style> |
| </head> |
| <body> |
| <div class="containing-block"> |
| <div class="roboto-regulary">The Hegemony Consul</div> |
| <div class="roboto-bold">The Hegemony Consul</div> |
| <div class="coming-soon-regular">The Hegemony Consul</div> |
| <div class="dancing-script-regular">The Hegemony Consul</div> |
| <div class="dancing-script-bold">The Hegemony Consul</div> |
| </div> |
| </body> |
| </html> |