I am using Google Open Sans web font as my main font on my website and it displays all tilde characters (~) as regular dashes when I use 13px likefont-size
(~)
13px
font-size
Is there a way to fix this without magnification font-size ?
Ok, I found several ways to fix this problem.
<em>~</em>
<span class='tilde'>~</span>
.tilde { font-size: 14px !important; }
Use the tilde width character.
Full Width Tile: ~
Regular tilde: ~
HTML exit codes: & # 65374; & Amp; # xff5e;
http://www.charbase.com/ff5e-unicode-fullwidth-tilde
You can try a different font or font family. For example, below this problem is fixed in 13px :
font-family: cursive;