После официального выхода знака рубля у всех веб-мастеров появился вопрос как использовать его кроссбраузерно на своих проектах.
Есть несколько способов.
BASE 64 код в CSS
Итак, чтобы использовать знак рубля у себя в проекте достаточно в CSS прописать код:
@font-face {
font-family: 'RurArial';
src: url(data:font/truetype;charset=utf-8;base64,AAEAAAANAIAAAwBQT1MvMoZwgKQAAAFYAAAAYGNtYXAKHhedAAAB3AAAAlxjdnQgABoAAwAABcQAAAAGZnBnbQZZnDcAAAQ4AAABc2dseWZS+Me5AAAFzAAAAWRoZWFk8x98sgAAANwAAAA2aGhlYQW3AvgAAAEUAAAAJGhtdHgHRP+1AAABuAAAACRsb2NhAWQBZAAABzAAAAAUbWF4cAIWAZwAAAE4AAAAIG5hbWXaYu7lAAAHRAAAAWJwb3N0+R8+aAAACKgAAABRcHJlcBz8fZwAAAWsAAAAFgABAAAAAQAArx3cTl8PPPUACQPoAAAAAMkbarAAAAAAyRvOYP+1AAACFwK8AAAACQACAAAAAAAAAAEAAAMg/zgAyAPo/7X/zgIXAAEAAAAAAAAAAAAAAAAAAAAJAAEAAAAJACgAAgAAAAAAAQAAAAAACgAAAgABcwAAAAAAAwEJAZAABQAAArwCigAAAIwCvAKKAAAB3QAyAPoAAAAAAAAAAAAAAAAAAAIBAAAAAAAAAAAAAAAAcHlycwCAAAAEQwMg/zgAyAPoAMgAAAABAAAAAAGQAyAAAAAgAAAASwAAA+gAAAAAAAAASwAAAEsAAAHl/7UASwAAAEsAAAAAAAAAAAADAAAAAwAAAgwAAQAAAAAAHAADAAEAAAG8AAYBoAAAAAAAywABAAAAAAAAAAAAAAAAAAAAAQACAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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Ad0DAxAzMTITIWFx4BFQ4BBw4BBwYrAQchByEHIzcjNzM3IzczMjY3PgE3PgE3NiYnJisBPz46AQY9QBUKCAEQEREsHDZOnAoBTQ7+sxhXGT4NPgo9onoiMw8QIQsJDAECGRQUN44BawFQIioUMBwlQx8dKw0YPFCPj1A8UAkGBx8UESkXJC8ICwAAAAAAAAAAAAAAAAAAAAAAAHIAcgByAHIAAAAAAAoAfgABAAAAAAABAAkAAAABAAAAAAACAAYACQABAAAAAAADABoADwABAAAAAAAEABAAKQABAAAAAAAGAA8AOQADAAEECQABABIASAADAAEECQACAAwAWgADAAEECQADADQAZgADAAEECQAEACAAmgADAAEECQAGAB4AulJ1YiBBcmlhbEl0YWxpYzEuMDAwO3B5cnM7UnViQXJpYWwtSXRhbGljUnViIEFyaWFsIEl0YWxpY1J1YkFyaWFsLUl0YWxpYwBSAHUAYgAgAEEAcgBpAGEAbABJAHQAYQBsAGkAYwAxAC4AMAAwADAAOwBwAHkAcgBzADsAUgB1AGIAQQByAGkAYQBsAC0ASQB0AGEAbABpAGMAUgB1AGIAIABBAHIAaQBhAGwAIABJAHQAYQBsAGkAYwBSAHUAYgBBAHIAaQBhAGwALQBJAHQAYQBsAGkAYwAAAAIAAAAAAAD/tQAyAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAAAsAAgADABEAWgECAQMBBAEFB3VuaTA0MzEHdW5pMDQ0MAd1bmkwNDQzBE5VTEwA) format('truetype');
font-style: italic;
}
@font-face {
font-family: 'RurArial';
src: url(data:font/truetype;charset=utf-8;base64,AAEAAAANAIAAAwBQT1MvMoecgSAAAAFYAAAAYGNtYXAaRwibAAAB4AAAAmxjdnQgABoAAwAABdgAAAAGZnBnbQZZnDcAAARMAAABc2dseWbJxuEwAAAF4AAAAHxoZWFk8xx/GwAAANwAAAA2aGhlYQWzAvkAAAEUAAAAJGhtdHgLLv+vAAABuAAAAChsb2NhAHwAfAAABlwAAAAWbWF4cAIXAZ8AAAE4AAAAIG5hbWXfcZcBA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mlhbC1Cb2xkUnViIEFyaWFsIEJvbGRSdWJBcmlhbC1Cb2xkAFIAdQBiACAAQQByAGkAYQBsAEIAbwBsAGQAMQAuADAAMAAwADsAcAB5AHIAcwA7AFIAdQBiAEEAcgBpAGEAbAAtAEIAbwBsAGQAUgB1AGIAIABBAHIAaQBhAGwAIABCAG8AbABkAFIAdQBiAEEAcgBpAGEAbAAtAEIAbwBsAGQAAAACAAAAAAAA/7UAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAPAAIAAwARAFoBAgEDAQQBBQd1bmkwNDMxB3VuaTA0NDAHdW5pMDQ0MwROVUxMAA==) format('truetype');
font-weight: bold;
}
@font-face {
font-family: 'RurArial';
src: url(data:font/truetype;charset=utf-8;base64,AAEAAAANAIAAAwBQT1MvMoecgasAAAFYAAAAYGNtYXAaUgitAAAB6AAAAmxjdnQgABoAAwAABeAAAAAGZnBnbQZZnDcAAARUAAABc2dseWYqifVXAAAF6AAAANhoZWFk82iEEwAAANwAAAA2aGhlYQX9AvsAAAEUAAAAJGhtdHgTWP+fAAABuAAAADBsb2NhANgA2AAABsAAAAAabWF4cAIZAZ0AAAE4AAAAIG5hbWUYuwGeAAAG3AAAAYxwb3N0Pl75owAACGgAAABXcHJlcBz8fZwAAAXIAAAAFgABAAAAAQAAvdf0TF8PPPUACQPoAAAAAMkbarAAAAAAyRvVwf+fAAACcwK8AAMACQACAAAAAAAAAAEAAAMg/zgAyAPo/5//zgJzAAEAAAAAAAAAAAAAAAAAAAAMAAEAAAAMACkAAgAAAAAAAQAAAAAACgAAAgABcwAAAAAAAwHvArwABQAAArwCigAAAIwCvAKKAAAB3QAyAPoAAAAAAAAAAAAAAAAAAAIBAAAAAAAAAAAAAAAAcHlycwChAAAEQwMg/zgAyAPoAMgAAAABAAAAAAGQAyAAAAAgAAAASwAAA+gAAAAAAAAASwAAA+gAAAPoAAAASwAAA+gAAAJB/58ASwAAAEsAAAAAAAAAAAADAAAAAwAAAhQAAQAAAAAAHAADA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AAAAAAA/7UAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAALAAIAAwAPABAAEQBaAQIBAwEEAQUHdW5pMDQzMQd1bmkwNDQwB3VuaTA0NDMETlVMTAA=) format('truetype');
font-style: italic;
font-weight: bold;
}
Далее вешаем классу .rur подключенный шрифт
.rur {
font-family: 'RurArial';
}
Добавляем в html конструкцию и наслаждаемся результатом.
руб.
Способ хороший, но не работает в IE.
Через файл Шрифта ALS rub
Также можно воспользоваться шрифтом rouble
конвертируем шрифт через сервис Font Squirrel , в режиме «expert» отметив чекбоксы «No Subsetting» и «Style Linking».
Далее в CSS:
@font-face {
font-family: 'rub';
src: url('/font/rouble.eot');
src: url('/font/rouble.eot?#iefix') format('embedded-opentype'),
url('/font/rouble.woff') format('woff'),
url('/font/rouble.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
.rub {
font-family: 'rub';
}
HTML:
<span class="rub">a</span>
Для выбора стиля начертания, используются следующие символы данного шрифта(его нужно использовать в теге span класса rub):
- a — Arial Regular
- b — Arial Italic
- c — Arial Bold
- d — Arial Bold Italic
- e — Georgia Regular
- f — Georgia Italic
- g — Georgia Bold
- h — Georgia Bold Italic
- i — Tahoma Regular
- j — Tahoma Bold
- k — Times Regular
- l — Times Italic
- m — Times Bold
- n — Times BoldItalic
- o — Lucida Sans
- p — Lucida Sans Bold
- q — Verdana Regular
- r — Verdana Italic
- s — Verdana Bold
- t — Verdana Bold Italic
- u — Futura
- v — Trump Mediaeval
- w — ITC Studio Script
23 Мая 2014