I have one question.
The font created by Glyphs mini seems 20% out of the top of the box when I use it as a webfont. So, now I hack the CSS in the template like below.
s {
display:inline-block;
margin-top:-.2em;
}
Is there any suggestion to fix the glyph position? Anything is welcome.
Thank you.
Perhaps it’s because of the unusual UPM value. It may not translate well into all webfont formats. Haven’t tried myself yet, but perhaps adding a “scale to UPM” parameter with value 1000 to the instance may remedy the problem.
Well, I’d say that’s how you designed the glyphs. Almost all of your em is above the baseline, leaving only some 14% for your descender. The usual amount is more like 20-25%. Plus, your glyphs go pretty far up. A usual amount for caps is around 70% of the em, the upper side of your boxes is at approximately 80% of the em.
I’d move all glyphs down a bit (easy with Filter > Transformations), reduce the Cap and Ascender values, and increase the Descender value.
Actually, I’m not a font designer, so I don’t know about values well… and little bit confused about “font” basics…
What I’d like to do is simple – just showing square sized icons on the web page.
Ascender: 1536
Cap Height: 1280
xHeight: 640
Descender: -256
These are the current settings. I’ll be so happy if you tell me your recommendation. Thank you.
The div tag sit on the base line like uppercase letters. But your icons sit a bit below it. So you need to reposition them in the font to sit above the baseline or adjust the vertical position of the div.
Or draw a box character in the font with no width that you set in white color and put in with CSS just as you put in the icon. This has the advantage, that you can use any shape you like.