S
S
Sasha2015-08-24 11:21:31
PHP
Sasha, 2015-08-24 11:21:31

How to do font smoothing in firefox?

Hello, please tell me what property in css can make font smoothing in firefox?
In FF, the font looks like this.
KAxM4ZVuVoDKr8.png
There is an assumption that the font itself is broken.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dmitry Dart, 2019-03-01
@Azami

If English text:

if(strlen($item['text'])  < 150){

}

If Russian text:
if(mb_strlen($item['text'])  < 150){

}

I
iBird Rose, 2019-03-01
@iiiBird

php.net/manual/en/function.mb-strlen.php

D
Dima Pautov, 2015-08-24
@bootd

Why not? Normal font. You can't change anti-aliasing through css like in photoshop.

D
Denis Ineshin, 2015-08-24
@IonDen

Use an svg font, normal fonts are anti-aliased the way the browser and/or system can and nothing more.

N
Nikolay Talanov, 2015-08-24
@Ronnie_Gardocki

You can fiddle with thin text-shadows on all sides, but this is not the most versatile option, because you have to adjust to the color of the font / background.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question