Open roipoussiere opened 4 years ago
I'd imagine this is because the baseline of those characters is different.
Could you put them in a line in a word processor or browser and see if they still exhibit the same positioning?
Could you put them in a line in a word processor or browser and see if they still exhibit the same positioning?
Here, I selected the two first icons.
source code:
<!DOCTYPE html>
<html>
<head>
<style>
@font-face { font-family: "iconsFont"; src: url("assets/MaterialIcons-Regular.ttf"); }
.icon { font-family: "iconsFont"; font-size: large }
</style>
</head>
<body>
<p>Some icons: <span class="icon"></span></p>
</body>
</html>
I use Material icons as font for a project.
In the example below, the letters and icons are both drawn from the same origin, but the icons start with an unexpected offset:
Where:
.Dot
;.Dot
;See the source code for more details:
source code (click to expand)