Category : fonts

I am using laravel dompdf for converting html string to pdf also tried view file. But pdf file shows some characters as "?". It is interesting that somewhere same character visible no problem but somewhere not visible. I followed the doc and created storage/fonts/ folder. html: body { margin: 0px; padding: 0px; font-family: DejaVu serif; ..

Read more

I use laravel with webpack.mix and I import public google font to app.scss file: @import url(‘https://fonts.googleapis.com/css2?family=Rubik:[email protected];400;500&display=swap’); (no one spaces or line breaks in this first string!) Webpack.mix command looks common: mix.js(‘resources/js/app.js’, ‘public/js’).sourceMaps() .sass(‘resources/sass/app.scss’, ‘public/css’); and translate this scss file to css. BUT in css I get: @import url(https://fonts.googleapis.com/css2?family=Rubik:[email protected]; 400;500&display=swap); What the hell this weird line ..

Read more