Создаем шрифт RubRegular с знаком рубля. Где рисуем знак рубля на букву «б» а буквы «ру» пробелы.
<span class="bRub">500руб</span>
</style>
@font-face {
font-family: 'RubRegular';
src: url("data:font/truetype;base64,T1RUTwALAIAAAwAwQ0ZGIO21p3IAAARsAAACEUZGVE18e4KlAAAGoAAAABxHREVGACcAEQAABoAAAAAeT1MvMmeZgWQAAAEgAAAAYGNtYXBQm+8BAAAC0AAAAXpoZWFkCx6wNAAAALwAAAA2aGhlYQbpAysAAAD0AAAAJGhtdHgKqwCeAAAGvAAAACptYXhwAAtQAAAAARgAAAAGbmFtZS2ZqFAAAAGAAAABTXBvc3T+8AAyAAAETAAAACAAAQAAAAEAAIGknOBfDzz1AAsD6AAAAADQUHOfAAAAANgS+PQAngAAAv8CvAAAAAgAAgAAAAAAAAABAAADIP84AMgD6AAAAAAC/wABAAAAAAAAAAAAAAAAAAAACgAAUAAACwAAAAMBewGQAAUABAK8AooAAACMArwCigAAAd0AMgD6AAACAAAAAAAAAAAAAAACAQAAAAAAAAAAAAAAAFBZUlMAQAANJfwDIP84AMgCvAAAAAAAAQAAAAABkAMgACAAIAABAAAADACWAAEAAAAAAAEACAASAAEAAAAAAAIABwArAAEAAAAAAAMAEwBbAAEAAAAAAAQACACBAAEAAAAAAAUABQCWAAEAAAAAAAYACACuAAMAAQQJAAEAEAAAAAMAAQQJAAIADgAbAAMAAQQJAAMAJgAzAAMAAQQJAAQAEABvAAMAAQQJAAUACgCKAAMAAQQJAAYAEACcAEIAcgBpAGEAbABSAHUAYgAAQnJpYWxSdWIAAFIAZQBnAHUAbABhAHIAAFJlZ3VsYXIAADEALgAwADAAMAA7AHAAeQByAHMAOwBCAHIAaQBhAGwAUgB1AGIAADEuMDAwO3B5cnM7QnJpYWxSdWIAAEIAcgBpAGEAbABSAHUAYgAAQnJpYWxSdWIAADEALgAwADAAMAAAMS4wMDAAAEIAcgBpAGEAbABSAHUAYgAAQnJpYWxSdWIAAAAAAAAAAwAAAAMAAAAcAAEAAA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66qrmv//66qr/wAHgAD//+cqqov//+Kqq4v//9dVVf//81VV///ggAD//+aqq///6aqr///mqqv//+mqq///1aqq///01VX//8Sqq4sIDg4O+IiLBIuLiwcOiw6LDtYUixV3n/lQiwaLDAoAAAAAAQAAAAwAAAAWAAAAAgABAAEACgABAAQAAAACAAAAAAAAAAEAAAAA1BgWEQAAAADQUHOfAAAAANgS+PQASwAAAAAAAABLAAAD6AAAAEsAAANYAJ4ASwAAAEsAAAH0AAAAAAAAAAAAAA==") format("truetype");
font-weight: normal;
}
@font-face {
font-family: 'RubRegular';
src: url("data:font/truetype;base64,T1RUTwALAIAAAwAwQ0ZGIGgoOmQAAAR0AAACbEZGVE18e505AAAHAAAAABxHREVGACcAEgAABuAAAAAeT1MvMmjFgaEAAAEgAAAAYGNtYXANADMhAAAC0AAAAYJoZWFkCxXKyAAAALwAAAA2aGhlYQbpAywAAAD0AAAAJGhtdHgODQEqAAAHHAAAAC5tYXhwAAxQAAAAARgAAAAGbmFtZS2ZqFAAAAGAAAABTXBvc3T+8AAyAAAEVAAAACAAAQAAAAEAAArqgT9fDzz1AAsD6AAAAADQUHOfAAAAANgTE4gAlQAAAv8CvAAAAAgAAgAAAAAAAAABAAADIP84AMgD6AAAAAAC/wABAAAAAAAAAAAAAAAAAAAACwAAUAAADAAAAAMBuAK8AAUABAK8AooAAACMArwCigAAAd0AMgD6AAACAAAAAAAAAAAAAAACAQAAAAAAAAAAAAAAAFBZUlMAQAANJfwDIP84AMgCvAAAAAAAAQAAAAABkAMgACAAIAABAAAADACWAAEAAAAAAAEACAASAAEAAAAAAAIABwArAAEAAAAAAAMAEwBbAAEAAAAAAAQACACBAAEAAAAAAAUABQCWAAEAAAAAAAYACACuAAMAAQQJAAEAEAAAAAMAAQQJAAIADgAbAAMAAQQJAAMAJgAzAAMAAQQJAAQAEABvAAMAAQQJAAUACgCKAAMAAQQJAAYAEACcAEIAcgBpAGEAbABSAHUAYgAAQnJpYWxSdWIAAFIAZQBnAHUAbABhAH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vnx9yn4EhUgCvci91wVIQoODg74iIsEi4uLBw6LDosO1hSLFYuL+VCLi4sGiwwKjAwOHAAWEwACAgABALQBRvsK3E86+wrcNfci4fgB9wr8AcfnB8uL/wAwqqv/AANVVf8AIVVV/wAGqqv/ABlVVf8ABVVV/wAYqquWo/8AEKqro/8AEKqr/wAT1VWi/wAPqqv/AB1VVf8AD6qr/wAdVVX/AAfVVf8AJFVWi/8AK1VVi/8AN1VV///ygAD/AC1VVnD/ACNVVXD/ACNVVf//3iqrov//11VV/wAKqqsIcf8ABqqrU/8AA1VVNYsI+3f70gYLzwb/ADNVVYut///+VVX/ABCqq////Kqr/wAWqquH/wAS1VX///Wqq5r//+9VVZr//+9VVf8AB4AAdov//+aqq4v//+tVVf//+qqr///t1Vb///VVVf//8FVV///1VVX///BVVf//8VVW///0gAD//+1VVf//+Kqr///tVVX///iqq///2qqr///8VVVTiwg+BgsAAQAAAAwAAAAWAAAAAgABAAEACwABAAQAAAACAAAAAAAAAAEAAAAA1BgWEQAAAADQUHOfAAAAANgTE4gASwAAAAAAAABLAAAD6AAAAEsAAANdAJUDXQCVAEsAAABLAAAB9AAAAAAAAAAAAAA=") format("truetype");
font-weight: bold;
}
.bRub {
font-family: RubRegular, Arial, sans-serif;
}
<style>
Комментарии ()