In Laravel 5.3, the default is the font "Raleway", which is loaded with Google Fonts, but there seems to be no Cyrillic characters in it (which is hosted by Google).

Has anyone wondered about connecting this font with Cyrillic? How is it now considered to properly load fonts on web pages? And where to get this particular font.

    1 answer 1

    On Google Fonts there is no Cyrillic as far as I know. You can download it here for example. Then install the font in CSS:

    1. In order to install the Raleway font into your HTML project, first copy the contents of the archive into the / fonts folder, which should be in the same directory as the / css folder of your HTML site.

      Project structure after installing fonts: / (template or project root directory)

      /fonts (Шрифты из архива распаковываем в папку /fonts) /RalewayRegular /RalewayThin /RalewayExtraLight /RalewayLight /RalewayMedium /RalewaySemiBold /RalewayBold /RalewayExtraBold /RalewayBlack /css (Папка со стилями должна находиться в той-же категории, что и /fonts) /stylename.css (Файл стилей, в котором подключаются русские шрифты) 
    2. Next, paste the code below into the stylesheet, which should be located in the / css folder.

     /* Код для подключения шрифта в /css/stylename.css */ /* font-family: "RalewayRegular"; */ @font-face { font-family: "RalewayRegular"; src: url("../fonts/RalewayRegular/RalewayRegular.eot"); src: url("../fonts/RalewayRegular/RalewayRegular.eot?#iefix")format("embedded-opentype"), url("../fonts/RalewayRegular/RalewayRegular.woff") format("woff"), url("../fonts/RalewayRegular/RalewayRegular.ttf") format("truetype"); font-style: normal; font-weight: normal; } 

    Now connect the CSS to the page and use. More examples can be found at the link: http://fonts4web.ru/raleway.html

    • Thanks for the info. Imho, somehow this is all "bypassing" the built-in resource management system in the form of gulp + elixir, and this is a very interesting topic in and of itself. Here is an example of connecting the fonts from bootstrap, for example: stackoverflow.com/questions/34795847/… - pilat